/* Wavii Site Styles */
:root {
    /* wavii Brand Colour Palette */
    --primary-wave-blue: #006BA0;
    --secondary-tropical-teal: #009891;
    --tertiary-dark-sea: #0B5D82;
    --accent-mist: #BFE5E4;
    --off-white: #FAF7F2;
    --surface-light: #FFFFFF;
    --surface-dark: #000000;

    /* Gradients */
    --gradient-water: linear-gradient(135deg, var(--primary-wave-blue) 0%, var(--secondary-tropical-teal) 50%, var(--accent-mist) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0, 107, 160, 0.15) 0%, rgba(0, 152, 145, 0.1) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 5rem 2rem;
    --container-max-width: 1200px;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    background: var(--off-white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header / Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(0, 107, 160, 0.25) 0%, rgba(0, 152, 145, 0.2) 100%), url('../img/sydney_city.jpg');
    background-size: cover;
    background-position: center var(--bg-y, 50%);
    background-attachment: fixed;
    color: white;
    animation: fadeIn 1s ease-in;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 93, 130, 0.45) 0%, rgba(0, 107, 160, 0.5) 50%, rgba(0, 152, 145, 0.4) 100%);
    z-index: 1;
}

.hero .nav,
.hero .hero-content {
    position: relative;
    z-index: 2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 100;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-book-now {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.nav-book-now:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-login {
    padding: 0.75rem 1.5rem;
    background: var(--primary-wave-blue);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-login:hover {
    background: var(--tertiary-dark-sea);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 107, 160, 0.3);
}

.nav-back {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.nav-back:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 66.13px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .logo img {
        height: 52.9px;
    }
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.3rem, 2.8vw, 1.7rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin-top: 3rem;
    color: white;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Buttons */
/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--primary-wave-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--tertiary-dark-sea);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 107, 160, 0.3);
}

.btn-secondary {
    background: var(--secondary-tropical-teal);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-wave-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 152, 145, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-wave-blue);
    border: 2px solid var(--primary-wave-blue);
}

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

/* Wave Divider */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: transparent;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 10;
}

.wave-divider.hero-wave {
    overflow: visible;
    margin-top: -80px;
    z-index: 15;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.wave-divider.top {
    transform: rotate(180deg);
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-light {
    background: var(--surface-light);
}

.section-off-white {
    background: var(--off-white);
}

.section-dark {
    background: var(--tertiary-dark-sea);
    color: white;
}

.section-gradient {
    background: linear-gradient(135deg, rgba(0, 107, 160, 0.05) 0%, rgba(0, 152, 145, 0.05) 100%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--tertiary-dark-sea);
    text-align: center;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--primary-wave-blue);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: var(--accent-mist);
}

.image-section {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    background: url('../img/marina-drone.jpg');
    background-size: cover;
    background-position: center var(--bg-y, 50%);
    background-attachment: fixed;
    z-index: 0;
}

/* Extend image section to overlap with dividers */
.image-section::before,
.image-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    background: url('../img/marina-drone.jpg');
    background-size: cover;
    background-position: center var(--bg-y, 50%);
    background-attachment: fixed;
    z-index: -1;
}

.image-section::before {
    top: -80px;
}

.image-section::after {
    bottom: -80px;
}

/* ============================================
   MOBILE PARALLAX FIXES
   ============================================ */

/* Disable background-attachment: fixed on mobile devices
   (iOS Safari and many mobile browsers don't support it) */
@media (max-width: 1024px),
(pointer: coarse) {

    .hero,
    .image-section,
    .image-section::before,
    .image-section::after {
        background-attachment: scroll !important;
    }
}

