:root {
  /* Colors */
  --color-primary: #003366;
  --color-primary-dark: #00254d;
  --color-accent: #ff6600;
  --color-accent-dark: #e65c00;
  --color-text: #333;
  --color-background: #f0f8ff;
  --color-white: #ffffff;
  --color-light-blue: #e7f5ff;
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-info: #007bff;
  --color-info-dark: #0056b3;
  --color-secondary: #6c757d;
  --color-light-gray: #f8f9fa;
  --color-border: #cccccc;

  /* Fonts */
  --font-heading: 'Merriweather', serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
}

/* BEGINNING OF REVIEW SECTION */
.reviews-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: var(--color-light-blue);
    border-radius: var(--border-radius-lg);
}

.ratings {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease forwards;
}

.ratings h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.ratings p {
    font-family: var(--font-body);
    color: var(--color-primary);
    font-size: 1.2em;
    line-height: 1.6;
    margin: 10px 0;
}

.rating {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.rating:hover {
    color: var(--color-accent-dark);
}

.trip-count {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.3em;
}

.see-reviews {
    display: inline-block;
    font-family: var(--font-body);
    color: var(--color-accent);
    font-size: 1em;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.see-reviews:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

.logos-container {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.logos-wrapper {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    animation: slide 30s linear infinite; /* Increased to 30s for slower speed */
    width: 200%; /* Duplicated logos */
}

.logo {
    flex: 0 0 auto;
    margin: 0 25px;
    width: 60px;
    height: 60px;
    opacity: 0.85;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Animations */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move left by half the width for infinite loop */
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-section {
        margin: 30px 15px;
        padding: 20px;
    }

    .ratings h2 {
        font-size: 1.5em;
    }

    .ratings p {
        font-size: 1em;
    }

    .rating, .trip-count {
        font-size: 1.1em;
    }

    .logo {
        width: 50px;
        height: 50px;
        margin: 0 15px;
    }
}
/* END OF REVIEW SECTION */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

h1, h2 {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

h3 {
    font-family: var(--font-body);
    font-weight: 700;
}


/* MODIFICATION: Added flex properties to create a "sticky footer" */
body {
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.navbar {
    background: var(--color-primary);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.book-now-btn a {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-white);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.book-now-btn a:hover {
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Ensure hamburger is on top */
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background: var(--color-white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
}

/* Hero */
.hero {
    padding: 0 !important;
    min-height: 300px;
    max-height: 600px;
    height: auto;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 600px;
    touch-action: pan-y;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    transition: opacity 0.5s ease;
    opacity: 0;
    position: relative;
}

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

.carousel-image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 600px;
    aspect-ratio: 4 / 5;
}

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

.carousel-item figcaption {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    font-size: 14px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: var(--space-lg);
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-dots {
    display: none; /* dont want the dots visbile */
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.carousel-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dots .dot.active {
    background: var(--color-accent);
}

.carousel-cta {
    display: block;
    margin: 15px auto;
}

/* Sections */
section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Testimonials */
.testimonials a {
    display: inline-block;
    margin: 0 10px;
}

.small-image {
    width: 100px;
    height: auto;
}

/* Map Images */
.responsive-map, .map {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* MODIFICATION: Use margin-top: auto to push footer to the bottom */
footer {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    text-align: center;
    padding: 15px;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo img {
    height: 30px;
}

.footer-links a {
    color: var(--color-white);
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Adjustments */
@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 50%;
        min-width: 50%;
    }
    .carousel-image-wrapper {
        max-height: 500px;
    }
}

@media (min-width: 1200px) {
    .carousel-item {
        flex: 0 0 33.333%;
        min-width: 33.333%;
    }
    .carousel-image-wrapper {
        max-height: 600px;
    }
}

@media (max-width: 767px) {
    .carousel-image-wrapper {
        max-height: 300px;
        aspect-ratio: 4 / 5;
    }
    .carousel-arrow {
        padding: 10px 14px;
        font-size: 20px;
    }
    .carousel-item figcaption {
        font-size: 12px;
    }
    .carousel-prev {
        left: 10px;
    }
    .carousel-next {
        right: 10px;
    }
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
}

/* START: MOBILE NAVIGATION CORRECTION */
@media (max-width: 768px) {
    .navbar {
        padding: 2px 15px;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile Menu Overlay Styling */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 100%;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center; /* Center items vertically */
        align-items: center; /* Center items horizontally */
        transition: left 0.3s ease-in-out;
        padding: 20px;
    }

    .nav-menu.active {
        left: 0; /* Slide in when active */
    }
    
    .nav-links {
        flex-direction: column; /* Stack nav items vertically */
        text-align: center;
        width: 100%;
    }

    .nav-links li {
        margin: 20px 0; /* Add vertical spacing between links */
    }
    
    .nav-links a {
        font-size: 1.8em; /* Make text larger for easier tapping */
    }

    /* Mobile Dropdowns */
    .dropdown-content {
        position: static;
        display: none; /* Hidden by default, shown via JS */
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        padding-left: 0;
        margin-top: 10px;
    }

    .dropdown.active .dropdown-content {
        display: block; /* Show on click */
    }

    .dropdown-content a {
        font-size: 0.7em; /* Sub-items are smaller */
        padding: 10px 15px;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-menu .book-now-btn {
        margin-top: 30px;
    }

    /* Hamburger animation to 'X' */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* General responsive adjustments from original file */
    .coupon-group {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    .coupon-group input {
        width: 100px;
        max-width: none;
        margin-bottom: 0;
    }

    .coupon-group .apply-btn {
        width: auto;
        max-width: none;
    }

    .action-group {
        flex-direction: column;
        align-items: center;
    }

    .price-group {
        margin-bottom: 2px;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        margin-bottom: 10px;
    }

    .bottom-tabs {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 16px;
        background: var(--color-primary);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }
    .bottom-tab {
        flex: 1;
        text-align: center;
        padding: 12px 8px;
        min-height: 56px;
        color: rgba(255,255,255,0.7);
        transition: color 0.2s, border-bottom 0.2s;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .bottom-tab.active {
        color: var(--color-accent);
        border-bottom: 3px solid var(--color-accent);
    }
    .bottom-tab i {
        font-size: 1.2em;
    }
    .bottom-tab span { font-size: 0.85em; font-weight: 500; }
}
/* END: MOBILE NAVIGATION CORRECTION */

/* Overlay for Outside Close */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998; /* Below menu, above page content */
}

.menu-overlay.active {
    display: block;
}

/* Enhanced Tiles Grid Section */
.tiles-grid {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-background);
}

.tiles-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tile-container {
    display: block;
}

.tile {
    background: linear-gradient(135deg, var(--color-white), var(--color-background));
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    overflow: hidden;
}

.tile:hover {
    transform: scale(1.03);
    background: linear-gradient(135deg, var(--color-background), #e6f0fa);
}

.tile img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
}

.tile h3 {
    font-family: var(--font-heading);
    font-size: 1.2em;
    color: var(--color-primary);
    margin-bottom: 10px;
    padding: 0 5px;
}

.tile p {
    font-size: 0.9em;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 5px;
}

.expand-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5em;
    color: var(--color-accent);
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.expand-icon:hover {
    transform: scale(1.3);
    color: var(--color-accent-dark);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background-color: var(--color-white);
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: var(--space-lg);
    color: var(--color-text);
    cursor: pointer;
}

.modal-body {
    padding-top: 30px;
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.modal-body p {
    font-size: 1.1em;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-body img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .tiles-grid {
        padding: 15px;
    }

    .tile img {
        height: 120px;
    }

    .tile h3 {
        font-size: 1.1em;
    }

    .tile p {
        font-size: 0.85em;
    }

    .expand-icon {
        font-size: 1.3em;
        bottom: var(--space-sm);
        right: var(--space-sm);
    }

    .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    .modal-body h3 {
        font-size: 1.3em;
    }

    .modal-body p {
        font-size: 1em;
    }

    .modal-body img {
        max-width: 300px;
    }
}

/* START FOR COMPLETED.HTML FILE */
/* Specific styles for the confirmation page */
.confirmation-hero {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-white), var(--color-background));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.confirmation-hero .carousel {
    max-height: 400px;
    margin-bottom: 20px;
}

.confirmation-hero .carousel-image-wrapper {
    max-height: 400px;
    aspect-ratio: 4 / 3;
}

.confirmation-hero .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.confirmation-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.confirmation-hero h1 {
    font-size: 2em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.confirmation-hero p {
    font-size: 1.1em;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.confirmation-hero a {
    color: var(--color-accent);
    text-decoration: none;
}

.confirmation-hero a:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

/* Adjust tiles grid for better spacing on confirmation page */
.tiles-grid h2 {
    text-align: center;
    font-size: 1.8em;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.tiles-wrapper {
    justify-content: center;
    gap: 15px;
}

.tile {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tile img {
    height: 150px;
    object-fit: cover;
}

.tile h3 {
    font-size: 1.2em;
    margin: 10px 0;
}

.tile p {
    flex-grow: 1;
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* Responsive adjustments for confirmation page */
@media (max-width: 768px) {
    .confirmation-hero .carousel {
        max-height: 550px;
    }

    .confirmation-hero .carousel-image-wrapper {
        max-height: 550px;
    }

    .confirmation-hero h1 {
        font-size: 1.5em;
    }

    .confirmation-hero p {
        font-size: 1em;
    }

    .tiles-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .tile {
        min-height: 250px;
    }

    .tile img {
        height: 120px;
    }
}
/* END FOR COMPLETED.HTML FILE */

/* STYLES FROM EXP5.HTML - CONSOLIDATED */
body.sticky-button {
    padding-bottom: 60px;
}

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

/* Booking Section */
.booking-section {
    background: var(--color-white);
    padding: var(--space-sm);
    margin: 10px auto;
    max-width: 1000px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.booking-form h2 {
    font-size: 1.1em;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
    font-weight: 700;
    text-align: center;
}

.progress-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 6px;
    font-size: 0.8em;
    color: #666666;
    font-weight: 600;
}

.progress-bar span.active {
    font-weight: 700;
    border-bottom: 2px solid var(--color-info);
}

.form-row {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Use stretch to make all form-groups the same height */
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    align-items: center; /* Vertically center content inside */
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: var(--space-xs);
    flex: 1;
    min-width: 140px;
    position: relative;
}

.form-group i {
    color: var(--color-info);
    margin-right: var(--space-xs);
    font-size: 1em;
}

.form-group input, .form-group select {
    border: none;
    outline: none;
    font-size: 0.8em;
    width: 100%;
    background: transparent;
}

.form-group label {
    display: none;
}

.form-group:focus-within {
    border-color: var(--color-info);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.form-group.invalid .error-message {
    display: block;
}

.coupon-group {
    gap: var(--space-xs);
    position: relative;
}

.coupon-info {
    font-size: 0.7em;
    color: var(--color-info);
    cursor: help;
    margin-left: var(--space-xs);
}

/* MODIFICATION: Improved button alignment and spacing */
.apply-btn {
    background: var(--color-info);
    color: var(--color-white);
    border: none;
    padding: 6px 10px; /* Adjusted padding */
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8em;
    flex-shrink: 0; /* Prevent shrinking */
    margin-left: auto; /* Push to the right */
}

.apply-btn:hover {
    background: var(--color-info-dark);
}

.price-group #price-display {
    font-size: 1em;
    color: var(--color-text);
    background: #e9ecef;
    padding: var(--space-xs);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    font-weight: bold;
    flex-wrap: wrap;
}

.savings {
    background: var(--color-success);
    color: var(--color-white);
    padding: 2px 4px;
    border-radius: 3px;
    margin-left: var(--space-sm);
    font-size: 0.7em;
}

#show-availability-btn {
    background: var(--color-info);
    color: var(--color-white);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 1em;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
    font-weight: bold;
}

#show-availability-btn:hover {
    background: var(--color-info-dark);
}

#show-availability-btn.sticky {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Availability Results */
#availability-results {
    margin-top: 6px;
    background: var(--color-white);
    padding: var(--space-sm);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

#availability-results h3 {
    font-size: 1em;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    display: inline-block;
    font-weight: 600;
}

#toggle-results-btn {
    background: transparent;
    border: none;
    color: var(--color-info);
    cursor: pointer;
    font-size: 1em;
    margin-left: var(--space-sm);
    display: none;
}

#toggle-results-btn:hover {
    color: var(--color-info-dark);
}

#availability-results .slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md); /* Increased gap for better spacing */
    justify-content: flex-start;
}

#availability-results .slot-card {
    background: var(--color-white); /* White background for cards */
    padding: 12px; /* More padding for better look */
    border-radius: var(--border-radius-md); /* Slightly more rounded corners */
    width: 180px; /* Fixed width for consistency */
    text-align: center; /* Center text for better alignment */
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#availability-results .slot-card.unavailable {
    background: #f0f0f0;
    opacity: 0.7; /* Slightly more opaque for readability */
    cursor: not-allowed;
    box-shadow: none; /* Remove shadow for unavailable */
}

#availability-results .slot-card:hover:not(.unavailable) {
    background: var(--color-light-gray);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Hover effect for interactivity */
}

#availability-results .slot-time {
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 6px; /* Increased margin for spacing */
    color: var(--color-text); /* Darker color for better contrast */
}

#availability-results .slot-price {
    font-size: 0.8em; /* Slightly larger for readability */
    color: var(--color-success); /* Green for prices to make them stand out */
    margin-bottom: var(--space-sm); /* More spacing before button */
    font-weight: bold;
}

#availability-results .slot-price del {
    color: var(--color-danger); /* Red for strikethrough prices */
    font-weight: normal;
}

#availability-results .slot-price.cheapest {
    color: #198754; /* Darker green for cheapest if implemented */
}

#availability-results .slot-time.popular::after {
    content: " ⚓ Popular";
    font-size: 0.8em; /* Slightly larger for visibility */
    color: var(--color-info);
}

#availability-results .slot-button {
    background: #f0f0f0; /* Softer grey background */
    color: var(--color-text); /* Darker text for readability */
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--color-border); /* Subtle border */
    cursor: pointer;
    width: 100%;
    font-weight: 600; /* Slightly bolder */
    font-size: 0.8em;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

#availability-results .slot-button:hover:not(:disabled) {
    background: var(--color-info); /* Primary blue on hover */
    color: var(--color-white);
    border-color: var(--color-info);
}

