/* ==========================================================================
   NAHOMY ROATÁN TOURS - STYLESHEET (Logo-Inspired Color Theme)
   Aesthetic: Minimalist, Premium, Tropical-inspired (Kudanil Explorer style)
   ========================================================================== */

/* 1. DESIGN SYSTEM & TOKENS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette - Sampled directly from Logo */
  --primary-color: #111111;       /* Matte black silhouette from logo */
  --primary-dark: #0a0a0a;        /* Solid dark backgrounds */
  --accent-color: #f59e0b;        /* Sunset Orange */
  --accent-light: #fbbf24;        /* Light Sunset Orange/Yellow */
  --accent-hover: #d97706;        /* Darker orange/yellow */
  --wave-blue: #3a86c8;           /* Caribbean Wave Blue */
  --coral-red: #e05a2b;           /* Pin/Hill Coral Red */
  --bg-white: #ffffff;
  --bg-light: #f9fafb;            /* Secondary section background */
  --bg-card: #ffffff;
  --text-dark: #111111;           /* Dark text for contrast */
  --text-body: #374151;           /* Readable gray for body text */
  --text-muted: #6b7280;          /* Gray for small metadata */
  --border-color: #e5e7eb;        /* Light gray divider borders */

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout Variables */
  --header-height: 95px;
  --header-height-scrolled: 80px;
  --container-max-width: 1200px;
  --border-radius: 12px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 12px 24px;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--primary-color);
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. TYPOGRAPHY & BUTTONS
   ========================================================================== */
.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* 4. NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header scrolled state */
.site-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

/* Header active mobile menu state (hides white background block and disables filter blurs) */
.site-header.menu-active {
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

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

/* Logo Image & Text Styling */
.header-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.header-logo-img {
  height: 70px; /* Standard elegant height to prevent overflow and black box clutter */
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
  margin: 0; /* Reset margins for clean alignment */
  transform: translateZ(0); /* Force GPU high-quality filtering and prevent mobile pixelation */
  will-change: transform;
  image-rendering: -webkit-optimize-contrast; /* Webkit sharp rendering for mobile/desktop */
  image-rendering: auto;
}

.site-header.scrolled .header-logo-img {
  height: 52px; /* Standard compact scrolled height */
  margin: 0;
}

.header-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg-white);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.header-logo-text span {
  font-size: 0.65rem;
  font-family: var(--font-sans);
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--accent-color);
  margin-top: 2px;
}

.site-header.scrolled .header-logo-text {
  color: var(--primary-color);
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 1000;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-color);
}

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

.site-header.scrolled .nav-link {
  color: var(--primary-color);
}

.site-header.scrolled .nav-link:hover {
  color: var(--accent-color);
}

.nav-link.active-page {
  color: var(--accent-color) !important;
}

.nav-link.active-page::after {
  width: 100% !important;
}

.mobile-nav-book-btn {
  display: none;
}

/* Language Selector styling */
.lang-selector-wrapper {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  z-index: 1002;
}

.lang-select {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 30px 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition-smooth);
}

.site-header.scrolled .lang-select {
  color: var(--primary-color);
  border-color: rgba(17, 17, 17, 0.2);
}

.lang-selector-wrapper::after {
  content: '▼';
  font-size: 0.55rem;
  position: absolute;
  right: 12px;
  top: 55%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.site-header.scrolled .lang-selector-wrapper::after {
  color: var(--primary-color);
}

.lang-select:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.lang-select option {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 8px;
}

/* Header Contact Button */
.header-cta {
  display: inline-block;
}

.header-cta .btn {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* Mobile Menu Toggle (Z-INDEX FIXED) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  position: relative;
  z-index: 1010; /* Fixed: stay above main-nav panel on mobile */
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--bg-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .menu-toggle span {
  background-color: var(--primary-color);
}

/* Hamburger active transformations */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--bg-white) !important;
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--bg-white) !important;
}

