/* LOFERSIL Landing Page - Base Styles */

/* Breadcrumb Navigation Styles */

.breadcrumb-nav {
  padding: var(--space-3) 0;
  margin: 0 auto;
  max-width: 1200px;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--gray-500);
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: "→";
  margin: 0 var(--space-2);
  color: var(--gray-400);
}

.breadcrumb-item a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.breadcrumb-item:last-child {
  color: var(--gray-400);
  font-weight: 500;
}

/* Dark mode support */

[data-theme="dark"] .breadcrumb-list {
  color: var(--gray-400);
}

[data-theme="dark"] .breadcrumb-item a {
  color: var(--gray-300);
}

[data-theme="dark"] .breadcrumb-item a:hover {
  color: var(--primary-color);
}

[data-theme="dark"] .breadcrumb-item:last-child {
  color: var(--gray-500);
}

/* Mobile responsiveness */

@media (max-width: 480px) {
  .breadcrumb-nav {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .breadcrumb-list {
    font-size: var(--text-xs);
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 var(--space-1);
  }
}

/* CSS Reset and Base Styles */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--gray-900);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body scroll lock for mobile navigation */

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Dark mode body styles */

[data-theme="dark"] body {
  color: var(--body-text);
  background-color: var(--body-bg);
}

/* Skip Navigation Links */

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  font-weight: 500;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* CSS Custom Properties (Variables) */

:root {
  /* Enhanced Brand Colors */
  --brand-primary: #228b22;
  --brand-primary-dark: #1e6b1e;
  --brand-primary-light: #32a032;
  --brand-secondary: #8b4513;
  --brand-secondary-dark: #654321;
  --brand-secondary-light: #a0522d;
  --brand-accent: #f59e0b;
  --brand-accent-dark: #d97706;
  --brand-accent-light: #fbbf24;
  --brand-neutral: #64748b;
  --brand-warm: #92400e;

  /* Legacy support - keep existing variables */
  --primary-color: var(--brand-primary);
  --primary-dark: var(--brand-primary-dark);
  --primary-light: var(--brand-primary-light);
  --secondary-color: var(--brand-neutral);
  --accent-color: var(--brand-accent);
  --success-color: #10b981;
  --warning-color: var(--brand-accent);
  --error-color: #ef4444;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;

  /* Modern Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-primary-light) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--brand-secondary) 0%,
    var(--brand-secondary-light) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--brand-accent) 0%,
    var(--brand-accent-light) 100%
  );
  --gradient-warm: linear-gradient(
    135deg,
    var(--brand-warm) 0%,
    var(--brand-secondary) 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    var(--gray-50) 0%,
    var(--white) 50%,
    var(--gray-50) 100%
  );
  --gradient-cta: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-primary-dark) 100%
  );

  /* Enhanced Typography */
  --font-family-primary:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  --font-family-secondary:
    "Playfair Display", Georgia, "Times New Roman", Times, serif;
  --font-family-mono:
    "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New",
    monospace;

  /* Enhanced Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Typography Scale */
  --font-weight-thin: 100;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 1rem;
  --section-padding: 5rem 0;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Dark Mode Variables */

[data-theme="dark"] {
  /* Dark mode color overrides */
  --body-bg: var(--gray-900);
  --body-text: var(--gray-100);
  --surface-bg: var(--gray-800);
  --surface-text: var(--gray-200);
  --surface-border: var(--gray-700);

  /* Card backgrounds */
  --card-bg: var(--gray-800);
  --card-text: var(--gray-200);
  --card-border: var(--gray-700);

  /* Section backgrounds */
  --section-bg-primary: var(--gray-900);
  --section-bg-secondary: var(--gray-800);
  --section-bg-accent: var(--gray-700);

  /* Text colors */
  --text-primary: var(--gray-100);
  --text-secondary: var(--gray-300);
  --text-muted: var(--gray-400);

  /* Interactive elements */
  --hover-bg: rgba(255, 255, 255, 0.05);
  --active-bg: rgba(255, 255, 255, 0.1);
  --focus-ring: rgba(34, 139, 34, 0.3);

  /* Shadows for dark mode */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-xl:
    0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
}

/* Utility Classes */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none;
}

/* Lazy Loading Images */

img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.lazy-loaded {
  opacity: 1;
}

/* Loading States */

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid var(--gray-300);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error States */

.error {
  color: var(--error-color);
  border-color: var(--error-color);
}