/* Mobile parallax: transform-based approach for touch devices */
.mobile-parallax .hero,
.mobile-parallax .image-section {
    background-attachment: scroll !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Extend sections with padding to allow backgrounds to show under dividers */
.mobile-parallax .hero {
    padding-bottom: 80px;
    margin-bottom: -80px;
}

.mobile-parallax .image-section {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: -80px;
    margin-bottom: -80px;
}

/* Remove background from original elements when using mobile parallax */
.mobile-parallax .hero {
    background-image: none !important;
}

.mobile-parallax .image-section {
    background-image: none !important;
}

.mobile-parallax .image-section::before,
.mobile-parallax .image-section::after {
    background-image: none !important;
}

/* Parallax background element (created by JavaScript) */
.mobile-parallax .parallax-bg {
    position: absolute;
    top: calc(-40% - 80px);
    left: 0;
    width: 100%;
    height: calc(180% + 160px);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
    pointer-events: none;
}

/* Hero parallax background */
.mobile-parallax .hero .parallax-bg {
    background-image: linear-gradient(180deg, rgba(0, 107, 160, 0.25) 0%, rgba(0, 152, 145, 0.2) 100%),
        url('../img/sydney_city.jpg');
}

/* Image section parallax background */
.mobile-parallax .image-section .parallax-bg {
    background-image: url('../img/marina-drone.jpg');
}

/* Ensure content stays above parallax background */
.mobile-parallax .hero .nav,
.mobile-parallax .hero .hero-content,
.mobile-parallax .image-section .image-inner {
    position: relative;
    z-index: 2;
}

/* Wave dividers should be above background but below content */
.mobile-parallax .wave-divider {
    position: relative;
    z-index: 5;
}

/* Ensure hero overlay is above background */
.mobile-parallax .hero::before {
    z-index: 1;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .mobile-parallax .parallax-bg {
        transform: none !important;
        will-change: auto;
        top: 0 !important;
        height: 100% !important;
    }
}

/* Image section inner wrapper for animations (keeps parallax working) */
.image-inner {
    width: 100%;
    height: 100%;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 107, 160, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 107, 160, 0.15);
}

.benefit-card h3 {
    color: var(--primary-wave-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-wave-blue), var(--secondary-tropical-teal));
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 107, 160, 0.2);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* App Store Section */
.section-dark {
    background: var(--tertiary-dark-sea);
    color: white;
    padding: var(--section-padding);
}

.section-dark .section-title {
    color: white;
}

.app-store-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.app-store-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.app-store-buttons a {
    transition: transform 0.3s ease;
}

.app-store-buttons a:hover {
    transform: translateY(-5px);
}

.app-store-buttons img {
    height: 60px;
    width: auto;
}

/* Footer */
footer {
    background: var(--primary-wave-blue);
    color: white;
    padding: 1rem 2rem 2rem;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-mist);
    font-size: 1.2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

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

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    background: transparent;
    color: white;
    border-radius: 0;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    flex-shrink: 0;
}

.social-icon:hover {
    background: transparent;
    color: var(--accent-mist);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Form Styles */
.form-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 107, 160, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-wave-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-wave-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Booking Form */
.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.booking-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 107, 160, 0.1);
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.contact-info h3 {
    color: var(--primary-wave-blue);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.booking-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.booking-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .booking-form {
        padding: 2rem 1.5rem;
    }

    .booking-form-container {
        padding: 1rem;
    }
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h1 {
    color: var(--primary-wave-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2 {
    color: var(--primary-wave-blue);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--tertiary-dark-sea);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #444;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-wave-blue);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.last-updated {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 107, 160, 0.05);
    border-radius: 10px;
}

/* Responsive Design */
/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: stretch;
}

.about-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.about-image img {
    width: auto;
    height: 100%;
    max-width: 287.5px;
    object-fit: contain;
    filter: opacity(0.8);
}

.about-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--tertiary-dark-sea);
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.features-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--secondary-tropical-teal);
    font-size: 1.5rem;
    line-height: 1;
}

/* Operator Login Section */
.login-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 107, 160, 0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--tertiary-dark-sea);
}

.form-group input {
    padding: 1rem;
    border: 2px solid var(--accent-mist);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-tropical-teal);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: var(--primary-wave-blue);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    color: var(--secondary-tropical-teal);
    text-decoration: underline;
}

/* FAQ Styles */
.search-box {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-wave-blue);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    color: var(--primary-wave-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-mist);
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 107, 160, 0.1);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 107, 160, 0.15);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-wave-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 107, 160, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary-tropical-teal);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: #666;
    line-height: 1.8;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Paint-brush underline effect */
.brush-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.brush-underline::after {
    content: '';
    position: absolute;
    left: -10%;
    bottom: -25px;
    width: 120%;
    height: 50px;
    background: url('/assets/stroke.png') no-repeat center;
    background-size: 100% 100%;
    opacity: 0.9;
    transform: rotate(-1deg);
    z-index: 0;
    /* Make the brushstroke white to match hero text */
    filter: brightness(0) invert(1);
}

.section-dark .brush-underline::after {
    opacity: 0.3;
}

