/* ===== GLOBAL STYLES ===== */
:root {
  --primary-color: #56313f;
  --secondary-color: #724556;
  --accent-color: #f59e0b;
  --dark: #0f0f0f;
  --darker: #0a0a0a;
  --light: #1a1a1a;
  --lighter: #252525;
  --text-primary: #e5e5e5;
  --text-secondary: #b0b0b0;
  --gray: #6c757d;
  --light-gray: #2a2a2a;
  --border-color: #333333;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  touch-action: manipulation;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
}

.lang-btn {
  background: rgba(26, 26, 26, 0.95);
  border: 2px solid rgba(86, 49, 63, 0.4);
  border-radius: 50px;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.lang-btn:hover {
  background: rgba(86, 49, 63, 0.2);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(86, 49, 63, 0.3);
  transform: translateY(-2px);
}

.lang-btn .flag-img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  vertical-align: middle;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  min-width: 160px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: var(--lighter);
  color: var(--primary-color);
}

.lang-option .flag-img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .lang-switcher {
    top: 1rem;
    right: 1rem;
  }

  .lang-btn {
    padding: 0.625rem 1.125rem;
    font-size: 0.875rem;
    min-width: 44px;
    min-height: 44px;
  }

  .lang-dropdown {
    min-width: 140px;
  }

  .lang-option {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.container {
  max-width: 1200px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0.7) 100%),
    url('../assets/zalazak.png') center center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  padding: 2rem;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-eyebrow {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.5px;
  color: white;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.btn-hero {
  background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%);
  color: var(--dark);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
}