.error-message {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  margin: var(--space-2) 0;
}

/* Success States */

.success {
  color: var(--success-color);
  border-color: var(--success-color);
}

.success-message {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  margin: var(--space-2) 0;
}

/* Scroll Animations */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-scale-in {
  animation: fadeInScale 0.6s ease-out;
}

.animate-slide-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

/* Animation Delays */

.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-400 {
  animation-delay: 0.4s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

/* Notification Messages */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  max-width: 300px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.notification.error {
  background: #ff4444;
  color: white;
}

.notification.success {
  background: #4caf50;
  color: white;
}

.notification.info {
  background: #2196f3;
  color: white;
}

/* Navigation Styles */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: var(--z-fixed);
  transition: var(--transition-base);
}

#main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-logo .logo-link img {
  height: 2rem;
  width: auto;
  transition: var(--transition-fast);
}

.nav-logo .logo-link:hover img {
  transform: scale(1.05);
}

.nav-contact {
  display: none;
  flex-direction: column;
  margin-left: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.2;
}

.nav-address {
  font-weight: 500;
}

.nav-phone {
  font-weight: 600;
  color: var(--primary-color);
}

[data-theme="dark"] .nav-contact {
  color: var(--gray-300);
}

[data-theme="dark"] .nav-phone {
  color: var(--primary-color);
}

#nav-menu {
  display: none;
  align-items: center;
  gap: var(--space-8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 85vw;
  max-width: 280px;
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  position: relative;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 2px solid var(--gray-200);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  overflow: hidden;
}

[data-theme="dark"] .nav-link {
  color: var(--gray-300);
  background-color: var(--gray-800);
  border-color: var(--gray-600);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow:
    0 4px 12px rgba(34, 139, 34, 0.25),
    0 2px 6px rgba(34, 139, 34, 0.15),
    0 0 0 1px rgba(34, 139, 34, 0.1),
    0 0 20px rgba(34, 139, 34, 0.1);
  transform: translateY(-2px) scale(1.02);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow:
    0 4px 12px rgba(34, 139, 34, 0.35),
    0 2px 6px rgba(34, 139, 34, 0.25),
    0 0 0 1px rgba(34, 139, 34, 0.2),
    0 0 25px rgba(34, 139, 34, 0.15);
}

.nav-link.active {
  box-shadow:
    0 4px 12px rgba(34, 139, 34, 0.25),
    0 2px 6px rgba(34, 139, 34, 0.15),
    0 0 0 3px rgba(34, 139, 34, 0.15),
    0 0 20px rgba(34, 139, 34, 0.1);
}

[data-theme="dark"] .nav-link.active {
  box-shadow:
    0 4px 12px rgba(50, 160, 50, 0.35),
    0 2px 6px rgba(50, 160, 50, 0.25),
    0 0 0 3px rgba(50, 160, 50, 0.25),
    0 0 25px rgba(50, 160, 50, 0.15);
}

.nav-cta {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  color: var(--white) !important;
}

.nav-link.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link.social-link img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

#nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-2);
  margin-left: var(--space-4);
}

#nav-toggle span {
  width: 1.5rem;
  height: 0.125rem;
  background-color: var(--gray-700);
  margin: 0.125rem 0;
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

#nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

#nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

#nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

#theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  color: var(--gray-700);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-left: var(--space-2);
  padding: 0;
}

#theme-toggle:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] #theme-toggle {
  background: var(--gray-800);
  border-color: var(--gray-600);
  color: var(--gray-300);
}

[data-theme="dark"] #theme-toggle:hover {
  background: var(--primary-color);
  color: var(--white);
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

.theme-toggle-icon.sun {
  display: block;
}

.theme-toggle-icon.moon {
  display: none;
}

[data-theme="dark"] .theme-toggle-icon.sun {
  display: none;
}

[data-theme="dark"] .theme-toggle-icon.moon {
  display: block;
}

#lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  color: var(--gray-700);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-left: var(--space-2);
}

#lang-toggle:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] #lang-toggle {
  background: var(--gray-800);
  border-color: var(--gray-600);
  color: var(--gray-300);
}

[data-theme="dark"] #lang-toggle:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Desktop Navigation Styles */