/* Loading animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1.5rem;
    }

    .nav {
        padding: 1rem;
    }

    .hero {
        min-height: 90vh;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        max-width: 120px;
    }

    .login-container {
        padding: 2rem 1.5rem;
    }

    .store-badge {
        min-width: 180px;
        padding: 0.875rem 1.5rem;
    }

    .app-store-buttons img {
        height: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 3px solid var(--secondary-tropical-teal);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Cruise Booking Section */
.cruise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem 2rem;
    /* row-gap column-gap */
    margin-top: 3rem;
    align-items: stretch;
    /* Equal height cards */
}

/* Desktop: 3 columns */
@media (min-width: 1200px) {
    .cruise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 2.5rem;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .cruise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .cruise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.cruise-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 107, 160, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Fill grid cell for equal heights */
}

.cruise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 107, 160, 0.15);
    border-color: var(--primary-wave-blue);
}

.cruise-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Responsive height */
    min-height: 200px;
    max-height: 280px;
    overflow: hidden;
}

.cruise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cruise-card:hover .cruise-image img {
    transform: scale(1.05);
}

.cruise-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-wave-blue);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.cruise-badge.badge-new {
    background: var(--secondary-tropical-teal);
}

.cruise-badge.badge-premium {
    background: linear-gradient(135deg, var(--primary-wave-blue), var(--secondary-tropical-teal));
}

.cruise-badge.badge-value {
    background: #009891;
}

.cruise-badge.badge-urgent {
    background: #DC2626;
    animation: pulse-urgent 2s ease-in-out infinite;
}

@keyframes pulse-urgent {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.cruise-content {
    padding: 2rem;
    /* Increased from 1.5rem */
    display: flex;
    flex-direction: column;
    flex: 1;
    /* Take available space */
    gap: 1.25rem;
    /* Consistent spacing between all children */
}

.cruise-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tertiary-dark-sea);
    margin-bottom: 0;
    /* Using gap instead */
}

.cruise-description {
    color: #666;
    line-height: 1.7;
    /* Increased from 1.6 */
    flex: 1;
    /* Flex to fill available space */
    min-height: 4.5rem;
    /* Minimum height for consistency */
    margin-bottom: 0;
    /* Using gap instead */
}

.cruise-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0;
    /* Using gap instead */
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-wave-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item svg {
    flex-shrink: 0;
}

.cruise-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 1rem 0;
    /* Vertical padding */
    border-top: 1px solid #e5e7eb;
    /* Visual separator */
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    /* Using gap instead */
}

.price-label {
    color: #666;
    font-size: 0.9rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-wave-blue);
}

.cruise-actions {
    margin-top: auto;
    /* Push to bottom of card */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cruise-actions .btn {
    width: 100%;
    min-width: 120px;
    justify-content: center;
    text-align: center;
    padding: 1.125rem 2rem;
    /* Slightly larger */
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 600;
}

.cruise-actions .btn-primary {
    border: 2px solid transparent;
}

.cruise-actions .btn-outline {
    background: transparent;
    color: var(--primary-wave-blue);
    border: 2px solid var(--primary-wave-blue);
    padding: 1.125rem 2rem;
}

.cruise-actions .btn-outline:hover {
    background: var(--primary-wave-blue);
    color: white;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .cruise-content {
        padding: 1.5rem;
        /* Slightly less padding on mobile */
        gap: 1rem;
    }

    .cruise-description {
        min-height: 3.5rem;
        /* Smaller minimum on mobile */
    }

    .cruise-actions .btn {
        padding: 1rem 1.5rem;
    }
}

/* ============================================
   EXPANDABLE CRUISE CARD DETAILS
   ============================================ */

/* Expandable Details Container */
.cruise-details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.5s ease,
        border-top-color 0.5s ease;
    background: #f9fafb;
    border-top: 1px solid transparent;
    overflow: hidden;
}

.cruise-details.expanded {
    grid-template-rows: 1fr;
    padding: 2rem 1.5rem 0;
    /* Remove bottom padding */
    border-top-color: #e5e7eb;
}

.cruise-details-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "gallery"
        "details"
        "booking";
    gap: 2rem;
    min-height: 0;
    /* Important for grid animation */
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
    padding-bottom: 2rem;
    /* Add bottom padding here instead */
}

/* Desktop: 2-column layout with full-width gallery */
@media (min-width: 768px) {
    .cruise-details-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "gallery gallery"
            "details booking";
    }
}