/* Mobile Dark Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999; /* Moved behind header (1000) so menu drawer and close button remain sharp, unblurred, and readable */
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .menu-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(0, 0, 0, 0.7); /* Darker solid color for better contrast on mobile without blur bugs */
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 120px 40px 40px;
    gap: 28px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    z-index: 1006; /* Increased to stay above menu overlay */
    transform: translate3d(0, 0, 0); /* Force GPU acceleration for sharp rendering */
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-link {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Add subtle shadow to increase text sharpness */
  }

  /* Prevent scrolled header from turning mobile link text dark blue/invisible */
  .site-header.scrolled .main-nav .nav-link {
    color: #ffffff !important;
  }

  .main-nav .nav-link.active-page {
    color: var(--accent-color) !important;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
  }

  .mobile-nav-book-btn::after {
    display: none !important;
  }

  .mobile-nav-book-btn {
    display: block !important;
    width: 100%;
    margin-top: 15px;
    padding: 12px 24px !important;
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    border-radius: 50px !important;
    text-align: center;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
    border: none !important;
    transition: var(--transition-smooth);
  }

  .mobile-nav-book-btn:hover {
    background-color: var(--accent-light) !important;
    transform: translateY(-2px) !important;
  }

  .mobile-nav-book-btn.active-page {
    border-left: none !important;
    padding-left: 24px !important;
    background-color: var(--bg-white) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .header-cta {
    display: none;
  }

  .lang-selector-wrapper {
    margin-right: 0;
    margin-top: 10px;
    width: 100%;
  }

  .lang-select {
    width: 100%;
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.3);
    padding: 10px 30px 10px 15px;
    font-size: 0.9rem;
  }

  /* Prevent scrolled header from making mobile selector text dark blue */
  .site-header.scrolled .main-nav .lang-select {
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .lang-selector-wrapper::after {
    color: var(--bg-white);
    right: 15px;
  }

  .site-header.scrolled .main-nav .lang-selector-wrapper::after {
    color: var(--bg-white);
  }

  /* Restrain brand logo dimensions specifically on mobile to prevent overflow and ensure text sharpness */
  .header-logo-img {
    height: 60px !important;
    width: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .site-header.scrolled .header-logo-img {
    height: 48px !important;
    width: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* 5. HERO SECTION (VIDEO BANNER INTEGRATION)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Loop Video Styles */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(0.4) contrast(1.05); /* Darkened for accessibility / contrast */
}

/* Hero Overlay Gradient */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.4) 0%,
    rgba(17, 17, 17, 0.1) 60%,
    rgba(17, 17, 17, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: var(--header-height);
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-desc {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  line-height: 1.7;
  animation: fadeInUp 1.4s ease forwards;
  text-align: justify;
  text-justify: inter-word;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 1.6s ease forwards;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

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

/* 6. TOUR CATALOG
   ========================================================================== */
.tours-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.tours-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 55px;
}

.tours-header .section-desc {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .tours-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Catalog Grid */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

@media (max-width: 768px) {
  .tours-grid {
    grid-template-columns: 1fr;
  }
}

/* Tour Card */
.tour-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
}

/* Golden expanding bottom line */
.tour-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, 0.2);
}

.tour-card:hover::after {
  width: 100%;
}

/* Tour Image Container */
.tour-img-container {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.tour-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Card badges (Ocean Wave Blue color from logo) */
.tour-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(58, 134, 200, 0.9); /* Wave Blue */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--bg-white);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 5;
}

/* Tour Price Tag (Sunset Orange background) */
.tour-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

/* Tour Card Info */
.tour-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.tour-meta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.tour-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.tour-card-title a:hover {
  color: var(--accent-color);
}

.tour-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
}

.tour-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tour-btn-more {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tour-btn-more svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-btn-more {
  color: var(--accent-color);
}

.tour-card:hover .tour-btn-more svg {
  transform: translateX(4px);
  stroke: var(--accent-color);
}

/* 7. FEATURES / VALUE PROPOSITION (PREMIUM DARK)
   ========================================================================== */
.features-section {
  background-color: var(--primary-color); /* Matte Black theme */
  color: var(--bg-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.features-section .section-title {
  color: var(--bg-white);
}

.features-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-card {
    padding: 24px 20px;
  }
}

.feature-card {
  padding: 40px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 158, 11, 0.25);
  transform: translateY(-4px);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--bg-white);
  font-weight: 600;
}

.feature-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

/* 8. GALLERY SECTION
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-caption {
  color: var(--bg-white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

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

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

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* 9. CTA FINAL BANNER
   ========================================================================== */
.cta-banner {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 120px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.2);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner .section-subtitle {
  color: var(--accent-light);
  margin-bottom: 16px;
}

.cta-banner .section-title {
  color: var(--bg-white);
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.cta-banner .section-desc {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 36px;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 80px 0;
  }
  .cta-banner .section-title {
    font-size: 2.25rem;
  }
}

/* 10. FOOTER COMPLETO
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

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

/* Footer columns */
.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bg-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-desc {
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-title {
  font-family: var(--font-sans);
  color: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

/* Footer list links */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

/* Footer Contact Info */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 1.5;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item p {
  line-height: 1.5;
}

.footer-contact-item a {
  display: block;
}

.footer-contact-item a:hover {
  color: var(--accent-color);
}

/* Social links icons */
.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition-smooth);
}

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

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

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

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