@media (min-width: 768px) {
  #nav-menu {
    display: flex !important;
    position: static;
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    z-index: auto;
  }

  #nav-menu::before {
    display: none;
  }

  .nav-list {
    position: static;
    top: auto;
    left: auto;
    flex-direction: row;
    gap: var(--space-6);
    align-items: center;
    width: auto;
    padding: 0;
  }

  .nav-link {
    justify-content: center;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    margin: 0;
    width: auto;
    text-align: center;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: var(--gray-700);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
  }

  .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
    );
    transition: left 0.5s ease;
  }

  .nav-link:hover::before {
    left: 100%;
  }

  .nav-link:hover {
    background: rgba(34, 139, 34, 0.05);
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow:
      0 8px 25px rgba(34, 139, 34, 0.15),
      0 4px 12px rgba(34, 139, 34, 0.1),
      0 0 0 1px rgba(34, 139, 34, 0.1),
      0 0 30px rgba(34, 139, 34, 0.08);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
  }

  [data-theme="dark"] .nav-link {
    color: var(--gray-300);
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.25),
      0 1px 3px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  [data-theme="dark"] .nav-link:hover {
    background: rgba(34, 139, 34, 0.1);
    color: var(--primary-color);
    box-shadow:
      0 8px 25px rgba(34, 139, 34, 0.2),
      0 4px 12px rgba(34, 139, 34, 0.15),
      0 0 0 1px rgba(34, 139, 34, 0.15),
      0 0 35px rgba(34, 139, 34, 0.12);
  }

  .nav-link:focus-visible {
    outline: none;
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.12),
      0 0 0 3px rgba(34, 139, 34, 0.3),
      0 0 15px rgba(34, 139, 34, 0.2);
  }

  [data-theme="dark"] .nav-link:focus-visible {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.25),
      0 1px 3px rgba(0, 0, 0, 0.3),
      0 0 0 3px rgba(34, 139, 34, 0.4),
      0 0 20px rgba(34, 139, 34, 0.25);
  }

  /* Hide mobile toggle button on desktop */
  #nav-toggle {
    display: none !important;
  }

  /* Show contact info on desktop */
  .nav-contact {
    display: flex;
  }

  /* Show toggles on desktop */
  #lang-toggle,
  #theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: var(--gray-700);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    margin-left: var(--space-2);
  }

  #lang-toggle:hover,
  #theme-toggle:hover {
    background: rgba(34, 139, 34, 0.05);
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow:
      0 8px 25px rgba(34, 139, 34, 0.15),
      0 4px 12px rgba(34, 139, 34, 0.1),
      0 0 0 1px rgba(34, 139, 34, 0.1),
      0 0 30px rgba(34, 139, 34, 0.08);
  }

  [data-theme="dark"] #lang-toggle,
  [data-theme="dark"] #theme-toggle {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
    color: var(--gray-300);
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.25),
      0 1px 3px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  [data-theme="dark"] #lang-toggle:hover,
  [data-theme="dark"] #theme-toggle:hover {
    background: rgba(34, 139, 34, 0.1);
    color: var(--primary-color);
    box-shadow:
      0 8px 25px rgba(34, 139, 34, 0.2),
      0 4px 12px rgba(34, 139, 34, 0.15),
      0 0 0 1px rgba(34, 139, 34, 0.15),
      0 0 35px rgba(34, 139, 34, 0.12);
  }

  .theme-toggle-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
  }

  .theme-toggle-icon.sun {
    display: block;
  }

  .theme-toggle-icon.moon {
    display: none;
  }

  [data-theme="dark"] .theme-toggle-icon.sun {
    display: none;
  }

  [data-theme="dark"] .theme-toggle-icon.moon {
    display: block;
  }

  /* Adjust header container for desktop */
  .header-container {
    justify-content: space-between;
  }
}

/* Hero Section */

.hero {
  padding: calc(4rem + var(--space-20)) 0 var(--space-20);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-family: var(--font-family-secondary);
  font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 6vw, var(--text-2xl));
  font-weight: var(--font-weight-semibold);
  color: var(--brand-primary);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin-bottom: var(--space-8);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
}

.hero-img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Button Styles */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--brand-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  min-height: 48px;
}

/* Dark Mode Styles for Hero Section */

[data-theme="dark"] .hero {
  background: linear-gradient(
    135deg,
    var(--section-bg-primary) 0%,
    var(--section-bg-secondary) 100%
  );
}

[data-theme="dark"] .hero-title {
  color: var(--text-primary);
}

