/* ============================================================================
   FKK MARSEILLE - MARITIME MEDITERRANEAN DESIGN
   Völlig neues Design inspiriert von Marseille, Vieux-Port und Mittelmeer
   ============================================================================ */

:root {
    /* Improved Mediterranean Color Palette - Bessere Kontraste */
    --azure-blue: #0277bd;
    --deep-ocean: #01579b;
    --coral-sunset: #ff5722;
    --golden-sand: #ffa000;
    --pearl-white: #ffffff;
    --seafoam-green: #00acc1;
    --terracotta: #d84315;
    --lavender-provence: #7e57c2;
    
    /* Marseille Specific Colors - Verbessert */
    --marseille-blue: #1976d2;
    --vieux-port-stone: #8d6e63;
    --notre-dame-gold: #f57f17;
    --calanques-turquoise: #00bcd4;
    --mistral-silver: #90a4ae;
    --bouillabaisse-orange: #ef6c00;
    
    /* Sophisticated Darks - Besser kontrastierend */
    --deep-sea: #0d47a1;
    --midnight-blue: #0a1c3a;
    --charcoal-sea: #263238;
    --storm-grey: #37474f;
    --nautical-navy: #1a237e;
    
    /* Light Mediterranean - Mehr Kontrast */
    --sun-cream: #fffde7;
    --sea-salt: #f8f9fa;
    --morning-mist: #eceff1;
    --coastal-breeze: rgba(248, 249, 250, 0.8);
    --lighthouse-beam: #fff9c4;
    
    /* Maritime Gradients - Verbessert */
    --gradient-horizon: linear-gradient(135deg, var(--marseille-blue) 0%, var(--deep-ocean) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--coral-sunset) 0%, var(--golden-sand) 100%);
    --gradient-waves: linear-gradient(135deg, var(--calanques-turquoise) 0%, var(--marseille-blue) 100%);
    --gradient-lighthouse: linear-gradient(135deg, var(--notre-dame-gold) 0%, var(--bouillabaisse-orange) 100%);
    --gradient-sea: linear-gradient(135deg, var(--seafoam-green) 0%, var(--azure-blue) 50%, var(--deep-ocean) 100%);
    
    /* Typography - Mediterranean Feel */
    --font-primary: 'Inter', sans-serif;
    --font-elegant: 'Playfair Display', serif;
    --font-script: 'Caveat', cursive;
    
    /* Maritime Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Maritime Animation Curves */
    --ease-wave: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-tide: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-breeze: cubic-bezier(0.4, 0.0, 0.2, 1);
    
    /* Maritime Shadows */
    --shadow-gentle: 0 2px 8px rgba(1, 87, 155, 0.15);
    --shadow-moderate: 0 8px 32px rgba(1, 87, 155, 0.2);
    --shadow-strong: 0 16px 64px rgba(1, 87, 155, 0.25);
    --shadow-lighthouse: 0 24px 80px rgba(245, 127, 23, 0.2);
    --shadow-depths: inset 0 2px 4px rgba(13, 71, 161, 0.15);
}

/* Reset & Base Maritime Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--midnight-blue);
    color: var(--pearl-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Maritime Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--midnight-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-waves);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--marseille-blue);
}

/* Maritime Floating Elements mit Font Awesome Icons */
.maritime-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-wave {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.5rem;
    color: rgba(0, 188, 212, 0.3);
    animation: waveFloat 15s linear infinite;
}

.floating-wave:nth-child(1) { 
    left: 10%; 
    animation-delay: 0s; 
    animation-duration: 12s;
}
.floating-wave:nth-child(2) { 
    left: 40%; 
    animation-delay: 4s; 
    animation-duration: 16s;
}
.floating-wave:nth-child(3) { 
    left: 70%; 
    animation-delay: 8s; 
    animation-duration: 14s;
}

.floating-wave:nth-child(1)::before { content: '\f773'; } /* water */
.floating-wave:nth-child(2)::before { content: '\f043'; } /* tint */
.floating-wave:nth-child(3)::before { content: '\f773'; } /* water */

.floating-seagull {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    animation: seagullFly 25s linear infinite;
    display:none;
}

.floating-seagull:nth-child(4) {
    left: -50px;
    top: 20%;
    animation-delay: 0s;
}

.floating-seagull:nth-child(5) {
    left: -50px;
    top: 60%;
    animation-delay: 12s;
}

.floating-seagull:nth-child(4)::before { content: '\f4fb'; } /* dove */
.floating-seagull:nth-child(5)::before { content: '\f4fb'; } /* dove */

.floating-boat {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2rem;
    color: rgba(255, 152, 0, 0.3);
    bottom: 10%;
    animation: boatSail 30s linear infinite;
}

.floating-boat::before { content: '\f21a'; } /* ship */

@keyframes waveFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) translateX(-50px);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) translateX(50px);
    }
}

@keyframes seagullFly {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(100vw) translateY(-20px);
    }
}

@keyframes boatSail {
    0% {
        left: -80px;
    }
    100% {
        left: 100vw;
    }
}

/* Mediterranean Navigation */
.mediterranean-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 71, 161, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(25, 118, 210, 0.3);
    z-index: 1000;
    transition: all 0.4s var(--ease-wave);
}

.mediterranean-navbar.scrolled {
    background: rgba(13, 71, 161, 0.98);
    border-bottom-color: var(--marseille-blue);
    box-shadow: var(--shadow-moderate);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    gap: var(--space-xl);
}

/* Brand Anchor Design */
.brand-anchor {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    cursor: pointer;
    transition: transform 0.3s var(--ease-wave);
}

.brand-anchor:hover {
    transform: translateY(-3px);
}

.anchor-symbol {
    position: relative;
    width: 55px;
    height: 55px;
}

.anchor-ring {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 3px solid var(--marseille-blue);
    border-radius: 50%;
    animation: anchorBob 4s ease-in-out infinite;
}

.anchor-chain {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 25px;
    background: linear-gradient(180deg, var(--marseille-blue) 0%, var(--coral-sunset) 100%);
    border-radius: 2px;
}

