@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a1128 0%, #001f54 50%, #034078 100%);
    color: #e8f4f8;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated wave background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(45, 139, 139, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 218, 220, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(52, 152, 219, 0.08) 0%, transparent 50%);
    animation: waveShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes waveShift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
        opacity: 0.8;
    }
}

/* Floating particles effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(168, 218, 220, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(45, 139, 139, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100px);
    }
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Futuristic Header */
header {
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 2px solid rgba(45, 139, 139, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(45, 139, 139, 0.1);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    flex: 1;
    min-width: 200px;
}

.site-title a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #a8dadc;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    text-shadow: 0 0 20px rgba(168, 218, 220, 0.5);
}

.site-title a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2d8b8b, #a8dadc);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(45, 139, 139, 0.8);
}

.site-title a:hover::after {
    width: 100%;
}

.site-title a:hover {
    color: #2d8b8b;
    text-shadow: 0 0 30px rgba(45, 139, 139, 0.8);
}

.site-tagline {
    font-size: 0.85rem;
    color: #7fb3d5;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0.3rem;
    font-weight: 300;
}

/* Navigation Menu */
#menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

#menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

#menu li {
    margin: 0 1rem;
    font-size: 1rem;
    line-height: 2.5rem;
    position: relative;
}

#menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2d8b8b, #a8dadc);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(45, 139, 139, 0.6);
}

#menu li:hover::after {
    width: 100%;
}

#menu a {
    text-decoration: none;
    color: #a8dadc;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

#menu li:hover a {
    color: #2d8b8b;
    text-shadow: 0 0 15px rgba(45, 139, 139, 0.6);
}

/* Hero Section with Fluid Design */
.hero-section {
    text-align: center;
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
            rgba(10, 17, 40, 0.8) 0%,
            rgba(0, 31, 84, 0.6) 50%,
            rgba(3, 64, 120, 0.4) 100%);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #a8dadc;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 15px;
    position: relative;
    text-shadow:
        0 0 40px rgba(168, 218, 220, 0.6),
        0 0 80px rgba(45, 139, 139, 0.4);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow:
            0 0 40px rgba(168, 218, 220, 0.6),
            0 0 80px rgba(45, 139, 139, 0.4);
    }

    50% {
        text-shadow:
            0 0 60px rgba(168, 218, 220, 0.8),
            0 0 120px rgba(45, 139, 139, 0.6);
    }
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2d8b8b, #a8dadc, transparent);
    box-shadow: 0 0 20px rgba(45, 139, 139, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7fb3d5;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 2.5rem;
}