#availability-results .slot-button:disabled {
    background: #e9ecef;
    color: var(--color-secondary);
    cursor: not-allowed;
    border-color: #ced4da;
}

/* Toast Notification */
#toast {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: var(--color-info);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Error messages */
.error-message {
    color: var(--color-danger);
    font-size: 0.7em;
    margin-top: 3px;
    display: none;
}

.form-group.invalid .error-message {
    display: block;
}

/* Success/Error highlights for coupon */
.coupon-success {
    border-color: var(--color-success);
}

.coupon-error {
    border-color: var(--color-danger);
}

/* Checkmark for coupon */
.checkmark {
    color: var(--color-success);
    margin-left: var(--space-xs);
}

/* Trust Signals */
.trust-signals {
    text-align: center;
    margin-top: 6px;
    font-size: 0.8em;
    color: #666666;
}

.trust-signals a {
    color: var(--color-info);
    text-decoration: none;
}

.trust-signals a:hover {
    text-decoration: underline;
}

/* Loading Spinner */
.loading::after {
    content: '';
    border: 2px solid var(--color-info);
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: var(--space-md);
    height: var(--space-md);
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: var(--space-sm);
}

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

/* Media Queries - Mobile-first */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-group {
        margin-bottom: var(--space-sm);
    }

    #show-availability-btn {
        width: 100%;
        padding: var(--space-sm);
        font-size: 1em;
    }

    #availability-results .slot-card {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        flex-direction: row; /* Ensure horizontal stacking */
        padding: var(--space-sm); /* Reduce padding for mobile */
        gap: var(--space-sm); /* Space between elements */
    }

    #availability-results .slot-time {
        flex: 1 1 40%; /* Take 40% width */
        margin-right: 0;
        font-size: 0.85em;
    }

    #availability-results .slot-price {
        flex: 1 1 30%; /* Take 30% width */
        margin-right: 0;
        font-size: 0.85em;
        color: var(--color-success); /* Keep green */
    }

    #availability-results .slot-button {
        flex: 1 1 30%; /* Take 30% width */
        padding: 6px; /* Smaller padding */
        font-size: 0.8em;
        border-radius: 9999px; /* Pill shape */
    }

    #availability-results .slot-card.unavailable {
        justify-content: space-between; /* Time left, Unavailable right */
    }

    #availability-results .slot-card.unavailable p {
        flex: 1;
        text-align: right;
        color: #666666;
        font-size: 0.85em;
    }

    #availability-results .slots-grid {
        flex-direction: column;
    }

    #boat-info {
        display: block;
    }
}

