/* ========================================
   NEO-BRUTALISM CSS - BOLD & GRAPHIC
   ======================================== */

/* CSS Variables - Bold & Graphic Theme */
:root {
  /* Color Palette */
  --primary-color: #0066CC;
  --secondary-color: #000000;
  --background-color: #FFFFFF;
  --footer-bg-color: #F5F5F5;
  --accent-red: #FF0044;
  --accent-yellow: #FFFF00;
  --text-dark: #000000;
  --text-light: #FFFFFF;
  --neutral-gray: #808080;
  --light-gray: #F9F9F9;
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border System */
  --border-thin: 1px;
  --border-bold: 2px;
  --border-thick: 4px;
  --border-radius-sharp: 0;
  --border-radius-minimal: 4px;
  --border-radius-normal: 8px;
  
  /* Shadow System */
  --shadow-solid: 4px 4px 0 var(--secondary-color);
  --shadow-medium: 6px 6px 0 var(--secondary-color);
  --shadow-thick: 8px 8px 0 var(--secondary-color);
  --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ========================================
   GLOBAL BASE STYLES
   ======================================== */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.5;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md) 0;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

h5 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 500;
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 500;
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md) 0;
  font-weight: 400;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
  filter: brightness(1.1);
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

/* Full Width Sections */
.section-full {
  width: 100%;
  min-height: 100vh;
  padding: var(--space-3xl) 0;
}

.section-half {
  width: 100%;
  min-height: 50vh;
  padding: var(--space-2xl) 0;
}

/* Container Override for Full Width */
.container-full {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Content Containers */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.content-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ========================================
   HEADER STYLES
   ======================================== */

.header-main {
  background-color: var(--background-color);
  border-bottom: var(--border-bold) solid var(--secondary-color);
  position: relative;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: none;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-decoration: none;
  border: var(--border-thin) solid var(--secondary-color);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--accent-yellow);
  transform: rotate(-2deg);
  transition: all 0.2s ease;
}

.logo:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: var(--shadow-solid);
  text-decoration: none;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border: var(--border-bold) solid transparent;
  transition: all 0.2s ease;
  background-color: var(--light-gray);
}

.nav-link:hover {
  border-color: var(--secondary-color);
  background-color: var(--accent-yellow);
  box-shadow: var(--shadow-solid);
  text-decoration: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  display: block;
}

/* ========================================
   BUTTON SYSTEM
   ======================================== */

/* Primary Button */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: var(--border-bold) solid var(--secondary-color);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-solid);
  text-align: center;
  min-width: 120px;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--secondary-color);
  filter: brightness(1.1);
  text-decoration: none;
  color: var(--text-light);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--secondary-color);
}

/* Secondary Button */
.btn-secondary {
  display: inline-block;
  background-color: var(--accent-red);
  color: var(--text-light);
  border: var(--border-bold) solid var(--secondary-color);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-solid);
  text-align: center;
  min-width: 120px;
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--secondary-color);
  filter: brightness(1.1);
  text-decoration: none;
  color: var(--text-light);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--secondary-color);
}

/* Outline Button */
.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary-color);
  border: var(--border-bold) solid var(--secondary-color);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-solid);
  text-align: center;
  min-width: 120px;
}

.btn-outline:hover {
  background-color: var(--accent-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--secondary-color);
  text-decoration: none;
}

.btn-outline:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--secondary-color);
}

/* Button Sizes */
.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

.btn-small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

/* ========================================
   CARD SYSTEM
   ======================================== */

.card {
  background-color: var(--background-color);
  border: var(--border-bold) solid var(--secondary-color);
  border-radius: var(--border-radius-minimal);
  padding: var(--space-xl);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-solid);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-thick);
}

.card-highlight {
  background-color: var(--accent-yellow);
}

.card-feature {
  background-color: var(--light-gray);
  border-color: var(--primary-color);
}

.card-header {
  margin-bottom: var(--space-lg);
  border-bottom: var(--border-thin) solid var(--secondary-color);
  padding-bottom: var(--space-md);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
}

.card-body {
  margin-bottom: var(--space-lg);
}

.card-footer {
  border-top: var(--border-thin) solid var(--secondary-color);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
}

/* ========================================
   FORM ELEMENTS
   ======================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  border: var(--border-bold) solid var(--secondary-color);
  border-radius: var(--border-radius-minimal);
  font-size: 1rem;
  font-family: var(--font-primary);
  background-color: var(--background-color);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-solid);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-solid);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox,
.form-radio {
  width: auto;
  margin-right: var(--space-sm);
  accent-color: var(--primary-color);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-gray) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 40%, var(--accent-yellow) 40%, var(--accent-yellow) 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, var(--accent-red) 40%, var(--accent-red) 60%, transparent 60%);
  background-size: 100px 100px;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: var(--space-lg);
  text-shadow: 4px 4px 0 var(--accent-yellow);
  line-height: 0.9;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--neutral-gray);
  margin-bottom: var(--space-2xl);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  color: var(--secondary-color);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--accent-red);
  z-index: 1;
}

.section-subtitle {
  color: var(--neutral-gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Alternating Background Sections */
.section-light {
  background-color: var(--light-gray);
}

.section-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.section-accent {
  background-color: var(--accent-yellow);
  color: var(--secondary-color);
}

/* ========================================
   GRID SYSTEM
   ======================================== */

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ========================================
   FEATURE BOXES
   ======================================== */

.feature-box {
  text-align: center;
  padding: var(--space-xl);
  border: var(--border-bold) solid var(--secondary-color);
  background-color: var(--background-color);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-solid);
}

.feature-box:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-thick);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border: var(--border-bold) solid var(--secondary-color);
  margin: 0 auto var(--space-lg) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-light);
  box-shadow: var(--shadow-solid);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--secondary-color);
}

.feature-description {
  color: var(--neutral-gray);
  line-height: 1.6;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial {
  background-color: var(--light-gray);
  border: var(--border-bold) solid var(--secondary-color);
  border-radius: var(--border-radius-minimal);
  padding: var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-solid);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-lg);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-red);
  font-family: var(--font-secondary);
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--secondary-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  border-top: var(--border-thin) solid var(--secondary-color);
  padding-top: var(--space-md);
}

/* ========================================
   FOOTER
   ======================================== */

.footer-main {
  background-color: var(--footer-bg-color);
  border-top: var(--border-bold) solid var(--secondary-color);
  padding: var(--space-2xl) 0 var(--space-xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--secondary-color);
  border-bottom: var(--border-thin) solid var(--secondary-color);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--neutral-gray);
  text-decoration: none;
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-bottom {
  border-top: var(--border-thin) solid var(--secondary-color);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--neutral-gray);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-red); }
.text-muted { color: var(--neutral-gray); }

/* Background Utilities */
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--light-gray); }
.bg-accent { background-color: var(--accent-yellow); }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Styles */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-main {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .content-container,
  .content-container-narrow {
    padding: 0 var(--space-md);
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .hero-content {
    padding: 0 var(--space-md);
  }
  
  .header-container {
    padding: var(--space-sm) var(--space-md);
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .menu-toggle,
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1pt solid #000;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus States */
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000FF;
    --secondary-color: #000000;
    --accent-yellow: #FFFF00;
    --accent-red: #FF0000;
  }
}

/* ========================================
   ANIMATION CLASSES (Optional)
   ======================================== */

/* Slide-in Animation */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slideInUp 0.6s ease-out;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}