/* 11. REDESIGNED AUTHENTIC WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  z-index: 999;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  animation: palpable-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.whatsapp-floating svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  animation-play-state: paused;
}

@keyframes palpable-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* 12. FLOATING SOCIALS RADIAL SELECTOR (FAB)
   ========================================================================== */
.socials-floating {
  position: fixed;
  bottom: 100px; /* Positioned directly above the 56px WhatsApp button (30px + 56px + 14px gap) */
  right: 30px; /* Moved from left to right side */
  z-index: 999;
}

.socials-toggle {
  width: 56px; /* Set to 56px to match WhatsApp button size */
  height: 56px; /* Set to 56px to match WhatsApp button size */
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
  outline: none;
}

.socials-toggle:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
}

.socials-floating.active .socials-toggle:hover {
  transform: scale(0.95);
}

.socials-toggle .toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.socials-toggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.socials-menu {
  position: absolute;
  bottom: 70px; /* Adjusted offset for 56px toggle */
  left: 4px; /* Centering offset for 48px items inside 56px toggle: (56-48)/2 = 4px */
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  pointer-events: none;
  z-index: 1;
}

.socials-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px) scale(0.6);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.socials-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Tooltip styles (display to the left of each button since menu is on the right) */
.socials-tooltip {
  position: absolute;
  right: 60px; /* Positioned to the left of the button */
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.socials-tooltip::before {
  content: '';
  position: absolute;
  left: 100%; /* Arrow on the right of the tooltip pointing right */
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--primary-color);
}

.socials-item:hover .socials-tooltip {
  opacity: 1;
}

/* Specific social colors */
.socials-item.facebook {
  background-color: #1877F2;
}

.socials-item.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.socials-item.tripadvisor {
  background-color: #34e0a1; /* TripAdvisor vibrant green */
}

.socials-item.viator {
  background-color: #ff8c00; /* Viator orange */
}

/* Hover scales */
.socials-item:hover {
  transform: scale(1.15) !important;
}

/* Active State Styles */
.socials-floating.active .socials-toggle {
  transform: scale(0.95);
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.socials-floating.active .socials-toggle .toggle-icon {
  transform: rotate(135deg); /* Rotates plus icon to form a close 'x' icon */
}

.socials-floating.active .socials-menu {
  pointer-events: auto;
}

.socials-floating.active .socials-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Sequential delays for cascading entry animation */
.socials-floating.active .socials-item:nth-child(1) {
  transition-delay: 0.05s;
}

.socials-floating.active .socials-item:nth-child(2) {
  transition-delay: 0.1s;
}

.socials-floating.active .socials-item:nth-child(3) {
  transition-delay: 0.15s;
}

.socials-floating.active .socials-item:nth-child(4) {
  transition-delay: 0.2s;
}

/* ==========================================================================
   13. BOOKING PAGE (RESERVA.PHP) STYLES
   ========================================================================== */
.booking-hero {
  position: relative;
  padding: 160px 0 80px;
  background-color: var(--primary-dark);
  text-align: center;
  color: var(--bg-white);
  overflow: hidden;
}

.booking-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.95)), url('assets/hero-bg.png') center/cover no-repeat;
  z-index: 1;
}

.booking-hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.booking-hero .section-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Layout Grid */
.booking-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* Glassmorphism Card style */
.booking-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
}

@media (max-width: 576px) {
  .booking-card {
    padding: 24px;
  }
}

/* Form Styles */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group.no-margin {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -4px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

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

/* Tour Select Card Styles */
.tour-select-title-wrapper {
  margin: 32px 0 16px;
}

.tours-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .tours-select-grid {
    grid-template-columns: 1fr;
  }
}

.tour-select-card {
  position: relative;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-white);
  transition: var(--transition-smooth);
  user-select: none;
}

.tour-select-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px);
}

.tour-select-card.selected {
  border-color: var(--accent-color);
  background-color: rgba(245, 158, 11, 0.04);
}

.tour-select-card .tour-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.tour-select-emoji {
  font-size: 2.2rem;
}

.tour-select-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.tour-select-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.tour-select-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
}

/* Custom Checkbox visual indicator on card */
.tour-select-card::after {
  content: '';
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.tour-select-card.selected::after {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Consent check styling */
.consent-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-body);
  user-select: none;
  margin-bottom: 32px;
}

.consent-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.consent-checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  position: relative;
}

.consent-container:hover input ~ .consent-checkmark {
  border-color: var(--accent-light);
}

.consent-container input:checked ~ .consent-checkmark {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
}