.anchor-hook {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    color: var(--coral-sunset);
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

@keyframes anchorBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--marseille-blue);
    line-height: 1;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
    font-family: var(--font-script);
    font-size: 0.9rem;
    color: var(--mistral-silver);
    font-style: italic;
    margin-top: 2px;
}

/* Compass Navigation */
.nav-compass {
    justify-self: center;
    position: relative;
}

.compass-rose {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-rose::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(25, 118, 210, 0.3);
    border-radius: 50%;
    animation: compassSpin 60s linear infinite;
}

.compass-rose::after {
    content: '✶';
    position: absolute;
    font-size: 1.5rem;
    color: var(--coral-sunset);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

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

.nav-point {
    position: absolute;
    color: var(--pearl-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-wave);
    padding: var(--space-sm) var(--space-md);
    border-radius: 15px;
    white-space: nowrap;
}

.nav-point:hover {
    color: var(--coral-sunset);
    background: rgba(0, 119, 190, 0.2);
    transform: scale(1.05);
}

/* Position compass points */
.nav-point.north { top: -10px; left: 50%; transform: translateX(-50%); }
.nav-point.northeast { top: 10px; right: -20px; }
.nav-point.east { right: -30px; top: 50%; transform: translateY(-50%); }
.nav-point.southeast { bottom: 10px; right: -20px; }
.nav-point.south { bottom: -10px; left: 50%; transform: translateX(-50%); }
.nav-point.southwest { bottom: 10px; left: -20px; }
.nav-point.west { left: -30px; top: 50%; transform: translateY(-50%); }

/* Lighthouse Beacon Button */
.lighthouse-beacon {
    position: relative;
}

.beacon-btn {
    background: var(--gradient-lighthouse);
    color: var(--deep-sea);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-wave);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.beacon-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lighthouse);
}

.beacon-light {
    width: 12px;
    height: 12px;
    background: var(--pearl-white);
    border-radius: 50%;
    animation: beaconPulse 2s ease-in-out infinite;
}

@keyframes beaconPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(248, 249, 250, 0.7);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(248, 249, 250, 0);
    }
}

/* Mobile Helm */
.mobile-helm {
    display: none;
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(0, 119, 190, 0.2);
    border: 2px solid var(--azure-blue);
    transition: all 0.3s var(--ease-wave);
}

.mobile-helm:hover {
    background: rgba(0, 119, 190, 0.4);
    transform: rotate(45deg);
}

.helm-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--azure-blue);
    transform-origin: left center;
}

.helm-spoke:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); }
.helm-spoke:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg); }
.helm-spoke:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg); }

.helm-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--azure-blue);
    font-size: 1.2rem;
}

/* Mobile Navigation Port */
.mobile-nav-port {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 35, 126, 0.98);
    backdrop-filter: blur(25px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-tide);
}

.mobile-nav-port.active {
    opacity: 1;
    visibility: visible;
}

.port-background {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: var(--space-4xl) var(--space-xl);
}

.mobile-lighthouse {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.lighthouse-tower {
    position: relative;
    width: 80px;
    height: 120px;
    background: var(--gradient-lighthouse);
    margin: 0 auto var(--space-lg);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-md);
}

.lighthouse-light {
    width: 20px;
    height: 20px;
    background: var(--pearl-white);
    border-radius: 50%;
    animation: lighthouseSweep 3s ease-in-out infinite;
}

.lighthouse-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, var(--pearl-white), transparent);
    opacity: 0;
    animation: beamSweep 3s ease-in-out infinite;
}

@keyframes lighthouseSweep {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes beamSweep {
    0%, 100% { opacity: 0; transform: translateX(-50%) rotate(-30deg); }
    50% { opacity: 1; transform: translateX(-50%) rotate(30deg); }
}

.mobile-lighthouse h2 {
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    color: var(--azure-blue);
    margin-bottom: var(--space-sm);
}

.mobile-lighthouse p {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--mistral-silver);
    font-style: italic;
}

.mobile-navigation-dock {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    width: 100%;
    max-width: 300px;
}

.dock-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    color: var(--pearl-white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    padding: var(--space-lg) var(--space-xl);
    border-radius: 20px;
    border: 2px solid transparent;
    background: rgba(0, 119, 190, 0.1);
    transition: all 0.4s var(--ease-wave);
    position: relative;
    overflow: hidden;
}

.dock-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-waves);
    transition: left 0.4s var(--ease-tide);
    z-index: -1;
}

.dock-item:hover::before {
    left: 0;
}

.dock-item:hover {
    color: var(--pearl-white);
    border-color: var(--azure-blue);
    transform: translateX(10px);
}

.dock-item.special {
    background: var(--gradient-lighthouse);
    color: var(--deep-sea);
    font-weight: 700;
}

.dock-item.special:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lighthouse);
}

.dock-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* Mediterranean Hero Section */
.mediterranean-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Hero Background Images - Added */
.hero-image-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.hero-image-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s var(--ease-tide);
    filter: brightness(0.4) contrast(1.1);
}

.hero-image-gallery img.active {
    opacity: 1;
}

.horizon-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, var(--marseille-blue) 0%, var(--calanques-turquoise) 100%);
    z-index: -1;
}

.floating-clouds {
    position: relative;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 50px;
    opacity: 0.7;
    animation: cloudDrift 20s linear infinite;
}

.cloud:nth-child(1) {
    width: 100px;
    height: 40px;
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.cloud:nth-child(2) {
    width: 150px;
    height: 60px;
    top: 35%;
    left: -150px;
    animation-delay: 7s;
}

.cloud:nth-child(3) {
    width: 80px;
    height: 30px;
    top: 15%;
    left: -80px;
    animation-delay: 14s;
}

.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 50%;
}

.cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud::after {
    width: 60px;
    height: 60px;
    top: -35px;
    right: 15px;
}

@keyframes cloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

.horizon-sea {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--gradient-sea);
    overflow: hidden;
}