[data-theme="dark"] .hero-subtitle {
  color: var(--brand-primary-light);
}

[data-theme="dark"] .hero-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .btn-secondary {
  background-color: var(--surface-bg);
  color: var(--text-primary);
  border-color: var(--surface-border);
}

[data-theme="dark"] .btn-secondary:hover {
  background-color: var(--hover-bg);
  color: var(--text-primary);
}

/* About Us Section */

.about {
  padding: var(--section-padding);
  background-color: var(--gray-50);
}

.about-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-12);
}

.about-text {
  max-width: 32rem;
}

.about-description {
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-feature-icon {
  font-size: var(--text-xl);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.about-feature-text {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-800);
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  height: 100%;
  min-height: 24rem;
}

.about-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.about-gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.about-gallery-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: var(--transition-slow);
  aspect-ratio: 4/3;
  min-height: 10rem;
}

.about-gallery-item:hover .about-gallery-img {
  transform: scale(1.08);
}

/* Features Section */

.features {
  padding: var(--section-padding);
  background-color: var(--white);
}

.features-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-family: var(--font-family-secondary);
  font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl));
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 40rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--space-8);
}

.feature-card {
  text-align: center;
  padding: var(--space-8);
  background-color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition-base);
  border: 1px solid var(--gray-100);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--brand-primary);
}

.feature-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.service-logo {
  width: 60px;
  height: auto;
  margin-bottom: var(--space-4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-link {
  display: inline-block;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Products Showcase Section */

.products-showcase {
  padding: var(--section-padding);
  background-color: var(--gray-50);
}

.products-showcase-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.product-category {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-100);
  position: relative;
}

.product-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.product-category:hover::before {
  opacity: 1;
}

.product-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 139, 34, 0.05) 0%,
    rgba(245, 158, 11, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-xl);
  z-index: 1;
  pointer-events: none;
}

.product-category-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-badge-popular {
  background: var(--gradient-primary);
  color: var(--white);
}

.product-badge-new {
  background: var(--gradient-accent);
  color: var(--white);
}

.product-badge-offer {
  background: var(--error-color);
  color: var(--white);
}

.product-badge-professional {
  background: var(--brand-secondary);
  color: var(--white);
}

.product-badge-trending {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: var(--white);
}

.product-badge-eco {
  background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
  color: var(--white);
}

.product-category-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: var(--transition-slow);
}

.product-category:hover .product-category-img {
  transform: scale(1.1);
}

.product-category-content {
  padding: var(--space-6);
  position: relative;
  z-index: 2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.stars {
  color: var(--brand-accent);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
}

.rating-text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  font-weight: var(--font-weight-medium);
}

.product-category-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-snug);
}

.product-category-description {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.products-showcase-cta {
  text-align: center;
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--gray-200);
}

.products-showcase-text {
  font-size: var(--text-lg);
  color: var(--gray-700);
  margin-bottom: var(--space-6);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */

.cta {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  text-align: center;
}

.cta-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cta-title {
  font-family: var(--font-family-secondary);
  font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl));
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */

.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-title {
  font-family: var(--font-family-secondary);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--brand-primary-light);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.footer-subtitle {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-description {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer-contact {
  margin-top: var(--space-4);
}

.footer-address {
  font-size: var(--text-sm);
  color: var(--gray-300);
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.footer-phone {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-links a img {
  width: 16px;
  height: 16px;
  margin-right: var(--space-2);
  vertical-align: middle;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--gray-400);
}

/* Dark Mode Styles for Sections */

/* About Section */

[data-theme="dark"] .about {
  background-color: var(--section-bg-secondary);
}

[data-theme="dark"] .about-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .about-feature-text {
  color: var(--text-primary);
}

/* Features Section */

[data-theme="dark"] .features {
  background-color: var(--section-bg-primary);
}

[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
  color: var(--text-secondary);
}

[data-theme="dark"] .feature-card {
  background-color: var(--card-bg);
  border-color: var(--card-border);
  color: var(--card-text);
}

[data-theme="dark"] .feature-card:hover {
  border-color: var(--brand-primary-light);
}

[data-theme="dark"] .feature-title {
  color: var(--text-primary);
}

[data-theme="dark"] .feature-description {
  color: var(--text-secondary);
}

/* Products Showcase Section */

[data-theme="dark"] .products-showcase {
  background-color: var(--section-bg-secondary);
}

[data-theme="dark"] .product-category {
  background-color: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="dark"] .product-category-title {
  color: var(--text-primary);
}

[data-theme="dark"] .product-category-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .rating-text {
  color: var(--text-muted);
}

[data-theme="dark"] .products-showcase-text {
  color: var(--text-secondary);
}

[data-theme="dark"] .products-showcase-cta {
  border-top-color: var(--surface-border);
}

/* Footer */

[data-theme="dark"] .footer {
  background-color: var(--gray-800);
}

[data-theme="dark"] .footer-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-address {
  color: var(--text-muted);
}

[data-theme="dark"] .footer-links a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--brand-primary-light);
}

[data-theme="dark"] .footer-bottom {
  border-top-color: var(--surface-border);
  color: var(--text-muted);
}

/* Form Validation Styles */

.form-errors {
  display: none;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  color: #dc2626;
  font-size: var(--text-sm);
}

.form-errors[role="alert"] {
  display: block;
}

.form-errors[role="status"] {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.field-error {
  color: var(--error-color);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
  display: block;
}

.form-field.error input,
.form-field.error textarea,
.form-field.error select {
  border-color: var(--error-color);
  box-shadow: 0 0 0 1px var(--error-color);
}

.form-field.error input:focus,
.form-field.error textarea:focus,
.form-field.error select:focus {
  border-color: var(--error-color);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Form field base styles */

.form-field {
  margin-bottom: var(--space-4);
}

.form-field label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--gray-700);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: var(--space-3);
  border: none;
  border-bottom: 2px solid var(--gray-300);
  border-radius: 0;
  font-size: var(--text-base);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  min-height: 44px;
  background: transparent;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--primary-color);
  box-shadow: 0 1px 0 0 var(--primary-color);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact Form Section Styles */

.contact-form {
  padding: var(--section-padding);
  background-color: var(--gray-50);
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.contact-form-element {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

/* Form Layout */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group:last-child {
  margin-bottom: 0;
}

/* Form Labels */

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}

/* Form Inputs */

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-family-primary);
  line-height: 1.5;
  color: var(--gray-900);
  background-color: var(--white);
  border: none;
  border-bottom: 2px solid var(--gray-300);
  border-radius: 0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  min-height: 44px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--primary-color);
  box-shadow: 0 1px 0 0 var(--primary-color);
}

.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: var(--gray-400);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--error-color);
}

.form-input.error:focus,
.form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form Actions */

.form-actions {
  margin-top: var(--space-8);
  text-align: center;
}

/* Honeypot field for bot protection */

.honeypot-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* Form Messages */

.form-error {
  font-size: var(--text-sm);
  color: var(--error-color);
  margin-top: var(--space-1);
  min-height: 1.25rem;
  display: none;
}

.form-error.show {
  display: block;
}

.form-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-weight: 500;
  text-align: center;
  margin-top: var(--space-6);
}

.form-error-message {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-weight: 500;
  text-align: center;
  margin-top: var(--space-6);
}

/* Button Text State */

