/* ========================================
   3 Peaks Landscapes - Main Styles
   ======================================== */

/* Import variables first */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import 'variables.css';

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--neutral-dark);
  background-color: var(--neutral-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px; /* Prevent iOS zoom - critical for mobile UX */
  min-height: 44px; /* Touch target compliance */
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

.section {
  padding: var(--space-20) 0;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
}

p {
  margin-bottom: var(--space-4);
  color: var(--neutral-medium);
}

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

/* ========================================
    BUTTONS
    ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  white-space: nowrap;
  /* Touch target compliance - minimum 44px */
  min-height: 44px;
  min-width: 44px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Primary Button */
.btn--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--neutral-white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Secondary Button */
.btn--secondary {
  background: var(--neutral-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Accent Button */
.btn--accent {
  background: var(--accent-color);
  color: var(--neutral-white);
}

.btn--accent:hover {
  background: var(--accent-light);
}

/* Outlined Button */
.btn--outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Button Sizes */
.btn--small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

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

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  background: var(--neutral-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  backdrop-filter: blur(10px);
}

.header-contact {
  background: var(--primary-dark);
  color: var(--neutral-white);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
}

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

.header-contact a {
  color: var(--neutral-white);
  font-weight: var(--font-medium);
}

.header-contact a:hover {
  color: var(--primary-tint);
}

.main-navigation {
  padding: var(--space-4) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--primary-color);
}

.nav-brand img {
  height: 75px;
  margin-right: var(--space-3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) brightness(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-brand:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(45, 80, 22, 0.3)) brightness(1.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  color: var(--neutral-dark);
  font-weight: var(--font-medium);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  /* Touch target compliance */
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--neutral-dark);
  transition: var(--transition-fast);
}

/* ========================================
   NAVIGATION DROPDOWN STYLES
   ======================================== */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--neutral-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  min-width: 200px;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  z-index: var(--z-dropdown);
  border: 1px solid var(--neutral-light);
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-content a {
  display: block;
  padding: var(--space-2) var(--space-3);
  color: var(--neutral-dark);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-dropdown-content a:hover {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  /* Hamburger toggle - 3 lines */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: var(--transition-fast);
  }

  /* Hamburger to X animation */
  .nav-toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

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

  /* Dropdown menu - expands below header */
  .nav-container {
    flex-wrap: wrap;
  }

  .nav-menu {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    padding: var(--space-4) 0;
    gap: 0;
    border-top: 1px solid var(--neutral-light);
    margin-top: var(--space-3);
  }

  .nav-menu--active {
    display: flex;
  }

  .nav-menu .nav-link {
    padding: var(--space-3) var(--space-2);
    width: 100%;
    justify-content: space-between;
  }

  /* Dropdown arrow indicator */
  .nav-dropdown > .nav-link::after {
    content: '';
    border: solid var(--neutral-medium);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: var(--transition-fast);
    margin-left: auto;
  }

  .nav-dropdown.active > .nav-link::after {
    transform: rotate(-135deg);
  }

  /* Mobile sub-dropdown - inline expand */
  .nav-dropdown-content {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: var(--primary-tint);
    box-shadow: none;
    border-radius: var(--radius-sm);
    border: none;
    padding: 0;
    margin: 0 0 var(--space-2) 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-dropdown.active .nav-dropdown-content {
    display: block;
  }

  .nav-dropdown-content a {
    display: block;
    padding: var(--space-3) var(--space-6);
    color: var(--neutral-dark);
    border-radius: 0;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: var(--text-sm);
  }

  .nav-dropdown-content a:hover {
    background: var(--primary-color);
    color: var(--neutral-white);
  }

  /* Hide brand text on small screens, keep logo */
  .nav-brand-text {
    display: none;
  }
}

/* ========================================
   HERO SECTIONS
   ======================================== */

.hero {
  position: relative;
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--primary-tint), var(--neutral-white));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(45,80,22,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  color: var(--primary-dark);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--neutral-medium);
  margin-bottom: var(--space-8);
  max-width: 600px;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-16) 0;
  }

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

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Header contact bar - wrap on mobile */
  .header-contact .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
  }

  .header-contact .container > div {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Allow button text to wrap on mobile */
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* Hero with background image variant */
.hero--bg-image {
  background: none;
}

/* Sections with background images and text overlay */
section[style*="background-image"] h1,
section[style*="background-image"] h2,
section[style*="background-image"] h3,
section[style*="background-image"] h4,
section[class*="-overview"] h1,
section[class*="-overview"] h2,
section[class*="-overview"] h3,
section[class*="-overview"] h4,
section[class*="-showcase"] h1,
section[class*="-showcase"] h2,
section[class*="-showcase"] h3,
section[class*="-showcase"] h4 {
  color: var(--primary-color) !important;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    -2px 0 0 #fff,
    2px 0 0 #fff,
    0 -2px 0 #fff,
    0 2px 0 #fff,
    0 0 10px rgba(0, 0, 0, 0.9);
  font-weight: var(--font-bold);
}

section[style*="background-image"] p,
section[class*="-overview"] p,
section[class*="-showcase"] p {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero--bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
}

.hero--bg-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero--bg-image .hero-title {
  color: var(--primary-color) !important;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    0 0 8px rgba(0, 0, 0, 0.8);
  font-weight: var(--font-bold);
}

.hero--bg-image .hero-subtitle {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  font-weight: var(--font-medium);
}

/* Large bold subtitle styling - green with white border */
.hero--bg-image .hero-subtitle[style*="font-size: 1.4rem"],
.hero--bg-image .hero-subtitle[style*="font-weight: 700"] {
  color: var(--primary-color) !important;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    -2px 0 0 #fff,
    2px 0 0 #fff,
    0 -2px 0 #fff,
    0 2px 0 #fff,
    0 0 10px rgba(0, 0, 0, 0.9) !important;
}

.hero--bg-image p {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero--bg-image h1,
.hero--bg-image h2,
.hero--bg-image h3,
.hero--bg-image h4 {
  color: var(--primary-color) !important;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    0 0 8px rgba(0, 0, 0, 0.8);
  font-weight: var(--font-bold);
}

.hero--bg-image .hero-cta .btn--primary {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Card utility */
.card {
  background: var(--neutral-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.service-categories {
  display: grid;
  gap: var(--space-6);
  margin: var(--space-12) 0;
}

/* Better mobile breakpoints for service cards */
@media (max-width: 480px) {
  .service-categories {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .service-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) {
  .service-categories {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-8);
  }
}

.service-category {
  background: var(--neutral-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.service-category:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-category-header {
  background: var(--primary-color);
  color: var(--neutral-white);
  padding: var(--space-6);
  text-align: center;
}

.service-category-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-3);
}

.service-category-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.service-category-description {
  font-size: var(--text-base);
  color: var(--neutral-white);
  opacity: 1;
}

.service-category-body {
  padding: var(--space-6);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  /* Touch target compliance */
  min-height: 44px;
}

.service-item:hover {
  background: var(--primary-tint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-item-icon {
  color: var(--primary-color);
  font-size: var(--text-xl);
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-fast);
}

.service-item:hover .service-item-icon {
  transform: scale(1.1);
}

.service-item-content h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--primary-dark);
  margin-bottom: var(--space-1);
}

.service-item:hover .service-item-content h4 {
  color: var(--primary-color);
}

.service-item-content p {
  font-size: var(--text-sm);
  color: var(--neutral-medium);
  margin-bottom: 0;
}

.service-item:hover .service-item-content p {
  color: var(--neutral-dark);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--neutral-dark);
  color: var(--neutral-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-section h4 {
  color: var(--primary-light);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: var(--neutral-white);
  opacity: 1;
  transition: var(--transition-fast);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.footer-contact a {
  color: var(--neutral-white);
  opacity: 1;
}

.footer-contact a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-medium);
  padding-top: var(--space-6);
  text-align: center;
  opacity: 0.6;
  font-size: var(--text-sm);
}

/* ========================================
   STATS & CTA SECTIONS
   ======================================== */

.stats-section {
  padding: var(--space-16) 0;
  background: var(--primary-tint);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat-item {
  padding: var(--space-4);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--neutral-medium);
  font-weight: var(--font-medium);
}

.cta-section {
  padding: var(--space-16) 0;
  background: var(--primary-color);
  text-align: center;
}

.cta-content h2 {
  color: var(--neutral-white);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

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

.cta-section .btn-primary:hover {
  background: var(--neutral-light);
}

.cta-section .btn-secondary {
  background: transparent;
  color: var(--neutral-white);
  border: 2px solid var(--neutral-white);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .stat-number {
    font-size: var(--text-3xl);
  }

  .cta-content h2 {
    font-size: var(--text-2xl);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   INFO CARDS (on background image sections)
   ======================================== */

.info-card {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.info-card p {
  color: #000000;
}

/* ========================================
   GALLERY STYLES
   ======================================== */

/* Gallery Hero */
.gallery-hero {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--primary-tint), var(--neutral-white));
  text-align: center;
}

.gallery-hero h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}

.gallery-hero .subtitle {
  font-size: var(--text-lg);
  color: var(--primary-color);
  margin-bottom: var(--space-6);
}

.gallery-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--neutral-medium);
  line-height: var(--leading-relaxed);
}

/* Gallery Section */
.gallery-section {
  padding: var(--space-16) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item-overlay h3 {
  color: var(--neutral-white);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  color: var(--neutral-white);
  font-size: var(--text-base);
  margin-top: var(--space-3);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Gallery Responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .gallery-section {
    padding: var(--space-12) 0;
  }

  .gallery-hero h1 {
    font-size: var(--text-3xl);
  }

  .gallery-hero .subtitle {
    font-size: var(--text-base);
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .gallery-item {
    border-radius: var(--radius-md);
  }

  .gallery-item-overlay {
    padding: var(--space-2);
  }

  .gallery-item-overlay h3 {
    font-size: var(--text-xs);
  }
}

/* ========================================
    MOBILE MENU OVERLAY
    ======================================== */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================
    ACCESSIBILITY
    ======================================== */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--neutral-white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: var(--font-medium);
  transition: var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ========================================
    TOUCH FEEDBACK ANIMATIONS
    ======================================== */

.btn:active,
.nav-link:active,
.service-item:active,
.filter-btn:active,
.modal-close:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Ripple effect for buttons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* ========================================
    FLOATING ACTION BUTTON (FAB)
    ======================================== */

.fab {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  color: var(--neutral-white);
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
}

.fab:active {
  transform: scale(0.95);
}

.fab-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Hide FAB on desktop */
@media (min-width: 769px) {
  .fab {
    display: none;
  }
}

/* Adjust FAB position for mobile with safe area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .fab {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

/* ========================================
    MULTI-STEP FORM
    ======================================== */

.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neutral-light);
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.progress-step::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--primary-color);
  transition: background-color var(--transition-normal);
  z-index: 1;
}

.progress-step:last-child::before {
  display: none;
}

.progress-step.active::before {
  background: var(--primary-color);
}

.progress-step:not(.active)::before {
  background: var(--neutral-light);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--neutral-light);
  color: var(--neutral-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 3;
}

.progress-step.active .step-number {
  background: var(--primary-color);
  color: var(--neutral-white);
}

.progress-step.completed .step-number {
  background: var(--success-color);
  color: var(--neutral-white);
}

.step-label {
  font-size: var(--text-xs);
  color: var(--neutral-medium);
  text-align: center;
  font-weight: var(--font-medium);
}

.progress-step.active .step-label {
  color: var(--primary-color);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-6);
  font-size: var(--text-xl);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--neutral-light);
}