.wave-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'><path d='M0,60 C300,100 900,20 1200,60 L1200,120 L0,120 Z' fill='rgba(64,224,208,0.3)'/></svg>") repeat-x;
    animation: waveMove 15s ease-in-out infinite;
}

.wave-layer.layer1 {
    animation-duration: 15s;
    opacity: 0.7;
}

.wave-layer.layer2 {
    animation-duration: 20s;
    animation-direction: reverse;
    opacity: 0.5;
    height: 80px;
}

.wave-layer.layer3 {
    animation-duration: 25s;
    opacity: 0.3;
    height: 60px;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50%); }
}

.hero-marseille-skyline {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
}

.skyline-silhouette {
    display:none;
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 35, 126, 0.8) 50%, rgba(26, 35, 126, 0.9) 100%);
}

.basilique-notre-dame {
    position: absolute;
    right: 15%;
    top: 20px;
    width: 60px;
    height: 120px;
    background: var(--gradient-lighthouse);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.5);
}

.basilique-notre-dame::before {
    content: '✚';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--pearl-white);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(248, 249, 250, 0.8);
}

.vieux-port-buildings {
    position: absolute;
    left: 20%;
    bottom: 0;
    width: 200px;
    height: 80px;
    background: linear-gradient(90deg, var(--vieux-port-stone) 0%, var(--terracotta) 50%, var(--vieux-port-stone) 100%);
    clip-path: polygon(0% 100%, 0% 40%, 20% 20%, 40% 30%, 60% 10%, 80% 25%, 100% 35%, 100% 100%);
}

.modern-towers {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 150px;
    height: 100px;
    background: linear-gradient(90deg, var(--charcoal-sea) 0%, var(--storm-grey) 100%);
    clip-path: polygon(0% 100%, 0% 60%, 25% 20%, 50% 40%, 75% 15%, 100% 30%, 100% 100%);
}

.hero-content-container {
    text-align: center;
    max-width: 1000px;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 10;
}

.hero-main-content {
    position: relative;
}

.hero-compass-rose {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: compassRotate 30s linear infinite;
}

.compass-direction {
    position: absolute;
    font-family: var(--font-elegant);
    font-weight: 700;
    color: var(--coral-sunset);
    font-size: 1.2rem;
}

.compass-direction:nth-child(1) { top: 5px; left: 50%; transform: translateX(-50%); }
.compass-direction:nth-child(2) { right: 5px; top: 50%; transform: translateY(-50%); }
.compass-direction:nth-child(3) { bottom: 5px; left: 50%; transform: translateX(-50%); }
.compass-direction:nth-child(4) { left: 5px; top: 50%; transform: translateY(-50%); }

@keyframes compassRotate {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

.hero-title-marseille {
    margin: var(--space-4xl) 0 var(--space-2xl);
}

.title-main {
    display: block;
    font-family: var(--font-elegant);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: var(--pearl-white);
    line-height: 0.9;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--space-md);
}

.title-accent {
    display: block;
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--coral-sunset);
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--coastal-breeze);
    margin-bottom: var(--space-4xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-action-waves {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.wave-btn {
    position: relative;
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-wave);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    letter-spacing: 0.5px;
}

.wave-btn.primary {
    background: var(--gradient-waves);
    color: var(--pearl-white);
    border: 2px solid transparent;
}

.wave-btn.secondary {
    background: transparent;
    color: var(--coral-sunset);
    border: 2px solid var(--coral-sunset);
}

.wave-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lighthouse);
}

.wave-btn.primary:hover {
    border-color: var(--calanques-turquoise);
}

.wave-btn.secondary:hover {
    background: var(--gradient-sunset);
    color: var(--pearl-white);
}

.btn-wave {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s var(--ease-tide);
}

.wave-btn:hover .btn-wave {
    left: 100%;
}

.btn-lighthouse {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--pearl-white);
    border-radius: 50%;
    animation: lighthouseBlink 2s ease-in-out infinite;
}

@keyframes lighthouseBlink {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.3; transform: translateY(-50%) scale(1.3); }
}

/* Scroll Anchor */
.scroll-anchor {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    color: var(--mistral-silver);
    animation: anchorBounce 2s ease-in-out infinite;
}

.anchor-chain-scroll {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chain-link {
    width: 3px;
    height: 8px;
    background: var(--azure-blue);
    border-radius: 2px;
    animation: chainDrop 2s ease-in-out infinite;
}

.chain-link:nth-child(2) { animation-delay: 0.3s; }
.chain-link:nth-child(3) { animation-delay: 0.6s; }

@keyframes chainDrop {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

.scroll-anchor-symbol {
    font-size: 1.5rem;
    color: var(--coral-sunset);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-script);
}

@keyframes anchorBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.7; }
}

/* Page System */
.page-wrapper {
    min-height: 100vh;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Section Layouts */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-5xl) var(--space-xl);
}

.section-harbor {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4xl);
    align-items: start;
    margin-bottom: var(--space-4xl);
}

.harbor-lighthouse {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lighthouse-beam-section {
    width: 60px;
    height: 100px;
    background: var(--gradient-lighthouse);
    border-radius: 10px 10px 0 0;
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

.lighthouse-beam-section::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--pearl-white);
    border-radius: 50%;
    animation: sectionBeacon 3s ease-in-out infinite;
}

@keyframes sectionBeacon {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(248, 249, 250, 0.7); }
    50% { opacity: 0.3; box-shadow: 0 0 0 10px rgba(248, 249, 250, 0); }
}

.section-number {
    font-family: var(--font-elegant);
    font-size: 4rem;
    font-weight: 900;
    color: var(--azure-blue);
    opacity: 0.5;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 119, 190, 0.3);
}

.harbor-content {
    padding-top: var(--space-lg);
}

.section-title {
    font-family: var(--font-elegant);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--pearl-white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--coral-sunset);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--coastal-breeze);
    max-width: 800px;
}

/* Port Experiences - Marseille Style */
.port-experiences {
    background: var(--gradient-horizon);
    position: relative;
}