.cruise-details.expanded .cruise-details-inner {
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
    /* Allow content to be fully visible when expanded */
}

/* Move action buttons to bottom when expanded */
.cruise-card.expanded {
    display: flex;
    flex-direction: column;
}

.cruise-card.expanded .cruise-content {
    order: 1;
}

.cruise-card.expanded .cruise-details {
    order: 2;
}

.cruise-card.expanded .cruise-actions {
    order: 3;
    margin-top: 0;
    padding: 0 2rem 0;
    /* No top/bottom padding, only left/right */
    background: transparent;
    /* No background behind Hide button */
    border-top: none;
    /* Remove extra divider */
}

/* Button styling when expanded - matches Book Now except color */
.cruise-card.expanded .btn-toggle-expand {
    /* Base button properties */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family);
    text-decoration: none;

    /* Same size and shape as Book Now */
    width: 100%;
    min-width: 120px;
    padding: 1.125rem 2rem;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 600;
    justify-content: center;
    text-align: center;

    /* Different color - teal instead of blue */
    background: var(--secondary-tropical-teal);
    border: 2px solid var(--secondary-tropical-teal);
    color: white;
}

.cruise-card.expanded .btn-toggle-expand:hover {
    background: #007d76;
    border-color: #007d76;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 152, 145, 0.3);
}

/* Grid Area Assignments */
.cruise-gallery-section {
    grid-area: gallery;
}

.details-section {
    grid-area: details;
}

.booking-section {
    grid-area: booking;
}

/* ============================================
   CRUISE CARD GALLERY
   ============================================ */

/* Gallery Section - Full Width */
.cruise-gallery-section {
    width: 100%;
    margin-bottom: 1rem;
}

.cruise-gallery {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 107, 160, 0.1);
}

/* Main Display Image */
.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    overflow: hidden;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-main-image.loading {
    opacity: 0.5;
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
}

.gallery-nav-prev {
    left: 1rem;
}

.gallery-nav-next {
    right: 1rem;
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-wave-blue);
}