.separator {
    border-bottom: 1px solid #eeeeee;
    margin: 6px 0;
}

#availability-results.collapsed {
    display: none;
}

#boat-info {
    padding: 15px;
    text-align: center;
    background: var(--color-light-gray);
    display: none; /* Hidden by default, shown on mobile */
}

@media (max-width: 768px) {
    #boat-info {
        display: block;
    }
}

#boat-info h2 {
    color: var(--color-text);
    font-size: 1.2em;
}

#boat-info img {
    max-width: 100%;
    height: auto;
    margin: var(--space-sm) 0;
    border: 1px solid #dddddd;
    border-radius: var(--border-radius-sm);
}

/* Confirm Details Section Specific Styles */
.confirm-form {
    margin-top: 20px;
    background: var(--color-white);
    padding: var(--space-sm);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.confirm-form h3 {
    font-size: 1em;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.confirm-form #booking-summary {
    margin-bottom: 15px;
}

.confirm-form div {
    margin-bottom: 10px;
}

.confirm-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.confirm-form input, .confirm-form textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
}

.confirm-form input[type="text"]:invalid,
.confirm-form input[type="email"]:invalid,
.confirm-form input[type="tel"]:invalid {
    border-color: var(--color-danger);
}

.confirm-form button[type="submit"] {
    background: var(--color-info);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 1em;
    border: none;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    max-width: 300px;
}