/* Mobile form navigation */
@media (max-width: 768px) {
  .form-navigation {
    flex-direction: column;
    gap: var(--space-3);
  }

  .form-navigation .btn {
    width: 100%;
  }

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

  .step-label {
    font-size: 10px;
  }
}

/* ========================================
    IMAGE CAROUSEL
    ======================================== */

.image-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background: white;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s ease;
  z-index: 2;
  opacity: 0;
}

.image-carousel:hover .carousel-prev,
.image-carousel:hover .carousel-next {
  opacity: 1;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .carousel-prev,
  .carousel-next {
    opacity: 1;
    width: 36px;
    height: 36px;
  }
}

/* ========================================
    UTILITIES
    ======================================== */

.bg-primary { background-color: var(--primary-color); }
.bg-light { background-color: var(--primary-tint); }
.bg-white { background-color: var(--neutral-white); }

.text-primary { color: var(--primary-color); }
.text-dark { color: var(--neutral-dark); }
.text-white { color: var(--neutral-white); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }

.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-6 { margin: var(--space-6); }

.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

.hidden { display: none; }
.block { display: block; }

/* ========================================
   BOOKING MODAL
   ======================================== */

.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.booking-modal.active {
  display: flex;
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.booking-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  max-height: 800px;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 10001;
}

.booking-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.booking-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.booking-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .booking-modal-content {
    width: 95%;
    height: 90vh;
    border-radius: 0.75rem;
  }

  .booking-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}
.inline-block { display: inline-block; }