.consent-checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-container input:checked ~ .consent-checkmark::after {
  display: block;
}

/* Sidebar Styles */
.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 10px;
}

.sidebar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.sidebar-features-icon {
  color: var(--accent-color);
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-testimonial {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent-color);
  margin-bottom: 15px;
}

.sidebar-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

/* Success Modal Styles */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.success-modal-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-modal.active .success-modal-card {
  transform: scale(1);
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon-wrapper svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Spinner */
.success-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(37, 211, 102, 0.2);
  border-top-color: #25d366;
  border-radius: 50%;
  animation: spinner 0.8s infinite linear;
  margin: 0 auto;
}

@keyframes spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Overrides for Booking Page Form & Layout */
.booking-hero .section-title {
  color: var(--wave-blue);
}

.fullname-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 576px) {
  .fullname-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   TOUR DETAILS PAGE STYLES (TOUR.PHP)
   ========================================================================== */
.tour-detail-hero {
  position: relative;
  min-height: 250px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 40px;
  overflow: hidden;
  text-align: center;
}

.tour-detail-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: blur(4px);
  z-index: 1;
}

.tour-detail-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tour-detail-hero .tour-badge {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: inline-flex !important;
  margin: 0 auto 16px !important;
  background-color: var(--wave-blue) !important;
  color: var(--bg-white) !important;
  padding: 8px 18px !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
}

.tour-detail-hero .section-title {
  color: var(--bg-white);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2.6rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tour-detail-hero-meta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Mobile responsive styles for Tour Details Hero */
@media (max-width: 768px) {
  .tour-detail-hero {
    padding-top: 110px;
    padding-bottom: 30px;
    min-height: auto;
  }
  .tour-detail-hero .tour-badge {
    padding: 6px 14px !important;
    font-size: 0.75rem !important;
    margin-bottom: 12px !important;
  }
  .tour-detail-hero .section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }
  .tour-detail-hero-meta {
    gap: 10px;
    margin-top: 5px;
  }
  .tour-detail-hero-meta-item {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

.tour-detail-hero-meta-item {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tour-detail-section {
  padding: 60px 0;
  background-color: var(--bg-cream);
}

.tour-detail-layout {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .tour-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.tour-detail-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

@media (max-width: 576px) {
  .tour-detail-card {
    padding: 24px;
  }
}

.tour-detail-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-detail-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 30px;
  text-align: justify;
}

.tour-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tour-detail-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.6;
}

.includes-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 1px;
  color: #10B981;
  font-weight: 900;
  font-size: 1.2rem;
}

.options-list li::before {
  content: "+";
  position: absolute;
  left: 4px;
  top: 1px;
  color: var(--accent-orange);
  font-weight: 900;
  font-size: 1.2rem;
}

.best-for-box {
  background: rgba(14, 116, 144, 0.04) !important;
  border-left: 4px solid var(--wave-blue);
  padding: 24px;
  border-radius: 0 16px 16px 0;
  margin-top: 35px;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.best-for-text {
  font-size: 0.98rem;
  color: var(--primary-dark);
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

/* Sidebar Card Styling */
.tour-sidebar-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 110px;
}

@media (max-width: 992px) {
  .tour-sidebar-card {
    position: relative;
    top: 0;
  }
}

.tour-sidebar-img {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.tour-sidebar-price-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.tour-sidebar-price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--accent-orange);
  font-weight: 800;
  margin-bottom: 24px;
}

.tour-sidebar-btn {
  display: block;
  text-align: center;
  background: var(--wave-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  animation: pulse-button-detail 2.5s infinite;
}

.tour-sidebar-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 116, 144, 0.4);
}

@keyframes pulse-button-detail {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 116, 144, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(14, 116, 144, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 116, 144, 0);
  }
}

.tour-sidebar-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.tour-sidebar-back:hover {
  color: var(--accent-orange);
}

.tour-sidebar-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}

.tour-sidebar-back:hover svg {
  transform: translateX(-4px);
}

/* Gallery Styling */
.tour-gallery-section {
  padding: 40px 0 80px;
  background: var(--bg-cream);
  border-top: 1px solid var(--border-color);
}

.tour-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tour-gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

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

.tour-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 48, 86, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.tour-gallery-overlay svg {
  width: 36px;
  height: 36px;
  color: #fff;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-gallery-item:hover .tour-gallery-overlay svg {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 48, 86, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2010;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  color: var(--accent-orange);
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2005;
  user-select: none;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
  .lightbox-prev, .lightbox-next {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
  .lightbox-content-wrapper {
    max-width: 95%;
  }
}