.btn-hero:hover {
  background: linear-gradient(135deg, #d97706 0%, var(--accent-color) 100%);
  color: var(--darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(245, 158, 11, 0.5);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  text-align: center;
  color: white;
  cursor: pointer;
  animation: fadeInUp 1s ease-out 0.5s both;
  transition: opacity 0.3s ease;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  margin-top: auto;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator span {
  display: block;
  font-size: 0.875rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 3rem 0;
  background: var(--darker);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 50vh;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

/* Desktop hover effect */
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-overlay {
    transform: translateY(0);
  }

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

/* Mobile - always show overlay */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3));
    padding: 1.5rem 1rem 1rem;
  }

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

.gallery-overlay span {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===== EMOTIONAL SECTION ===== */
.emotional-section {
  padding: 5rem 0;
  background: var(--dark);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.emotional-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 5rem 0;
  background: var(--darker);
}

.feature-card {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(86, 49, 63, 0.3);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 4rem 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  color: white;
}

.btn-primary {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border: 3px solid white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
  border-color: white;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 5rem 0;
  background: var(--dark);
}

.review-card {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(86, 49, 63, 0.3);
  border-color: var(--primary-color);
}

.review-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-avatar span {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.reviewer-avatar-image {
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: none;
  padding: 0;
  overflow: visible;
}

.reviewer-avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reviewer-info {
  flex: 1;
}

.reviewer-info h5 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.review-stars {
  margin-bottom: 0.5rem;
}

.review-stars i {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-right: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #4285f4;
  font-weight: 500;
}

.verified-badge i {
  font-size: 0.9rem;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-date {
  font-size: 0.875rem;
  color: var(--gray);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(86, 49, 63, 0.4);
}

/* ===== AUDIENCE SECTION ===== */
.audience-section {
  padding: 5rem 0;
  background: var(--darker);
}

.audience-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--light);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.audience-card:hover {
  background: var(--lighter);
  box-shadow: 0 10px 30px rgba(86, 49, 63, 0.3);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.audience-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.audience-card h4 {
  font-size: 1.25rem;
  margin: 1rem 0;
  color: var(--text-primary);
}

.audience-card p {
  margin: 0;
  color: var(--text-secondary);
}

/* ===== LOCATION SECTION ===== */
.location-section {
  padding: 5rem 0;
  background: var(--dark);
}

.location-card {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  position: relative;
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.location-card:hover {
  box-shadow: 0 10px 30px rgba(86, 49, 63, 0.3);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.distance-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.location-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  padding-right: 4rem;
}

.location-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 6rem 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.final-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: white;
}

.final-cta-text {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  color: white;
}

.final-cta-booking-text {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: white;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  border: 3px solid white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.contact-icon:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

.contact-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phone Popup Styles */
.phone-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.phone-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.phone-popup-content {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: var(--transition);
}

.phone-popup-overlay.show .phone-popup-content {
  transform: scale(1);
}

.phone-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.phone-popup-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.phone-popup-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.phone-popup-content h3 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.75rem;
  border-radius: 8px;
}

.phone-number:hover {
  background: var(--light-gray);
}

.phone-popup-hint {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
}

.btn-final {
  background: transparent;
  color: white;
  padding: 1.25rem 3rem;
  border: 3px solid white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.btn-final:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(255, 255, 255, 0.3);
  border-color: white;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 0;
  background: var(--darker);
  color: var(--gray);
  border-top: 1px solid var(--border-color);
}

.footer p {
  margin: 0;
  color: var(--gray);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  /* Base typography for mobile */
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  /* Mobile-optimized hero image with robust viewport handling */
  .hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    max-height: none;
    background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.5) 70%,
      rgba(0, 0, 0, 0.7) 100%),
      url('../assets/zalazak-mobile-long.png') center center/cover no-repeat;
    background-attachment: scroll;
    padding: 1rem;
  }

  /* Support for different aspect ratios */
  /* 16:9 standard phones */
  @media (max-width: 768px) and (min-aspect-ratio: 9/16) and (max-aspect-ratio: 16/9) {
    .hero-section {
      background-position: center center;
    }
  }

  /* 19.5:9 iPhones (11/12/13/14) */
  @media (max-width: 768px) and (min-aspect-ratio: 19/9) {
    .hero-section {
      background-position: center 45%;
    }
  }

  /* 20:9 Samsung and other tall phones */
  @media (max-width: 768px) and (min-aspect-ratio: 20/9) {
    .hero-section {
      background-position: center 40%;
    }
  }

  /* 21:9 Sony Xperia and ultra-tall phones */
  @media (max-width: 768px) and (min-aspect-ratio: 21/9) {
    .hero-section {
      background-position: center 35%;
    }
  }

  /* Fallback for browsers that don't support dvh */
  @supports not (height: 100dvh) {
    .hero-section {
      height: 100vh;
      min-height: 100vh;
    }
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  /* iOS-specific fixes for safe areas and notches */
  @supports (padding: env(safe-area-inset-bottom)) {
    .hero-section {
      padding-bottom: env(safe-area-inset-bottom);
    }

    .scroll-indicator {
      bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.15;
  }

  .hero-eyebrow {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
  }
  
  .gallery-item {
    height: 300px;
  }

  /* Ensure overlay is always visible on mobile */
  .gallery-overlay {
    transform: translateY(0) !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)) !important;
    padding: 1.25rem 1rem 0.875rem !important;
  }

  .gallery-overlay span {
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  }
  
  .feature-card, .audience-card, .location-card {
    margin-bottom: 1.5rem;
    padding: 2rem 1.5rem;
    min-height: 200px;
  }

  /* Ensure feature icons are easily tappable */
  .feature-icon, .audience-card i {
    min-width: 64px;
    min-height: 64px;
  }

  /* Optimized section spacing for mobile */
  .emotional-section,
  .features-section,
  .audience-section,
  .location-section,
  .reviews-section {
    padding: 3rem 0;
  }

  .emotional-section .col-lg-8 {
    padding: 0 1.5rem;
  }

  .emotional-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }

  .cta-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .final-cta {
    padding: 4rem 1.5rem;
  }

  .final-cta-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .final-cta-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .final-cta-booking-text {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0.875rem 1.75rem;
    border-width: 2px;
  }

  .contact-icons {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 1.25rem;
  }

  /* Phone popup optimized for mobile */
  .phone-popup-content {
    padding: 2rem 1.5rem;
    max-width: 90%;
  }

  .phone-number {
    font-size: 1.25rem;
  }

  .phone-popup-icon {
    font-size: 2.5rem;
  }

  /* Card typography optimization */
  .feature-card h4,
  .audience-card h4,
  .location-card h4 {
    font-size: 1.125rem;
    line-height: 1.35;
    margin-bottom: 0.875rem;
  }

  .feature-card p,
  .audience-card p,
  .location-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .review-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .distance-badge {
    position: static;
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .location-card h4 {
    padding-right: 0;
  }

  /* Full-width CTA buttons on mobile */
  .btn-hero, .btn-primary, .btn-final, .btn-outline-primary {
    width: 100%;
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 1rem 1.5rem;
    min-height: 48px; /* Touch-friendly height */
  }
}

@media (max-width: 480px) {
  /* Extra small devices optimization */
  body {
    font-size: 14px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-eyebrow {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .btn-hero, .btn-primary, .btn-final {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .gallery-item {
    height: 250px;
  }

  /* Smaller overlay text for very small screens */
  .gallery-overlay span {
    font-size: 0.9rem;
  }

  section {
    padding: 2.5rem 0;
  }

  /* Tighter spacing for very small screens */
  .emotional-section,
  .features-section,
  .audience-section,
  .location-section,
  .reviews-section {
    padding: 2.5rem 0;
  }

  .feature-card,
  .audience-card,
  .location-card,
  .review-card {
    padding: 1.5rem 1.25rem;
  }

  .scroll-indicator span {
    font-size: 0.75rem;
  }

  /* Language switcher smaller on tiny screens */
  .lang-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
}

/* ===== LANDSCAPE MOBILE PHONES ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 400px;
    gap: 1rem;
  }

  .hero-content {
    padding: 0.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .hero-eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .scroll-indicator span {
    display: none;
  }
}

/* ===== TABLET OPTIMIZATION (768px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-section {
    height: 100vh;
    height: 100dvh;
    max-height: 900px;
  }

  .feature-card h4,
  .audience-card h4,
  .location-card h4 {
    font-size: 1.15rem;
  }

  .cta-title,
  .final-cta-title {
    font-size: 2rem;
  }

  /* Optimize gallery for tablet */
  .gallery-item {
    height: 40vh;
  }
}

/* ===== PERFORMANCE & ACCESSIBILITY ===== */
@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;
  }
}

/* Better tap highlighting */
* {
  -webkit-tap-highlight-color: rgba(86, 49, 63, 0.2);
}

a, button, .btn, .gallery-item, .feature-card, .audience-card, .location-card {
  -webkit-tap-highlight-color: rgba(86, 49, 63, 0.3);
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.lang-btn:focus-visible,
.lang-option:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove default focus outline on mouse click, keep for keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
  outline: none;
}

/* ===== MOBILE-SPECIFIC IMPROVEMENTS ===== */
@media (max-width: 768px) {
  /* Prevent text size adjustment on orientation change */
  html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Better button active states on mobile */
  .btn-hero:active,
  .btn-primary:active,
  .btn-final:active,
  .btn-outline-primary:active {
    transform: scale(0.98);
  }

}