/* Image Counter */
.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Thumbnail Strip */
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-wave-blue) #f0f0f0;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-wave-blue);
    border-radius: 3px;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumbnail.active {
    border-color: var(--primary-wave-blue);
    opacity: 1;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Accessibility */
.gallery-nav:focus {
    outline: 2px solid var(--primary-wave-blue);
    outline-offset: 2px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .gallery-main {
        aspect-ratio: 4 / 3;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav svg {
        width: 20px;
        height: 20px;
    }

    .gallery-thumbnails {
        padding: 0.75rem;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}


/* Details Section */
.details-section {
    min-width: 0;
    /* Prevent flex/grid overflow */
    overflow: visible;
}

.details-section h4 {
    color: var(--primary-wave-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

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

.details-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #555;
    line-height: 1.6;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list strong {
    color: var(--tertiary-dark-sea);
    font-weight: 600;
}

/* New Content Sections */
.details-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* What to Expect Section - no special container styling needed */

.experience-description h4 {
    color: var(--primary-wave-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.experience-description p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.experience-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.experience-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-tropical-teal);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Pricing Details Section */
.pricing-details {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
    border: 1px solid #bae6fd;
    margin-top: 1.5rem;
}

.pricing-details h4 {
    color: var(--primary-wave-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-wave-blue);
}

.price-item span:last-child {
    font-size: 1.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: #0369a1;
    padding-top: 0.75rem;
    border-top: 1px solid #bae6fd;
    line-height: 1.6;
}

/* Important Information Section */
.important-info {
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    margin-top: 1.5rem;
}

.important-info h4 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.important-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: #78350f;
    line-height: 1.6;
    position: relative;
}

.important-info li:before {
    content: "ℹ";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.cancellation-policy {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #fde68a;
    color: #78350f;
    line-height: 1.6;
}

/* Booking Summary Section */
.booking-summary {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #bae6fd;
}

.booking-summary h4 {
    color: var(--primary-wave-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #334155;
}

.summary-line span:first-child {
    font-weight: 500;
}

.summary-line span:last-child {
    font-weight: 600;
    color: var(--tertiary-dark-sea);
}

.summary-extras {
    color: #059669;
}

.summary-extras .extras-label {
    font-style: italic;
}

.summary-divider {
    padding-top: 0.75rem;
    border-top: 1px solid #bae6fd;
}

.summary-gst {
    color: #64748b;
    font-size: 0.9rem;
}

.summary-total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-wave-blue);
    font-size: 1.1rem;
}

.summary-total span:first-child {
    font-weight: 700;
    color: var(--tertiary-dark-sea);
}

.summary-total span:last-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-wave-blue);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .booking-summary {
        padding: 1.25rem;
    }

    .summary-line {
        font-size: 0.9rem;
    }

    .summary-total {
        font-size: 1rem;
    }

    .summary-total span:last-child {
        font-size: 1.3rem;
    }
}

/* Add-Ons Section */
.add-ons-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 2px solid #86efac;
}

.add-ons-section h4 {
    color: var(--primary-wave-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.add-ons-description {
    color: #059669;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.add-ons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.add-on-item {
    position: relative;
}

.add-on-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.add-on-label {
    display: flex;
    padding: 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-on-label:hover {
    border-color: var(--secondary-tropical-teal);
    box-shadow: 0 4px 12px rgba(0, 152, 145, 0.15);
    transform: translateY(-2px);
}

.add-on-checkbox:checked+.add-on-label {
    border-color: var(--secondary-tropical-teal);
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    box-shadow: 0 4px 16px rgba(0, 152, 145, 0.2);
}

.add-on-checkbox:checked+.add-on-label::before {
    content: '✓';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    background: var(--secondary-tropical-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.add-on-details {
    flex: 1;
    min-width: 0;
}

.add-on-title {
    font-weight: 600;
    color: var(--tertiary-dark-sea);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.add-on-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.add-on-price {
    font-weight: 700;
    color: var(--secondary-tropical-teal);
    font-size: 1.1rem;
}

.add-on-price-free {
    color: #059669;
    background: #d1fae5;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .add-ons-section {
        padding: 1.25rem;
    }

    .add-ons-grid {
        grid-template-columns: 1fr;
    }

    .add-on-label {
        padding: 1rem;
    }

    .add-on-title {
        font-size: 0.95rem;
    }

    .add-on-description {
        font-size: 0.8rem;
    }
}

/* Booking Form Section */
.booking-section {
    min-width: 0;
    /* Prevent flex/grid overflow */
    overflow: visible;
}

.booking-section h4 {
    color: var(--primary-wave-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.booking-datetime {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-datetime .form-group {
    margin-bottom: 0;
}

.booking-datetime label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--tertiary-dark-sea);
    font-weight: 600;
    font-size: 0.95rem;
}

.booking-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.booking-input:focus {
    outline: none;
    border-color: var(--primary-wave-blue);
    box-shadow: 0 0 0 3px rgba(0, 107, 160, 0.1);
}

.booking-input:hover:not(:focus) {
    border-color: #c0c0c0;
}

/* Stripe Container */
.stripe-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 107, 160, 0.1);
    margin-top: 1rem;
    min-height: 100px;
    /* Ensure container is visible even before Stripe loads */
}

.stripe-container #stripe-payment-element-harbour-highlights,
.stripe-container #stripe-payment-element-sunset-cruise,
.stripe-container #stripe-payment-element-private-charter,
.stripe-container #stripe-payment-element-lunch-cruise,
.stripe-container #stripe-payment-element-express-hopper,
.stripe-container #stripe-payment-element-nye-celebration {
    min-height: 40px;
    margin-bottom: 1rem;
    height: auto;
    /* Allow Stripe element to determine its own height */
}

.btn-complete-booking {
    width: 100%;
    margin-top: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-complete-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 107, 160, 0.3);
}

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

/* Booking Status Messages */
.booking-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.booking-status>div {
    display: none;
}

.status-loading {
    color: var(--primary-wave-blue);
    background: rgba(0, 107, 160, 0.1);
}

.status-loading::before {
    content: "⏳ ";
}

.status-success {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

.status-success::before {
    content: "✓ ";
}

.status-error {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.status-error::before {
    content: "⚠ ";
}

/* Button States for Learn More */
.btn-learn-more .btn-text-collapsed,
.btn-learn-more .btn-text-expanded {
    transition: opacity 0.2s ease;
}

.cruise-card.expanded .btn-learn-more .btn-text-collapsed {
    display: none;
}

.cruise-card.expanded .btn-learn-more .btn-text-expanded {
    display: inline !important;
}

/* Card Expansion Animation */
.cruise-card {
    transition: transform 0.6s ease, box-shadow 0.6s ease, z-index 0s, grid-column 0.6s ease;
    position: relative;
    z-index: 1;
}

.cruise-card.expanded {
    grid-column: 1 / -1;
    /* Span full width of grid */
    transform: scale(1.005);
    box-shadow: 0 20px 60px rgba(0, 107, 160, 0.25);
    z-index: 10;
}

/* Quick Book Button Enhancement */
.btn-quick-book {
    position: relative;
    overflow: hidden;
}

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

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

/* Loading Animation for Stripe */
@keyframes stripe-loading {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.stripe-container.loading {
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: stripe-loading 1.5s ease-in-out infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cruise-details-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cruise-card.expanded {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 107, 160, 0.2);
    }

    .cruise-details.expanded {
        padding: 1.5rem 1rem;
    }

    .stripe-container {
        padding: 1rem;
    }

    .details-section h4,
    .booking-section h4 {
        font-size: 1.1rem;
    }

    .details-list li {
        padding: 0.6rem 0;
        font-size: 0.95rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .cruise-details-inner {
        gap: 1.5rem;
    }
}

/* Accessibility - Focus States */
.btn-learn-more:focus,
.btn-quick-book:focus,
.btn-complete-booking:focus {
    outline: 3px solid var(--secondary-tropical-teal);
    outline-offset: 2px;
}

.booking-input:focus {
    outline: none;
    border-color: var(--primary-wave-blue);
    box-shadow: 0 0 0 3px rgba(0, 107, 160, 0.1);
}

/* Print Styles */
@media print {
    .cruise-details {
        max-height: none !important;
        overflow: visible !important;
    }

    .cruise-details.expanded {
        page-break-inside: avoid;
    }
}

/* ============================================
   PASSENGER COUNTER STYLES
   ============================================ */

.booking-passengers-section {
    background: #f9fafb;
    padding: 0;
    border-radius: 12px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.booking-passengers-section h4 {
    color: var(--primary-wave-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.passenger-info {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.75rem;
    background: rgba(0, 107, 160, 0.05);
    border-left: 3px solid var(--primary-wave-blue);
    border-radius: 4px;
}

/* Passenger Counter Row */
.passenger-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.passenger-counter:last-of-type {
    border-bottom: none;
}

.passenger-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.passenger-type {
    font-weight: 600;
    color: var(--tertiary-dark-sea);
    font-size: 1rem;
}

.passenger-age {
    font-size: 0.85rem;
    color: #666;
}

/* Counter Controls */
.counter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-counter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary-wave-blue);
    background: white;
    color: var(--primary-wave-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.btn-counter:hover:not(:disabled) {
    background: var(--primary-wave-blue);
    color: white;
    transform: scale(1.1);
}

.btn-counter:active:not(:disabled) {
    transform: scale(0.95);
}

.btn-counter:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

.counter-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tertiary-dark-sea);
    min-width: 30px;
    text-align: center;
}

/* Passenger Summary */
.passenger-summary {
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--accent-mist);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--tertiary-dark-sea);
}

.summary-row:first-child {
    padding-top: 0;
    font-weight: 600;
}

.summary-row:last-child {
    padding-bottom: 0;
}

.summary-value {
    font-weight: 700;
    color: var(--primary-wave-blue);
}

/* Warning Message */
.passenger-warning {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid #dc2626;
    border-radius: 4px;
    color: #dc2626;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.passenger-warning svg {
    flex-shrink: 0;
}

/* Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .booking-passengers-section {
        padding: 0;
    }

    .passenger-counter {
        padding: 0.75rem 0;
    }

    .btn-counter {
        width: 32px;
        height: 32px;
    }

    .counter-controls {
        gap: 0.75rem;
    }

    .counter-value {
        font-size: 1.1rem;
        min-width: 25px;
    }

    .passenger-type {
        font-size: 0.95rem;
    }

    .passenger-age {
        font-size: 0.8rem;
    }
}

/* ============================================
   FLEET GALLERY SECTION
   ============================================ */

/* Fleet Introduction Section */
.fleet-intro {
    max-width: 900px;
    margin: 1rem auto 3rem;
    text-align: center;
}

.fleet-description {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

/* Fleet Gallery Container - uses existing .cruise-gallery styles */
.fleet-gallery-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 4rem;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .fleet-intro {
        margin-bottom: 2rem;
    }

    .fleet-gallery-container {
        margin-bottom: 3rem;
    }
}