.btn-text {
  display: inline-block;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Button Loading State */

.btn-loading {
  display: inline-block;
  align-items: center;
  gap: var(--space-2);
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Failsafe CSS rules to ensure proper button state management */

.btn .btn-text.hidden,
.btn .btn-loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.btn-loading::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accessibility Enhancements */

/* Screen reader only content */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Live region for announcements */

.accessibility-live-region {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Focus management styles */

.form-success:focus,
.form-error-message:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Progress indicator */

.form-progress {
  display: none;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background-color: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  text-align: center;
}

.form-progress[aria-hidden="false"] {
  display: block;
}

/* Enhanced focus styles for better visibility */

.form-input:focus,
.form-textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button accessibility */

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Skip link for keyboard users (if needed) */

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 6px;
}

/* Responsive Design */

@media (max-width: 768px) {
  .contact-form {
    padding: var(--space-12) 0;
  }

  .contact-form-container {
    padding: 0 var(--space-4);
  }

  .contact-form-element {
    padding: var(--space-6);
  }

  .form-group {
    margin-bottom: var(--space-4);
  }

  .form-actions {
    margin-top: var(--space-6);
  }
}

/* Dark Mode Styles for Forms */

/* Form Validation Styles */

[data-theme="dark"] .form-errors {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

[data-theme="dark"] .form-errors[role="status"] {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #86efac;
}

/* Form Fields */

[data-theme="dark"] .form-field label {
  color: var(--text-primary);
}

[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field textarea,
[data-theme="dark"] .form-field select {
  border-bottom-color: var(--surface-border);
  color: var(--text-primary);
  background-color: var(--surface-bg);
}

[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field textarea:focus,
[data-theme="dark"] .form-field select:focus {
  border-bottom-color: var(--brand-primary-light);
  box-shadow: 0 1px 0 0 var(--brand-primary-light);
}

[data-theme="dark"] .form-field input::-moz-placeholder, [data-theme="dark"] .form-field textarea::-moz-placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .form-field input::placeholder,
[data-theme="dark"] .form-field textarea::placeholder {
  color: var(--text-muted);
}

/* Contact Form Section */

[data-theme="dark"] .contact-form {
  background-color: var(--section-bg-secondary);
}

[data-theme="dark"] .contact-form-element {
  background-color: var(--card-bg);
  border-color: var(--card-border);
}

/* Form Labels */

[data-theme="dark"] .form-label {
  color: var(--text-primary);
}

/* Form Inputs */

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
  color: var(--text-primary);
  background-color: var(--surface-bg);
  border-bottom-color: var(--surface-border);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus {
  border-bottom-color: var(--brand-primary-light);
  box-shadow: 0 1px 0 0 var(--brand-primary-light);
}

[data-theme="dark"] .form-input::-moz-placeholder, [data-theme="dark"] .form-textarea::-moz-placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .form-input.error,
[data-theme="dark"] .form-textarea.error {
  border-color: var(--error-color);
}

[data-theme="dark"] .form-input.error:focus,
[data-theme="dark"] .form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Form Messages */

[data-theme="dark"] .form-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #86efac;
}

[data-theme="dark"] .form-error-message {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* Privacy Policy Styles */

.privacy-policy {
  padding: var(--space-12) 0;
  background-color: var(--gray-50);
}

.privacy-policy .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.privacy-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.privacy-section {
  margin-bottom: var(--space-8);
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.privacy-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--space-2);
}

.privacy-subtitle {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-3);
}

.privacy-text {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.privacy-list {
  list-style: none;
  padding-left: var(--space-4);
  margin-bottom: var(--space-4);
}

.privacy-list li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--gray-700);
  line-height: 1.6;
}

.privacy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.cookie-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-4) 0;
  background-color: var(--gray-50);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-row {
  display: table-row;
}

.cookie-header .cookie-cell {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

.cookie-cell {
  display: table-cell;
  padding: var(--space-3);
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.cookie-cell:first-child {
  font-weight: 600;
  width: 30%;
}

.contact-info {
  background-color: var(--gray-50);
  padding: var(--space-4);
  border-radius: var(--radius);
  margin: var(--space-4) 0;
}

.contact-info p {
  margin-bottom: var(--space-2);
  color: var(--gray-700);
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.privacy-last-updated {
  text-align: center;
  font-style: italic;
  color: var(--gray-500);
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
}

/* Responsive Privacy Policy */

@media (max-width: 768px) {
  .privacy-policy {
    padding: var(--space-8) 0;
  }

  .privacy-content {
    padding: var(--space-6);
  }

  .privacy-title {
    font-size: var(--text-xl);
  }

  .cookie-table {
    display: block;
  }

  .cookie-row {
    display: block;
    margin-bottom: var(--space-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: var(--space-3);
  }

  .cookie-cell {
    display: block;
    padding: var(--space-1);
    border: none;
  }

  .cookie-cell:first-child {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-1);
  }
}

/* Responsive Design */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: var(--space-6);
  }

  .about-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 20rem;
  }
}

@media (max-width: 767px) {
  #nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--space-2) 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    border-top: none;
    z-index: var(--z-modal-backdrop);
  }

  #nav-menu.active {
    opacity: 1;
    visibility: visible;
  }

  #nav-menu.active::before {
    transform: translateX(0);
  }

  [data-theme="dark"] #nav-menu {
    background: var(--gray-900);
    border-top-color: var(--gray-700);
  }

  #nav-menu .nav-list {
    position: relative;
    padding: var(--space-6) var(--space-4);
    flex-direction: column;
    gap: var(--space-4);
    align-items: stretch;
    width: 100%;
    max-width: 85vw;
    overflow-x: hidden;
  }

  #nav-menu .nav-link {
    justify-content: flex-start;
    padding: var(--space-4) var(--space-4);
    border-radius: var(--radius-lg);
    margin: 0;
    width: 100%;
    text-align: left;
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--gray-700);
    transition: all 0.2s ease;
  }

  #nav-menu .nav-link:hover {
    background: var(--gray-50);
    color: var(--brand-primary);
    transform: translateX(8px);
  }

  #nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }

  .about-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .about-features {
    align-items: center;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 16rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--space-4);
  }

  .hero-title {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
  }

  .hero-subtitle {
    font-size: clamp(var(--text-lg), 5vw, var(--text-xl));
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .section-title {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-3xl));
  }

  .cta-title {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-3xl));
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }

  .hero {
    padding: calc(3rem + var(--space-12)) 0 var(--space-12);
  }

  .about {
    padding: var(--section-padding);
  }

  .features {
    padding: var(--section-padding);
  }

  .products-showcase {
    padding: var(--section-padding);
  }

  .cta {
    padding: var(--section-padding);
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 2rem 0;
  }

  .hero-title {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-3xl));
  }

  .about-gallery {
    min-height: 12rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .product-category-image {
    height: 8rem;
  }

  .hero-subtitle {
    font-size: clamp(var(--text-base), 4vw, var(--text-lg));
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .btn {
    width: 100%;
    max-width: 16rem;
    min-height: 44px;
    padding: var(--space-4) var(--space-6);
  }

  .section-title {
    font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
  }

  .cta-title {
    font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: calc(2rem + var(--space-8)) 0 var(--space-8);
  }

  .about {
    padding: var(--section-padding);
  }

  .features {
    padding: var(--section-padding);
  }

  .products-showcase {
    padding: var(--section-padding);
  }

  .cta {
    padding: var(--section-padding);
  }

  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }
}