.port-experiences::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'><path d='M0,20 C300,60 900,10 1200,40 L1200,120 L0,120 Z' fill='rgba(64,224,208,0.1)'/></svg>") repeat-x;
    opacity: 0.3;
}

.port-berths {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Luxury Yacht Berth */
.luxury-yacht-berth {
    background: rgba(26, 35, 126, 0.8);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(0, 119, 190, 0.4);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    height: 700px;
    box-shadow: var(--shadow-strong);
}

.yacht-deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    align-items: center;
}

.deck-content {
    padding: var(--space-3xl);
    z-index: 2;
    position: relative;
}

.yacht-flag {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    animation: flagWave 3s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.deck-content h3 {
    font-family: var(--font-elegant);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--pearl-white);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.deck-content p {
    color: var(--coastal-breeze);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

.deck-price {
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coral-sunset);
    margin-bottom: var(--space-xl);
}

.embark-btn {
    background: var(--gradient-sunset);
    color: var(--pearl-white);
    border: none;
    padding: var(--space-md) var(--space-2xl);
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-wave);
    position: relative;
    overflow: hidden;
}

.embark-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lighthouse);
}

.embark-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--ease-tide);
}

.embark-btn:hover::before {
    left: 100%;
}

.yacht-cabin {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--charcoal-sea);
    overflow: hidden;
}

.yacht-cabin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s var(--ease-tide);
    filter: brightness(0.8) contrast(1.1);
}

.yacht-cabin img.active {
    opacity: 1;
}

/* Small Boats Marina */
.small-boats-marina {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.boat-berth {
    background: rgba(0, 119, 190, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: 20px;
    padding: var(--space-xl);
    transition: all 0.4s var(--ease-wave);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.boat-berth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-waves);
    opacity: 0.1;
    transition: left 0.6s var(--ease-tide);
}

.boat-berth:hover::before {
    left: 0;
}

.boat-berth:hover {
    transform: translateX(10px);
    border-color: var(--azure-blue);
    box-shadow: var(--shadow-moderate);
}

.boat-mast {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
    animation: mastSway 4s ease-in-out infinite;
}

@keyframes mastSway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
}

.boat-sail {
    flex: 1;
}

.boat-sail h4 {
    font-family: var(--font-elegant);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pearl-white);
    margin-bottom: var(--space-sm);
}

.boat-sail p {
    color: var(--coastal-breeze);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.boat-price {
    font-weight: 700;
    color: var(--coral-sunset);
    font-size: 1.2rem;
    font-family: var(--font-elegant);
}

/* Floating Platform Services */
.floating-platform-services {
    background: var(--gradient-sea);
    position: relative;
    overflow: hidden;
}

.floating-platform-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'><path d='M0,60 C300,20 900,80 1200,40 L1200,120 L0,120 Z' fill='rgba(255,107,53,0.1)'/></svg>") repeat-x;
    animation: wavePattern 20s ease-in-out infinite;
}

@keyframes wavePattern {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.platform-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    position: relative;
    z-index: 1;
}

.section-number.compass-style {
    position: relative;
}

.section-number.compass-style::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    animation: compassSpin 30s linear infinite;
}

.floating-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.service-platform {
    position: relative;
    background: rgba(26, 35, 126, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(64, 224, 208, 0.4);
    border-radius: 25px;
    padding: var(--space-3xl);
    text-align: center;
    transition: all 0.6s var(--ease-wave);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: platformFloat 6s ease-in-out infinite;
}

@keyframes platformFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(2deg); }
}

.service-platform:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--coral-sunset);
    box-shadow: var(--shadow-lighthouse);
}

.platform-content {
    position: relative;
    z-index: 2;
}

.service-beacon {
    font-size: 4rem;
    margin-bottom: var(--space-xl);
    background: var(--gradient-lighthouse);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: beaconGlow 3s ease-in-out infinite;
}

@keyframes beaconGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.8)); }
}

.service-platform h3 {
    font-family: var(--font-elegant);
    font-size: 2rem;
    font-weight: 700;
    color: var(--pearl-white);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.service-platform p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--coastal-breeze);
    margin-bottom: var(--space-xl);
}

.platform-price {
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coral-sunset);
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--coral-sunset);
    border-radius: 15px;
    padding: var(--space-lg);
    display: inline-block;
}

.platform-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'><path d='M0,60 C300,100 900,20 1200,60 L1200,120 L0,120 Z' fill='rgba(64,224,208,0.2)'/></svg>") repeat-x;
    animation: platformWaves 8s ease-in-out infinite;
}

.wave.wave1 {
    animation-duration: 8s;
    opacity: 0.6;
}

.wave.wave2 {
    animation-duration: 12s;
    animation-direction: reverse;
    opacity: 0.4;
}

@keyframes platformWaves {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
}

.platform-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.nav-buoy {
    width: 50px;
    height: 50px;
    background: var(--gradient-waves);
    border: 3px solid var(--azure-blue);
    border-radius: 50%;
    color: var(--pearl-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-wave);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: buoyBob 3s ease-in-out infinite;
}

@keyframes buoyBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nav-buoy:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: var(--shadow-moderate);
}

.nav-buoy::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 20px;
    background: var(--azure-blue);
    border-radius: 2px;
}

.navigation-dots {
    display: flex;
    gap: var(--space-sm);
}

.navigation-dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 119, 190, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s var(--ease-wave);
    border: 2px solid transparent;
}

.navigation-dot.active {
    background: var(--coral-sunset);
    border-color: var(--coral-sunset);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Regatta Specials */
.regatta-specials {
    background: var(--gradient-horizon);
    position: relative;
    overflow: hidden;
}

.regatta-specials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'><path d='M0,40 C300,80 900,20 1200,60 L1200,0 L0,0 Z' fill='rgba(218,165,32,0.1)'/></svg>") repeat-x;
    animation: regattaWaves 15s ease-in-out infinite;
}

@keyframes regattaWaves {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-30px) translateY(5px); }
}

.regatta-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    position: relative;
    z-index: 1;
}

.regatta-fleet {
    position: relative;
    z-index: 1;
}