.confirm-form button[type="submit"]:hover {
    background: var(--color-info-dark);
}

.confirm-form #back-btn {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 1em;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
    width: 100%;
    max-width: 100px;
}

.confirm-form #back-btn:hover {
    background: #5a6268;
}

.confirm-form .checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    gap: 5px;
    flex-wrap: nowrap;
}

.confirm-form .checkbox-container input[type="checkbox"] {
    width: var(--space-md);
    height: var(--space-md);
    flex-shrink: 0;
    margin: 2px 0 0 0;
}

.confirm-form .checkbox-container label {
    font-weight: normal;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.2;
    align-self: center;
}

.confirm-form .radio-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    gap: 5px;
    flex-wrap: nowrap;
}

.confirm-form .radio-container input[type="radio"] {
    width: var(--space-md);
    height: var(--space-md);
    flex-shrink: 0;
    margin: 2px 0 0 0;
}

.confirm-form .radio-container label {
    font-weight: normal;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.2;
    align-self: center;
}

.confirm-form .payment-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.confirm-form .terms-checkbox a {
    color: var(--color-info-dark);
    text-decoration: underline;
}

.confirm-form .terms-checkbox a:hover {
    color: var(--color-primary);
}

.confirm-form .terms-error {
    color: var(--color-danger);
    font-size: 0.7em;
    margin-top: 3px;
    display: none;
}