/* Print Styles */

@media print {
  #main-header,
  #nav-toggle,
  .cta,
  .footer {
    display: none;
  }

  .hero {
    padding-top: var(--space-8);
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero-title {
    font-size: 18pt;
  }

  .section-title {
    font-size: 14pt;
  }
}

/* High Contrast Mode */

@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-900: #000000;
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-img:hover {
    transform: none;
  }

  .feature-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Touch Device Optimizations */

@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .feature-card:hover,
  .product-category:hover,
  .about-gallery-item:hover {
    transform: none;
  }

  .nav-link:hover {
    background-color: transparent;
  }
}

/* Enhanced Focus Styles for Accessibility */

:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.nav-link:focus-visible,
.btn:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
  box-shadow:
    0 0 0 1px var(--white),
    0 0 0 4px rgba(34, 139, 34, 0.3);
}

/* High contrast focus for better visibility */

@media (prefers-contrast: high) {
  :focus-visible {
    outline: 4px solid var(--brand-primary);
    outline-offset: 1px;
  }
}

/* About Us Section */

.about {
  padding: var(--section-padding);
  background-color: var(--gray-50);
}

.about-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-12);
}

.about-text {
  max-width: 32rem;
}

.about-description {
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-feature-icon {
  font-size: var(--text-xl);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.about-feature-text {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-800);
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  height: 100%;
  min-height: 24rem;
}

.about-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.about-gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.about-gallery-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: var(--transition-slow);
  aspect-ratio: 4/3;
  min-height: 10rem;
}

.about-gallery-item:hover .about-gallery-img {
  transform: scale(1.08);
}

/* Features Section */

.features {
  padding: var(--section-padding);
  background-color: var(--white);
}

.features-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-family: var(--font-family-secondary);
  font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl));
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 40rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--space-8);
}

.feature-card {
  text-align: center;
  padding: var(--space-8);
  background-color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition-base);
  border: 1px solid var(--gray-100);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--brand-primary);
}

.feature-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.service-logo {
  width: 60px;
  height: auto;
  margin-bottom: var(--space-4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-link {
  display: inline-block;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Products Showcase Section */

.products-showcase {
  padding: var(--section-padding);
  background-color: var(--gray-50);
}

.products-showcase-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.product-category {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-100);
  position: relative;
}

.product-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.product-category:hover::before {
  opacity: 1;
}

.product-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 139, 34, 0.05) 0%,
    rgba(245, 158, 11, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-xl);
  z-index: 1;
  pointer-events: none;
}

.product-category-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-badge-popular {
  background: var(--gradient-primary);
  color: var(--white);
}