.fleet-formation {
    display: flex;
    transition: transform 0.6s var(--ease-tide);
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.regatta-boat {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.regatta-boat .boat-hull {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(0, 119, 190, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(64, 224, 208, 0.4);
    border-radius: 30px 30px 0 0;
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.6s var(--ease-wave);
    animation: boatRock 4s ease-in-out infinite;
}

@keyframes boatRock {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(1deg) translateY(-3px); }
    75% { transform: rotate(-1deg) translateY(-3px); }
}

.regatta-boat .boat-hull:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--coral-sunset);
    box-shadow: var(--shadow-lighthouse);
}

.regatta-boat .boat-hull::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 40px;
    background: var(--vieux-port-stone);
    border-radius: 2px;
}

.regatta-boat .boat-hull::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 55%;
    width: 20px;
    height: 15px;
    background: var(--coral-sunset);
    clip-path: polygon(0% 100%, 100% 100%, 80% 0%);
    animation: sailFlutter 3s ease-in-out infinite;
}

@keyframes sailFlutter {
    0%, 100% { transform: skew(0deg); }
    50% { transform: skew(5deg); }
}

.regatta-boat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    background: var(--gradient-lighthouse);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.regatta-boat h3 {
    font-family: var(--font-elegant);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pearl-white);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.regatta-boat p {
    color: var(--coastal-breeze);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
    flex-grow: 1;
}

.regatta-boat-price {
    background: var(--gradient-sunset);
    color: var(--pearl-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: 20px;
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s var(--ease-wave);
    margin-top: auto;
}

.regatta-boat .boat-hull:hover .regatta-boat-price {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.regatta-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    position: relative;
    z-index: 1;
}

.fleet-signal {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(218, 165, 32, 0.2));
    backdrop-filter: blur(10px);
    border: 2px solid var(--coral-sunset);
    border-radius: 50%;
    color: var(--coral-sunset);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-wave);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fleet-signal::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 3px;
    background: var(--coral-sunset);
    border-radius: 2px;
}

.fleet-signal:hover {
    background: var(--gradient-sunset);
    color: var(--pearl-white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.signal-flags {
    display: flex;
    gap: var(--space-sm);
}

.signal-flag {
    width: 8px;
    height: 12px;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-wave);
    position: relative;
}

.signal-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    height: 12px;
    background: var(--vieux-port-stone);
    border-radius: 1px;
}

.signal-flag.active {
    background: var(--coral-sunset);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

/* Loading States */
.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl);
    color: var(--mistral-silver);
    gap: var(--space-lg);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 119, 190, 0.3);
    border-top: 3px solid var(--azure-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Postcard Gallery */
.postcard-gallery {
    background: var(--gradient-sea);
    position: relative;
}

.postcard-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'><circle cx='10' cy='10' r='2' fill='rgba(248,249,250,0.1)'/><circle cx='30' cy='10' r='2' fill='rgba(248,249,250,0.1)'/><circle cx='50' cy='10' r='2' fill='rgba(248,249,250,0.1)'/><circle cx='70' cy='10' r='2' fill='rgba(248,249,250,0.1)'/><circle cx='90' cy='10' r='2' fill='rgba(248,249,250,0.1)'/></svg>") repeat;
    opacity: 0.3;
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    position: relative;
    z-index: 1;
}

.postcard-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.postcard-stamp {
    background: transparent;
    border: 3px dashed rgba(255, 107, 53, 0.5);
    border-radius: 10px;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    transition: all 0.3s var(--ease-wave);
    position: relative;
}

.postcard-stamp::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: var(--coral-sunset);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s var(--ease-wave);
}

.postcard-stamp.active::before,
.postcard-stamp:hover::before {
    opacity: 1;
}

.postcard-stamp:hover,
.postcard-stamp.active {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--coral-sunset);
    border-style: solid;
    transform: translateY(-2px);
}

.stamp-design {
    color: var(--pearl-white);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.postcard-stamp.active .stamp-design {
    color: var(--coral-sunset);
}

.postcard-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.postcard {
    background: var(--pearl-white);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.6s var(--ease-wave);
    box-shadow: var(--shadow-gentle);
    border: 3px solid rgba(0, 119, 190, 0.2);
}

.postcard::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 30px;
    border: 2px dashed var(--azure-blue);
    border-radius: 5px;
    z-index: 3;
    background: rgba(255, 107, 53, 0.1);
}

.postcard::after {
    content: '📮';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.2rem;
    z-index: 4;
}

.postcard:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-strong);
    border-color: var(--coral-sunset);
}

.postcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s var(--ease-tide);
    filter: brightness(0.9) contrast(1.1);
}

.postcard:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.3);
}

.postcard-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 35, 126, 0.95));
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-wave);
}

.postcard:hover .postcard-info {
    transform: translateY(0);
}

.postcard-title {
    font-family: var(--font-elegant);
    font-weight: 700;
    color: var(--pearl-white);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.postcard-description {
    color: var(--coastal-breeze);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Maritime Calendar Events */
.maritime-calendar {
    background: var(--gradient-horizon);
    position: relative;
    overflow: hidden;
}

.maritime-calendar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><circle cx='30' cy='30' r='1' fill='rgba(248,249,250,0.1)'/></svg>") repeat;
    animation: starsSparkle 20s linear infinite;
}

@keyframes starsSparkle {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(10px); }
}

.calendar-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4xl);
    align-items: start;
    margin-bottom: var(--space-4xl);
    position: relative;
    z-index: 1;
}

.header-content {
    padding-top: var(--space-lg);
}

.maritime-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
}

.horizon-line {
    position: absolute;
    left: 60px;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-waves);
    z-index: 1;
    border-radius: 2px;
}

