/* Base resets and typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fefefe;
  overflow-x: hidden;
}

/* HERO SECTION */
/* 1. Make sure the video & poster fill the viewport */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  /* Video or image element inside .hero-video */
  .hero-video__media,
  .hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* mask/fade-out at bottom if desired */
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 70%,
      rgba(0, 0, 0, 0)
    );
  }
  
  /* Overlay layer with centered content */
  .hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  }
  
  .hero-logo {
    /* min 200px, ideal 20vw, max 400px */
    width: clamp(500px, 20vw, 400px);
    /* vertical spacing scales too */
    margin-bottom: clamp(2rem, 5vw, 6rem);
  }
  
  /* Responsive Hero Heading */
  .hero-overlay h1 {
  /* min 2rem, ideal 5vw, max 3.5rem */
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin: 0; 
  padding: 0 1rem; /* prevent overflow on narrow */
  text-align: center;
  }

  /* Optional: tighten padding on small viewports */
  @media (max-width: 480px) {
  .hero-logo {
    margin-bottom: 1.5rem;
  }
  .hero-overlay {
    padding: 0 1rem;
  }
}

  h1 {
    font-size: 3rem;
    margin: 0;
  }

  /* Booking Form */
  .booking-form {
    padding: 60px 20px;
    background: linear-gradient(to right, #fefefe, #e0f7fa);
    text-align: center;
  }
  
  .booking-form input,
  .booking-form select {
    padding: 10px;
    margin: 10px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  /* Beach Gallery */
  .beach-gallery {
    padding: 2rem;
    text-align: center;
  }
  
  .beach-gallery h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: #222;
    font-weight: 600;
  }
  
  .gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
  }
  
  /* Consistent aspect ratio for items */
  .beach-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }
  
  .beach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center;
  }

  /* Chat Bubble */
  .chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0077cc;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  /* Reasons to Book with Us */
  .reasons-section {
    background: #f0f8ff;
    padding: 4rem 0;
    text-align: center;
  }
  
  .reasons-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #0077cc;
    margin-bottom: 2rem;
  }
  
  /* Container for reason cards */
  .reasons-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
  }
  
  /* Individual reason card */
  .reason-item {
    opacity: 0;               /* for GSAP reveal */
    transform: translateY(30px);
    flex: 0 1 260px;
    max-width: 300px;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
  }
  
  .reason-icon {
    width: clamp(80px, 15vw, 120px);
    height: auto;
    margin-bottom: 1rem;
  }
  
  .reason-item h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #005b99;
  }
  
  .reason-item p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
  }

  /* Destination Cards */
  .destination-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .destination-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  }
  
  .destination-card .card-img-top {
    height: 180px;
    object-fit: cover;
  }
  
  .destination-card .card-body {
    background: linear-gradient(to right, #fefefe, #e0f7fa);
    padding: 20px;
    text-align: center;
  }
  
  .destination-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .destination-card .card-text {
    font-size: 0.95rem;
    color: #555;
  }

  /* Parrallax Shimmer Background */
  .shimmer-background {
    position: relative;
    background: linear-gradient(to bottom, #e0f7fa 0%, #ffffff 100%);
    overflow: hidden;
  }
  
  .shimmer-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.1) 75%
    );
    animation: shimmer-scroll 12s linear infinite;
    pointer-events: none;
  }
  
  @keyframes shimmer-scroll {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(100%);
    }
  }

  /* Video Overlay */
  .video-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
  }

  /* Legal */
  .legal-section {
    background-color: #f9f9f9;
    padding: 2rem;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .legal-wrapper {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
  }
  
  .abta-logo {
    width: 180px;
    margin-bottom: 1rem;
  }
  
  .legal-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .disclaimer {
    margin-bottom: 1rem;
  }
  
  .legal-links {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
  }
  
  .legal-links li {
    margin: 0.3rem 0;
  }
  
  .legal-links a {
    color: #0066cc;
    text-decoration: underline;
  }

  /* Menu Bar & Mobile Menu */
  :root {
    --menu-width: 300px;
    --menu-bg-gradient: linear-gradient(
      -45deg,
      #1a2a6c,
      #b21f1f,
      #fdbb2d,
      #56ab2f
    );
    --overlay-color: rgba(0, 0, 0, 0.8);
    --accent-color: #ffeb3b;
    --text-color: #ffffff;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease-in-out;
  }
  
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-color);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
    z-index: 900;
  }
  
  .hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .hamburger .bar {
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    transform-origin: center;
    transition: transform var(--transition-fast),
                background var(--transition-fast);
  }
  
  .hamburger:hover .bar {
    animation: bar-glow 1s infinite alternate;
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--menu-width);
    height: 100%;
    background: var(--menu-bg-gradient);
    background-size: 400% 400%;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    z-index: 950;
    animation: gradient-shift 15s ease infinite;
    box-shadow: -8px 0 20px rgba(0, 0, 0, 0.4);
  }
  
  .menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color var(--transition-fast);
  }
  
  .menu-close:hover {
    color: var(--accent-color);
  }
  
  .mobile-menu ul {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    transition: color var(--transition-fast),
                letter-spacing var(--transition-fast);
  }
  
  .mobile-menu a:hover,
  .mobile-menu a:focus {
    color: var(--accent-color);
    letter-spacing: 1px;
  }
  
  /* Open state */
  body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: all;
  }
  
  body.menu-open .mobile-menu {
    transform: translateX(0);
  }
  
  body.menu-open .hamburger .bar:nth-child(1) {
    transform: translateY(14px) rotate(45deg);
  }
  
  body.menu-open .hamburger .bar:nth-child(2) {
    opacity: 0;
  }
  
  body.menu-open .hamburger .bar:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
  }
  
  /* Keyframe animations */
  @keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  @keyframes bar-glow {
    0%   { box-shadow: 0 0 4px var(--accent-color); }
    100% { box-shadow: 0 0 12px var(--accent-color); }
  }
  