.product-badge-new {
  background: var(--gradient-accent);
  color: var(--white);
}

.product-badge-offer {
  background: var(--error-color);
  color: var(--white);
}

.product-badge-professional {
  background: var(--brand-secondary);
  color: var(--white);
}

.product-badge-trending {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: var(--white);
}

.product-badge-eco {
  background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
  color: var(--white);
}

.product-category-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: var(--transition-slow);
}

.product-category:hover .product-category-img {
  transform: scale(1.1);
}

.product-category-content {
  padding: var(--space-6);
  position: relative;
  z-index: 2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.stars {
  color: var(--brand-accent);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
}

.rating-text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  font-weight: var(--font-weight-medium);
}

.product-category-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-snug);
}

.product-category-description {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.products-showcase-cta {
  text-align: center;
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--gray-200);
}

.products-showcase-text {
  font-size: var(--text-lg);
  color: var(--gray-700);
  margin-bottom: var(--space-6);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */

.cta {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  text-align: center;
}

.cta-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cta-title {
  font-family: var(--font-family-secondary);
  font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl));
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */

.faq-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.faq-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-12);
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  border-color: var(--brand-primary);
  background-color: var(--gray-50);
}

.faq-question {
  padding: var(--space-6);
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  font-size: var(--text-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--brand-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-item[open] .faq-question {
  color: var(--brand-primary);
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
  font-size: var(--text-base);
}

/* Dark Mode Styles for FAQ */

[data-theme="dark"] .faq-section {
  background-color: var(--section-bg-primary);
}

[data-theme="dark"] .faq-item {
  background-color: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="dark"] .faq-item:hover {
  border-color: var(--brand-primary-light);
}

[data-theme="dark"] .faq-item[open] {
  background-color: var(--card-bg);
  border-color: var(--brand-primary-light);
}

[data-theme="dark"] .faq-question {
  color: var(--text-primary);
}

[data-theme="dark"] .faq-question::after {
  color: var(--brand-primary-light);
}

[data-theme="dark"] .faq-item[open] .faq-question {
  color: var(--brand-primary-light);
}

[data-theme="dark"] .faq-answer p {
  color: var(--text-secondary);
}

/* Footer */

.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-title {
  font-family: var(--font-family-secondary);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--brand-primary-light);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.footer-subtitle {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-description {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer-contact {
  margin-top: var(--space-4);
}

.footer-address {
  font-size: var(--text-sm);
  color: var(--gray-300);
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.footer-phone {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-links a img {
  width: 16px;
  height: 16px;
  margin-right: var(--space-2);
  vertical-align: middle;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--gray-400);
}

/* Dark Mode Styles for Sections */

/* About Section */

[data-theme="dark"] .about {
  background-color: var(--section-bg-secondary);
}

[data-theme="dark"] .about-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .about-feature-text {
  color: var(--text-primary);
}

/* Features Section */

[data-theme="dark"] .features {
  background-color: var(--section-bg-primary);
}

[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
  color: var(--text-secondary);
}

[data-theme="dark"] .feature-card {
  background-color: var(--card-bg);
  border-color: var(--card-border);
  color: var(--card-text);
}

[data-theme="dark"] .feature-card:hover {
  border-color: var(--brand-primary-light);
}

[data-theme="dark"] .feature-title {
  color: var(--text-primary);
}

[data-theme="dark"] .feature-description {
  color: var(--text-secondary);
}

/* Products Showcase Section */

[data-theme="dark"] .products-showcase {
  background-color: var(--section-bg-secondary);
}

[data-theme="dark"] .product-category {
  background-color: var(--card-bg);
  border-color: var(--card-border);
}

[data-theme="dark"] .product-category-title {
  color: var(--text-primary);
}

[data-theme="dark"] .product-category-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .rating-text {
  color: var(--text-muted);
}

[data-theme="dark"] .products-showcase-text {
  color: var(--text-secondary);
}

[data-theme="dark"] .products-showcase-cta {
  border-top-color: var(--surface-border);
}

/* Footer */

[data-theme="dark"] .footer {
  background-color: var(--gray-800);
}

[data-theme="dark"] .footer-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-address {
  color: var(--text-muted);
}

[data-theme="dark"] .footer-links a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--brand-primary-light);
}

[data-theme="dark"] .footer-bottom {
  border-top-color: var(--surface-border);
  color: var(--text-muted);
}