.events-fleet {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

.event-ship {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.ship-date-buoy {
    width: 120px;
    height: 120px;
    background: var(--gradient-lighthouse);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--deep-sea);
    font-weight: 700;
    position: relative;
    z-index: 3;
    border: 4px solid var(--azure-blue);
    animation: buoyFloat 4s ease-in-out infinite;
}

@keyframes buoyFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

.ship-day {
    font-family: var(--font-elegant);
    font-size: 2.2rem;
    line-height: 1;
}

.ship-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.ship-hull {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(0, 119, 190, 0.85) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(64, 224, 208, 0.4);
    border-radius: 25px;
    padding: var(--space-2xl);
    transition: all 0.6s var(--ease-wave);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ship-hull::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-waves);
    opacity: 0.1;
    transition: left 0.6s var(--ease-tide);
}

.ship-hull:hover::before {
    left: 0;
}

.ship-hull:hover {
    transform: translateX(15px);
    border-color: var(--coral-sunset);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.ship-hull::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 3px;
    height: 30px;
    background: var(--vieux-port-stone);
    border-radius: 2px;
}

.event-title {
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pearl-white);
    margin-bottom: var(--space-md);
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.event-description {
    color: var(--coastal-breeze);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

.event-price-banner {
    display: inline-block;
    background: var(--gradient-sunset);
    color: var(--pearl-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Harbor Master Contact */
.harbor-master {
    background: var(--gradient-sea);
    position: relative;
    overflow: hidden;
}

.harbor-master::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><circle cx='100' cy='100' r='2' fill='rgba(248,249,250,0.05)'/><circle cx='150' cy='50' r='1' fill='rgba(64,224,208,0.1)'/><circle cx='50' cy='150' r='1' fill='rgba(255,107,53,0.1)'/></svg>") repeat;
    animation: harborLights 25s linear infinite;
}

@keyframes harborLights {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.harbor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.port-authority {
    position: sticky;
    top: 120px;
}

.authority-header {
    margin-bottom: var(--space-4xl);
}

.section-number.lighthouse-style {
    position: relative;
}

.section-number.lighthouse-style::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 100px;
    background: var(--gradient-lighthouse);
    border-radius: 10px 10px 0 0;
    opacity: 0.3;
}

.section-number.lighthouse-style::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--pearl-white);
    border-radius: 50%;
    animation: authorityBeacon 3s ease-in-out infinite;
}

@keyframes authorityBeacon {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(248, 249, 250, 0.7); }
    50% { opacity: 0.3; box-shadow: 0 0 0 15px rgba(248, 249, 250, 0); }
}

.port-information {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.info-buoy {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    background: rgba(26, 35, 126, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: 25px;
    padding: var(--space-2xl);
    transition: all 0.4s var(--ease-wave);
    position: relative;
    overflow: hidden;
}

.info-buoy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    transition: left 0.6s var(--ease-tide);
}

.info-buoy:hover::before {
    left: 100%;
}

.info-buoy:hover {
    border-color: var(--coral-sunset);
    transform: translateX(10px);
    box-shadow: var(--shadow-moderate);
}

.buoy-light {
    width: 60px;
    height: 60px;
    background: var(--gradient-lighthouse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    animation: buoyGlow 4s ease-in-out infinite;
}

@keyframes buoyGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
}

.buoy-content h4 {
    font-family: var(--font-elegant);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pearl-white);
    margin-bottom: var(--space-sm);
}

.buoy-content p {
    color: var(--coastal-breeze);
    line-height: 1.6;
}

.buoy-content em {
    color: var(--coral-sunset);
    font-style: italic;
    font-weight: 600;
}

/* Booking Platform */
.booking-platform {
    background: rgba(26, 35, 126, 0.9);
    backdrop-filter: blur(25px);
    border: 3px solid rgba(64, 224, 208, 0.4);
    border-radius: 30px;
    padding: var(--space-4xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.booking-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-waves);
    opacity: 0.05;
    z-index: -1;
}

.platform-mast {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 4px;
    height: 60px;
    background: var(--vieux-port-stone);
    border-radius: 2px;
}

.mast-flag {
    position: absolute;
    top: 5px;
    right: 0;
    width: 20px;
    height: 12px;
    background: var(--coral-sunset);
    clip-path: polygon(0% 0%, 100% 0%, 80% 50%, 100% 100%, 0% 100%);
    animation: flagFlutter 3s ease-in-out infinite;
}

@keyframes flagFlutter {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.9); }
}

.maritime-form {
    position: relative;
    z-index: 1;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.form-header h3 {
    font-family: var(--font-elegant);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--pearl-white);
    margin-bottom: var(--space-md);
}

.form-header p {
    color: var(--coastal-breeze);
    line-height: 1.6;
    font-size: 1.1rem;
}

.form-deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.form-field {
    position: relative;
    margin-bottom: var(--space-xl);
}

.form-field.full-deck {
    grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid rgba(64, 224, 208, 0.3);
    color: var(--pearl-white);
    font-size: 1.1rem;
    padding: var(--space-lg) 0;
    transition: all 0.4s var(--ease-wave);
    outline: none;
    font-family: var(--font-primary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: var(--coral-sunset);
}

.form-field input:focus + label,
.form-field select:focus + label,
.form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field select:not([value=""]) + label,
.form-field textarea:not(:placeholder-shown) + label {
    transform: translateY(-25px) scale(0.8);
    color: var(--coral-sunset);
}

.form-field label {
    position: absolute;
    top: var(--space-lg);
    left: 0;
    color: var(--mistral-silver);
    font-size: 1.1rem;
    pointer-events: none;
    transition: all 0.4s var(--ease-wave);
    transform-origin: left top;
}

.field-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-sunset);
    transition: width 0.4s var(--ease-wave);
    border-radius: 2px;
}

.form-field input:focus ~ .field-wave,
.form-field select:focus ~ .field-wave,
.form-field textarea:focus ~ .field-wave {
    width: 100%;
}

.lighthouse-submit {
    width: 100%;
    background: var(--gradient-lighthouse);
    color: var(--deep-sea);
    border: none;
    border-radius: 30px;
    padding: var(--space-xl);
    font-weight: 800;
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-wave);
    margin-top: var(--space-2xl);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.lighthouse-submit:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lighthouse);
}