.confirm-form .security-note {
    font-size: 0.7em;
    color: #666666;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .confirm-form button[type="submit"],
    .confirm-form #back-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .confirm-form #back-btn {
        margin-right: 0;
    }
    .confirm-form .checkbox-container,
    .confirm-form .radio-container {
        gap: 5px;
        flex-wrap: nowrap;
    }
    .confirm-form .checkbox-container label,
    .confirm-form .radio-container label {
        font-size: 0.85em;
    }
}


/* =================================================================== */
/* START: NEW STYLES FOR CAROUSEL BUTTON & PHOTO GALLERY             */
/* =================================================================== */

/* Carousel "See More Photos" Button Styling */
.carousel-cta-container {
    text-align: center;
    padding: 20px 0;
    background: var(--color-background);
}

.carousel-cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 25px; /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-cta-btn:hover {
    transform: translateY(-2px); /* Subtle lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Photo Gallery Page General Styling */
.gallery-page {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

.gallery-page h1 {
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.gallery-page p {
    font-size: 1.1em;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Photo Grid Styling */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.grid-item {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.grid-item:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

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

.grid-item:hover img {
    transform: scale(1.05);
}

/* CSS-based Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1010;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox:target {
    display: flex; /* Show the lightbox when its ID is in the URL hash */
}

.lightbox span {
    display: block;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 80vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-page h1 {
        font-size: 2em;
    }
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
/* =================================================================== */
/* END: NEW STYLES                                                   */
/* =================================================================== */

/* New style for vertical YouTube Shorts */
.video-wrapper-vertical {
    position: relative;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding-bottom: 177.77%; /* This creates a 9:16 aspect ratio */
    max-width: 350px; /* Optional: Constrain width on larger screens */
    margin: 0 auto; /* Optional: Center the vertical video */
}

.video-wrapper-vertical iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Style for dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* The dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-primary); /* Match navbar color */
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0 0 5px 5px; /* Slightly rounded bottom corners */
    padding: 5px 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--color-white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: var(--color-primary-dark); /* Darker blue on hover */
    color: var(--color-accent); /* Orange text on hover */
}

/* Show the dropdown menu on hover for desktop */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}