/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (COOPE BURGERS & DOGS)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Colors - Light Theme (Default: Warm Cozy Cream) */
  --bg-primary: #fdfbf7;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f5f2eb;
  --bg-accent-opaque: rgba(220, 38, 38, 0.05);
  
  --text-primary: #18181b;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  
  --primary: #dc2626; /* Grill Red / Ketchup */
  --primary-hover: #b91c1c;
  --primary-glow: rgba(220, 38, 38, 0.15);
  
  --secondary: #eab308; /* Mustard Gold / Melting Cheese */
  --secondary-hover: #ca8a04;
  --secondary-glow: rgba(234, 179, 8, 0.15);
  
  --accent: #f97316; /* Fire Orange / Smoked BBQ */
  --accent-hover: #ea580c;
  
  --success: #16a34a;
  --warning: #ca8a04;
  --info: #2563eb;
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Layout tokens */
  --header-height: 85px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(24, 24, 27, 0.05);
  --shadow-md: 0 12px 30px -10px rgba(24, 24, 27, 0.08);
  --shadow-lg: 0 20px 50px -15px rgba(24, 24, 27, 0.15);
  --shadow-glow: 0 0 25px rgba(220, 38, 38, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --scrollbar-bg: #f5f2eb;
  --scrollbar-thumb: #d1d5db;
}

[data-theme="dark"] {
  /* Colors - Dark Theme Override (Sleek Matte Black Grill Vibe) */
  --bg-primary: #09090b;
  --bg-secondary: #121214;
  --bg-tertiary: #1a1a1e;
  --bg-accent-opaque: rgba(220, 38, 38, 0.08);
  
  --text-primary: #f4f4f5;
  --text-secondary: #d4d4d8;
  --text-muted: #71717a;
  --border-color: #27272a;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
  
  --scrollbar-bg: #1a1a1e;
  --scrollbar-thumb: #3f3f46;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  transition: color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Screen reader utility for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition-fast);
  font-family: var(--font-title);
  font-weight: 700;
}
.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.section {
  padding: 110px 0;
}

.section-bg {
  background-color: var(--bg-secondary);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-primary:hover {
  background-color: var(--secondary);
  color: #18181b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--secondary-glow);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
}
.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--bg-accent-opaque);
  color: var(--primary);
  border: 1px solid rgba(220, 38, 38, 0.15);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* Section Header */
.section-header {
  max-width: 650px;
  margin: 0 auto 65px auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .header {
  background-color: rgba(9, 9, 11, 0.85);
}

.header.sticky {
  height: 75px;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  background-color: var(--primary);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 1.05rem;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-tertiary);
}

/* Menu Toggle Button (Burger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 10px;
  transition: all var(--transition-normal);
}

/* Mobile Menu Active State */
@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 40px;
    gap: 28px;
    z-index: 1000;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, var(--bg-accent-opaque) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  z-index: 1;
}

.hero-content {
  max-width: 630px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-img:hover {
  transform: scale(1.03);
}

/* Taste Selector component in index.html */
.taste-selector {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-top: 50px;
}

.taste-selector h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.taste-selector h3 i {
  color: var(--secondary);
}

.taste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 20px;
  align-items: end;
}

.taste-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.taste-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.taste-field select, .taste-field input {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.taste-field select:focus, .taste-field input:focus {
  border-color: var(--primary);
}

@media (max-width: 991px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .taste-grid {
    grid-template-columns: 1fr;
  }
  
  .taste-grid button {
    width: 100%;
    margin-top: 10px;
  }
}

/* ==========================================================================
   ABOUT COMPONENT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.about-feature-item {
  display: flex;
  gap: 18px;
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  background-color: var(--bg-accent-opaque);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.about-feature-text p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.timeline {
  margin-top: 45px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 4px solid var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.timeline-year {
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   SERVICES & CATEGORIES (MENU)
   ========================================================================== */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-accent-opaque);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px var(--primary-glow);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.card-link i {
  transition: transform var(--transition-fast);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* Product Cards layout for Menu on services.html */
.part-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.part-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.part-img-container {
  position: relative;
  background-color: var(--bg-tertiary);
  height: 240px;
  overflow: hidden;
}

.part-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.part-card:hover .part-img {
  transform: scale(1.06);
}

.part-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: white;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
}

.part-info {
  padding: 28px;
}

.part-category {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.part-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.part-features {
  list-style: none;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.part-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.part-features li i {
  color: var(--success);
}

.part-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.part-price {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ==========================================================================
   ADVANTAGES & PROCESS
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.advantage-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  gap: 22px;
  transition: all var(--transition-normal);
}

.advantage-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.advantage-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--bg-accent-opaque);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.advantage-text h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.advantage-text p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* How It Works - Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 48px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 4px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover .step-num {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.process-step h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
}

/* ==========================================================================
   STATISTICS & COUNTERS
   ========================================================================== */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, #7f1d1d 100%);
  color: #ffffff;
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.stats::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='10' fill='rgba(255,255,255,0.015)'/%3E%3C/svg%3E");
  opacity: 0.35;
}

[data-theme="dark"] .stats {
  background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item h3 {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 36px;
}

.testimonial-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 9rem;
  color: var(--border-color);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
  opacity: 0.25;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--border-color);
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rating {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.1) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: all var(--transition-normal);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  max-height: 500px;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary);
  color: white;
}

/* ==========================================================================
   BLOG GRID
   ========================================================================== */
.blog-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-img-link {
  display: block;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

.blog-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-img-link img {
  transform: scale(1.06);
}

.blog-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Filter buttons for blog */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.contact-info {
  background: linear-gradient(135deg, #1c1917 0%, #0c0a09 100%);
  color: #f5f5f4;
  padding: 52px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .contact-info {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #09090b 100%);
  border: 1px solid var(--border-color);
}

.contact-info h3 {
  font-size: 1.9rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-info > p {
  color: #d6d3d1;
  margin-bottom: 44px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-detail-item {
  display: flex;
  gap: 22px;
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.contact-detail-text p, .contact-detail-text a {
  color: #d6d3d1;
  font-size: 0.95rem;
}

.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 44px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

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

/* Map placeholder / OpenStreetMap Container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-top: 60px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info, .contact-form-container {
    padding: 36px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #0c0a09;
  color: #d6d3d1;
  padding: 85px 0 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 52px;
  margin-bottom: 65px;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.newsletter-btn {
  background-color: var(--primary);
  color: white;
  width: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

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

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 575px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all var(--transition-normal);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 130px 24px 65px 24px;
}

.legal-content h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.7rem;
  margin: 36px 0 18px 0;
}

.legal-content p, .legal-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.legal-content ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 24px;
}

/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
}

.error-container {
  max-width: 600px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--font-title);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-title {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.error-text {
  font-size: 1.15rem;
  margin-bottom: 44px;
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL UTILITIES
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-up {
  transform: translateY(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Gear/Fork rotating animation for visual effects */
@keyframes rotate-gear {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.rotating-gear {
  animation: rotate-gear 12s linear infinite;
}