.submit-beacon {
    width: 12px;
    height: 12px;
    background: var(--deep-sea);
    border-radius: 50%;
    animation: submitPulse 2s ease-in-out infinite;
}

@keyframes submitPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 35, 126, 0.7);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.3);
        box-shadow: 0 0 0 10px rgba(26, 35, 126, 0);
    }
}

.submit-waves {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--ease-tide);
}

.lighthouse-submit:hover .submit-waves {
    left: 100%;
}

/* Marine Weather Station Footer */
.marine-weather-station {
    background: var(--gradient-horizon);
    border-top: 3px solid rgba(64, 224, 208, 0.4);
    position: relative;
    overflow: hidden;
}

.marine-weather-station::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M20,50 Q50,20 80,50 T140,50' stroke='rgba(64,224,208,0.1)' stroke-width='2' fill='none'/></svg>") repeat-x;
    animation: weatherPattern 30s linear infinite;
}

@keyframes weatherPattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200px); }
}

.station-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-5xl) var(--space-xl) var(--space-2xl);
    position: relative;
    z-index: 1;
}

.weather-instruments {
    background: rgba(26, 35, 126, 0.9);
    backdrop-filter: blur(25px);
    border: 3px solid rgba(64, 224, 208, 0.4);
    border-radius: 30px;
    padding: var(--space-3xl);
    margin-bottom: var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.weather-instruments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-waves);
    opacity: 0.05;
    z-index: -1;
}

.weather-instruments h4 {
    font-family: var(--font-elegant);
    font-size: 2rem;
    font-weight: 800;
    color: var(--pearl-white);
    margin-bottom: var(--space-2xl);
}

.instruments-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.instrument {
    background: rgba(0, 119, 190, 0.2);
    border: 2px solid rgba(64, 224, 208, 0.4);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    transition: all 0.4s var(--ease-wave);
}

.instrument:hover {
    background: rgba(0, 119, 190, 0.3);
    border-color: var(--coral-sunset);
    transform: scale(1.05);
}

.instrument-value {
    font-family: var(--font-elegant);
    font-size: 2rem;
    font-weight: 800;
    color: var(--coral-sunset);
    line-height: 1;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.instrument-label {
    font-size: 0.8rem;
    color: var(--coastal-breeze);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
}

.instrument-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: var(--coral-sunset);
    border-radius: 1px;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(45deg);
    animation: needleSwing 4s ease-in-out infinite;
}

@keyframes needleSwing {
    0%, 100% { transform: translate(-50%, -100%) rotate(30deg); }
    50% { transform: translate(-50%, -100%) rotate(60deg); }
}

.weather-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    font-size: 0.9rem;
    color: var(--mistral-silver);
}

.status-light {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.lighthouse-pulse {
    width: 12px;
    height: 12px;
    background: var(--coral-sunset);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
}

.lighthouse-pulse.offline {
    background: var(--mistral-silver);
    animation: none;
}

.station-identity {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-2xl);
    border-top: 2px solid rgba(64, 224, 208, 0.3);
}

.station-beacon {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.beacon-tower {
    width: 70px;
    height: 100px;
    background: var(--gradient-lighthouse);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--deep-sea);
    position: relative;
}

.beacon-light {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--pearl-white);
    border-radius: 50%;
    animation: stationBeacon 3s ease-in-out infinite;
}

@keyframes stationBeacon {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(248, 249, 250, 0.7); }
    50% { opacity: 0.3; box-shadow: 0 0 0 15px rgba(248, 249, 250, 0); }
}

.station-info {
    display: flex;
    flex-direction: column;
}

.station-name {
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--azure-blue);
    line-height: 1;
    letter-spacing: 1px;
}

.station-call {
    font-family: var(--font-script);
    font-size: 1rem;
    color: var(--mistral-silver);
    font-style: italic;
    margin-top: 2px;
}

.station-log {
    color: var(--coastal-breeze);
    line-height: 1.6;
}

.station-log p {
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

/* Event Detail Page */
.event-detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px var(--space-xl) var(--space-5xl);
}

.return-to-port {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--mistral-silver);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: var(--space-3xl);
    padding: var(--space-md) var(--space-xl);
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: 25px;
    transition: all 0.3s var(--ease-wave);
    background: rgba(26, 35, 126, 0.3);
    backdrop-filter: blur(10px);
}

.return-to-port:hover {
    color: var(--coral-sunset);
    border-color: var(--coral-sunset);
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(-8px);
}

.return-icon {
    font-size: 1.2rem;
    transition: transform 0.3s var(--ease-wave);
}

.return-to-port:hover .return-icon {
    transform: translateX(-3px);
}

.event-detail-hero {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.event-detail-banner {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: var(--space-3xl);
    border: 3px solid rgba(64, 224, 208, 0.4);
    position: relative;
    height: 400px;
    box-shadow: var(--shadow-strong);
}

.event-detail-body {
    background: rgba(26, 35, 126, 0.9);
    backdrop-filter: blur(25px);
    border: 3px solid rgba(64, 224, 208, 0.4);
    border-radius: 30px;
    padding: var(--space-4xl);
    box-shadow: var(--shadow-strong);
}

/* Maritime Lightbox */
.maritime-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.maritime-lightbox.active {
    display: flex;
}

.lightbox-ocean {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(15px);
}

.lightbox-vessel {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 119, 190, 0.1);
    border: 3px solid rgba(64, 224, 208, 0.4);
    border-radius: 25px;
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
}

.lightbox-harbor {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.2);
    border: 3px solid var(--coral-sunset);
    border-radius: 50%;
    color: var(--pearl-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-wave);
}

.lightbox-harbor:hover {
    background: var(--coral-sunset);
    color: var(--pearl-white);
    transform: scale(1.1);
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 119, 190, 0.2);
    border: 3px solid var(--azure-blue);
    border-radius: 50%;
    color: var(--pearl-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-wave);
    backdrop-filter: blur(10px);
}