/* Animated Wave SVG */
.wave-container {
    width: 100%;
    height: 150px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.wave-svg {
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.wave-path {
    animation: waveMotion 8s ease-in-out infinite;
}

@keyframes waveMotion {

    0%,
    100% {
        d: path("M0,80 Q250,60 500,80 T1000,80 T1500,80 V150 H0 Z");
    }

    50% {
        d: path("M0,70 Q250,90 500,70 T1000,70 T1500,70 V150 H0 Z");
    }
}

/* Seas Gallery - Fluid Grid */
.seas-gallery {
    max-width: 1600px;
    margin: 4rem auto;
    padding: 0 2rem 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Sea Card with Liquid Effect */
.sea-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
    z-index: 1;
}

.sea-card:hover {
    transform: translateY(-25px) scale(1.02);
    z-index: 10;
}

/* Glass morphism card container */
.card-container {
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg,
            rgba(10, 17, 40, 0.7) 0%,
            rgba(45, 139, 139, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(168, 218, 220, 0.2);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(45, 139, 139, 0.2),
        inset 0 0 30px rgba(168, 218, 220, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sea-card:hover .card-container {
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(45, 139, 139, 0.5),
        inset 0 0 50px rgba(168, 218, 220, 0.1);
    border-color: rgba(45, 139, 139, 0.5);
}

/* Flowing accent line */
.accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            #2d8b8b,
            #a8dadc,
            #2d8b8b);
    background-size: 200% 100%;
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(45, 139, 139, 0.8);
}

.sea-card:hover .accent-line {
    transform: scaleX(1);
    animation: flowingGradient 3s linear infinite;
}

@keyframes flowingGradient {
    0% {
        background-position: 0% 50%;
    }

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

/* Image Container with Ripple Effect */
.sea-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 20px;
}

/* Portrait orientation - manually add this class to portrait images */
.sea-image-wrapper.portrait {
    aspect-ratio: 3/4;
}

.sea-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            transparent 20%,
            rgba(10, 17, 40, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.sea-card:hover .sea-image-wrapper::before {
    opacity: 0.3;
}

/* Ripple overlay effect */
.sea-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(168, 218, 220, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(45, 139, 139, 0.15) 0%, transparent 35%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.sea-card:hover .sea-image-wrapper::after {
    opacity: 1;
    animation: rippleEffect 2s ease-in-out infinite;
}

@keyframes rippleEffect {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.sea-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(0.9) contrast(1.1) brightness(0.9);
}

.sea-card:hover .sea-image {
    transform: scale(1.15);
    filter: saturate(1.3) contrast(1.2) brightness(1.05);
}

/* Sea Info Overlay */
.sea-info {
    position: relative;
    padding: 2.5rem;
    z-index: 5;
    background: linear-gradient(to top,
            rgba(10, 17, 40, 0.98) 0%,
            rgba(10, 17, 40, 0.85) 60%,
            transparent 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(168, 218, 220, 0.1);
    transform: translateY(calc(100% - 110px));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.sea-card:hover .sea-info {
    transform: translateY(0);
    background: linear-gradient(to top,
            rgba(10, 17, 40, 0.98) 0%,
            rgba(10, 17, 40, 0.92) 80%,
            transparent 100%);
}

.sea-name {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #a8dadc;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    transition: all 0.4s ease;
    text-shadow: 0 0 20px rgba(168, 218, 220, 0.4);
}

.sea-card:hover .sea-name {
    color: #2d8b8b;
    text-shadow: 0 0 30px rgba(45, 139, 139, 0.8);
}

.sea-location {
    font-size: 0.9rem;
    color: #7fb3d5;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.sea-description {
    color: #b8d4e8;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.sea-card:hover .sea-description {
    opacity: 1;
    transform: translateY(0);
}

/* Liquid corner indicator */
.corner-indicator {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    z-index: 4;
    transition: all 0.5s ease;
    opacity: 0.5;
}

.corner-indicator::before,
.corner-indicator::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #2d8b8b, #a8dadc);
    box-shadow: 0 0 15px rgba(45, 139, 139, 0.6);
    transition: all 0.5s ease;
}

.corner-indicator::before {
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
}

.corner-indicator::after {
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    border-radius: 2px;
}

.sea-card:hover .corner-indicator {
    opacity: 1;
    width: 60px;
    height: 60px;
}

.sea-card:hover .corner-indicator::before,
.sea-card:hover .corner-indicator::after {
    box-shadow: 0 0 25px rgba(45, 139, 139, 1);
}

/* Footer with Holographic Effect */
footer {
    background: linear-gradient(135deg,
            rgba(10, 17, 40, 0.95) 0%,
            rgba(0, 31, 84, 0.9) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 2px solid rgba(45, 139, 139, 0.3);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    color: #a8dadc;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(168, 218, 220, 0.4);
}

#langsection {
    padding-top: 2rem;
}

#langlist {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(45, 139, 139, 0.2) 0%,
            rgba(168, 218, 220, 0.1) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 0.5rem;
    border: 2px solid rgba(168, 218, 220, 0.2);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(168, 218, 220, 0.05);
    margin-bottom: 2rem;
}

#langlist li {
    display: inline-block;
    list-style: none;
    margin: 0.3rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.4s ease;
}

#langlist a {
    text-decoration: none;
    color: #7fb3d5;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
}

#langlist .highlight {
    background: linear-gradient(135deg, #2d8b8b, #1a6b6b);
    box-shadow: 0 5px 20px rgba(45, 139, 139, 0.5);
}

#langlist .highlight a {
    color: #e8f4f8;
    font-weight: bold;
}

#langlist li:not(.highlight):hover {
    background: rgba(45, 139, 139, 0.3);
    box-shadow: 0 5px 15px rgba(45, 139, 139, 0.3);
}

#langlist li:not(.highlight):hover a {
    color: #a8dadc;
    text-shadow: 0 0 10px rgba(168, 218, 220, 0.5);
}

.footer-credits {
    color: #7fb3d5;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 2rem;
    font-weight: 300;
}

.footer-credits strong {
    color: #a8dadc;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .site-branding {
        margin-bottom: 1rem;
    }

    #menu {
        justify-content: center;
    }

    #menu ul {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 8px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .sea-card {
        }

    .sea-name {
        font-size: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .site-title a {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .site-tagline {
        font-size: 0.75rem;
    }

    #menu li {
        margin: 0 0.5rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sea-card {
        }

    .sea-name {
        font-size: 1.8rem;
    }

    .sea-info {
        padding: 2rem;
        transform: translateY(calc(100% - 100px));
    }
}