.lightbox-navigation:hover {
    background: var(--azure-blue);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-navigation.port {
    left: -80px;
}

.lightbox-navigation.starboard {
    right: -80px;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 20px;
    border: 3px solid rgba(64, 224, 208, 0.3);
    object-fit: contain;
    box-shadow: var(--shadow-moderate);
}

.lightbox-log {
    text-align: center;
    margin-top: var(--space-xl);
    max-width: 600px;
    padding: var(--space-lg);
    background: rgba(26, 35, 126, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.lightbox-log h4 {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pearl-white);
    margin-bottom: var(--space-sm);
}

.lightbox-log p {
    color: var(--coastal-breeze);
    line-height: 1.6;
}

/* Responsive Design - Maritime Style */
@media (max-width: 1200px) {
    .nav-compass {
        display: none;
    }
    
    .navbar-container {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }
    
    .port-berths {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .harbor-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .port-authority {
        position: static;
    }
    
    .station-identity {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
}

@media (max-width: 1024px) {
    .lighthouse-beacon {
        display: none;
    }
    
    .mobile-helm {
        display: flex;
    }
    
    .section-harbor {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .calendar-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .horizon-line {
        left: 30px;
    }
    
    .event-ship {
        grid-template-columns: 80px 1fr;
        gap: var(--space-xl);
    }
    
    .ship-date-buoy {
        width: 80px;
        height: 80px;
    }
    
    .ship-day {
        font-size: 1.8rem;
    }
    
    .ship-month {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: var(--space-lg);
    }
    
    .brand-anchor {
        gap: var(--space-md);
    }
    
    .anchor-symbol {
        width: 45px;
        height: 45px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
    }
    
    .section-container {
        padding: var(--space-4xl) var(--space-lg);
    }
    
    .hero-content-container {
        padding: 0 var(--space-lg);
    }
    
    .hero-action-waves {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .wave-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-deck {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .instruments-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .luxury-yacht-berth {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .yacht-cabin {
        height: 250px;
        order: -1;
    }
    
    .lightbox-navigation {
        display: none;
    }
    
    .lightbox-harbor {
        top: -50px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .postcard-filters {
        gap: var(--space-md);
    }
    
    .postcard-stamp {
        padding: var(--space-sm) var(--space-md);
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: var(--space-3xl) var(--space-md);
    }
    
    .hero-content-container {
        padding: 0 var(--space-md);
    }
    
    .booking-platform {
        padding: var(--space-2xl);
    }
    
    .weather-instruments {
        padding: var(--space-xl);
    }
    
    .instruments-panel {
        grid-template-columns: 1fr;
    }
    
    .instrument {
        width: 120px;
        height: 120px;
    }
    
    .instrument-value {
        font-size: 1.5rem;
    }
    
    .boat-berth {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .event-detail-wrapper {
        padding: 100px var(--space-md) var(--space-3xl);
    }
    
    .event-detail-body {
        padding: var(--space-2xl);
    }
    
    .postcard-collection {
        grid-template-columns: 1fr;
    }
    
    .regatta-boat {
        flex-direction: column;
        align-items: center;
    }
    
    .regatta-boat .boat-hull {
        min-width: 280px;
        max-width: 100%;
    }
}

/* Accessibility - Maritime Style */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-wave,
    .floating-seagull,
    .floating-boat,
    .anchor-ring,
    .compass-rose::before,
    .beacon-light,
    .lighthouse-light,
    .wave-layer,
    .buoy-float,
    .needle-swing {
        animation: none !important;
    }
}

/* Print Styles - Maritime */
@media print {
    .mediterranean-navbar,
    .mobile-nav-port,
    .maritime-atmosphere,
    .scroll-anchor,
    .maritime-lightbox {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .mediterranean-hero {
        height: auto;
        padding: var(--space-2xl);
    }
    
    * {
        background: transparent !important;
        color: black !important;
        border-color: black !important;
    }
    
    .section-title,
    .brand-name {
        color: #000080 !important;
    }
    
    .title-accent,
    .section-subtitle {
        color: #ff6b35 !important;
    }
}

/* Dark Mode Override for Maritime Theme */
@media (prefers-color-scheme: light) {
    :root {
        --deep-sea: #e6f3ff;
        --pearl-white: #ffffff;
        --coastal-breeze: rgba(248, 249, 250, 0.8);
        --mistral-silver: rgba(64, 224, 208, 0.4);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --azure-blue: #0000ff;
        --coral-sunset: #ff0000;
        --pearl-white: #ffffff;
        --deep-sea: #000000;
    }
    
    .mediterranean-navbar {
        border-bottom-width: 4px;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        border-bottom-width: 4px;
    }
    
    .postcard,
    .boat-berth,
    .service-platform,
    .info-buoy {
        border-width: 4px;
    }
}

/* Focus Styles - Maritime Navigation */
.nav-point:focus,
.beacon-btn:focus,
.dock-item:focus,
.wave-btn:focus,
.embark-btn:focus,
.nav-buoy:focus,
.fleet-signal:focus,
.postcard-stamp:focus,
.lighthouse-submit:focus,
.return-to-port:focus {
    outline: 3px solid var(--coral-sunset);
    outline-offset: 2px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid var(--coral-sunset);
    outline-offset: 2px;
}

/* Custom Selections */
::selection {
    background: rgba(255, 107, 53, 0.3);
    color: var(--pearl-white);
}

::-moz-selection {
    background: rgba(255, 107, 53, 0.3);
    color: var(--pearl-white);
}

/* Smooth Scroll Padding */
html {
    scroll-padding-top: 120px;
}

/* Loading State Improvements */
.loading-content {
    min-height: 200px;
}

.loading-spinner {
    border-color: rgba(0, 119, 190, 0.3);
    border-top-color: var(--azure-blue);
}

/* Performance Optimizations */
.maritime-atmosphere,
.hero-horizon,
.floating-platforms-grid,
.regatta-fleet,
.postcard-collection {
    will-change: transform;
}

/* Reduced Motion Fallbacks */
@media (prefers-reduced-motion: reduce) {
    .wave-btn:hover,
    .boat-berth:hover,
    .service-platform:hover,
    .postcard:hover {
        transform: none;
    }
}