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

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

body {
    font-family: 'Rajdhani', 'Arial', sans-serif;
    background: linear-gradient(180deg,
            #1a0a2e 0%,
            #3d1a52 15%,
            #7b2d5f 30%,
            #c94277 45%,
            #ff6b6b 60%,
            #ffa500 75%,
            #ffd700 90%,
            #ffe4b5 100%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated sunset shimmer effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 80% 60%, rgba(255, 165, 0, 0.12) 2px, transparent 2px),
        radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.10) 2px, transparent 2px);
    background-size: 120px 120px, 90px 90px, 150px 150px;
    background-position: 0 0, 60px 80px, 30px 50px;
    pointer-events: none;
    z-index: 0;
    animation: sunsetShimmer 35s linear infinite;
}

@keyframes sunsetShimmer {
    0% {
        background-position: 0 0, 60px 80px, 30px 50px;
    }

    100% {
        background-position: 120px 120px, 150px 170px, 180px 200px;
    }
}

/* Golden hour glow effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 30% 20%, rgba(255, 165, 0, 0.20) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 107, 107, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.10) 0%, transparent 70%);
    animation: goldenGlow 18s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes goldenGlow {
    0% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
}

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

/* Futuristic Header */
header {
    background: linear-gradient(135deg,
            rgba(26, 10, 46, 0.95) 0%,
            rgba(61, 26, 82, 0.92) 50%,
            rgba(123, 45, 95, 0.90) 100%);
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(35px);
    border-bottom: 3px solid rgba(255, 165, 0, 0.6);
    padding: 1.5rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 40px rgba(255, 107, 107, 0.4),
        0 0 70px rgba(255, 165, 0, 0.15) inset;
    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: 2.6rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 30%, #ff6b6b 70%, #c94277 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 14px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(255, 165, 0, 0.6));
}

.site-title a:hover {
    filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.9));
    letter-spacing: 18px;
}

.site-tagline {
    font-size: 1rem;
    color: #ffa500;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 400;
    font-family: 'Audiowide', sans-serif;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

/* 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 1.5rem;
    font-size: 1.05rem;
    line-height: 2.5rem;
    position: relative;
}

#menu li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500, #ffd700);
    transition: width 0.4s ease;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
}

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

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

#menu li:hover a {
    color: #ffd700;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
            rgba(26, 10, 46, 0.85) 0%,
            rgba(61, 26, 82, 0.7) 50%,
            rgba(123, 45, 95, 0.6) 100%);
}

.hero-title {
    font-size: 7rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 25%, #ff6b6b 50%, #c94277 75%, #7b2d5f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 28px;
    position: relative;
    filter: drop-shadow(0 0 55px rgba(255, 165, 0, 0.7));
    animation: sunsetPulse 6s ease-in-out infinite;
}

@keyframes sunsetPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 55px rgba(255, 165, 0, 0.7));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 85px rgba(255, 215, 0, 0.95));
        transform: scale(1.04);
    }
}

.hero-subtitle {
    font-size: 1.7rem;
    color: #ffa500;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 2rem;
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
    font-family: 'Audiowide', sans-serif;
}

/* Sunset Reflection SVG Animation */
.sunset-svg {
    width: 100%;
    height: 350px;
    margin-top: 3rem;
}

.horizon-line {
    stroke: #ffa500;
    stroke-width: 4;
    fill: none;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.8));
    animation: horizonWave 5s ease-in-out infinite;
}

@keyframes horizonWave {

    0%,
    100% {
        d: path("M 0 175 Q 150 170 300 175 T 600 175 T 900 175 T 1200 175");
    }

    50% {
        d: path("M 0 175 Q 150 180 300 175 T 600 175 T 900 175 T 1200 175");
    }
}

.sun {
    fill: url(#sunGradient);
    opacity: 0;
    animation: sunRise 2s ease-out 0.5s forwards;
    filter: drop-shadow(0 0 40px rgba(255, 165, 0, 0.9));
}

@keyframes sunRise {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sun-reflection {
    fill: url(#sunReflectionGradient);
    opacity: 0;
    animation: reflectionAppear 2.5s ease-out 1.2s forwards;
    filter: blur(3px) drop-shadow(0 0 20px rgba(255, 107, 107, 0.5));
}

@keyframes reflectionAppear {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.6;
    }
}

.sun-ray {
    stroke: #ffd700;
    stroke-width: 3;
    opacity: 0;
    animation: rayExpand 3s ease-out infinite;
}

.sun-ray:nth-child(1) {
    animation-delay: 0s;
}

.sun-ray:nth-child(2) {
    animation-delay: 0.5s;
}

.sun-ray:nth-child(3) {
    animation-delay: 1s;
}

.sun-ray:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes rayExpand {
    0% {
        opacity: 0;
        stroke-width: 3;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        stroke-width: 1;
    }
}

.water-ripple {
    stroke: #ff6b6b;
    stroke-width: 2;
    fill: none;
    opacity: 0;
    animation: rippleExpand 5s ease-out infinite;
}

.water-ripple:nth-child(1) {
    animation-delay: 0s;
}

.water-ripple:nth-child(2) {
    animation-delay: 1.7s;
}

.water-ripple:nth-child(3) {
    animation-delay: 3.4s;
}

@keyframes rippleExpand {
    0% {
        r: 15;
        opacity: 0.9;
    }

    100% {
        r: 80;
        opacity: 0;
    }
}

/* Sunset Gallery Section */
.sunset-gallery {
    max-width: 1600px;
    margin: 3rem auto;
    padding: 0 2rem 4rem;
}

.region-section {
    margin-bottom: 4.5rem;
}

.region-title {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 30px;
}

.region-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 90%;
    background: linear-gradient(180deg, #ffd700, #ffa500, #ff6b6b);
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.9);
    border-radius: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    justify-items: center;
}

.gallery-grid .sunset-card {
    max-width: 500px;
    width: 100%;
}

/* Sunset Card */
.sunset-card {
    position: relative;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
    z-index: 1;
}

.sunset-card:hover {
    transform: translateY(-30px) scale(1.05);
    z-index: 10;
}

.card-container {
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(180deg,
            rgba(61, 26, 82, 0.95) 0%,
            rgba(123, 45, 95, 0.92) 50%,
            rgba(201, 66, 119, 0.90) 100%);
    border-radius: 18px;
    border: 2px solid rgba(255, 165, 0, 0.5);
    box-shadow: 0 12px 60px rgba(255, 107, 107, 0.4),
        0 0 40px rgba(255, 165, 0, 0.2) inset;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sunset-card:hover .card-container {
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 35px 90px rgba(255, 165, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.4) inset;
}

/* Sunset glow waves overlay */
.sunset-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.sunset-card:hover .sunset-waves {
    opacity: 1;
}

.glow-line {
    position: absolute;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 215, 0, 0.35),
            rgba(255, 165, 0, 0.35),
            transparent);
    width: 100%;
    height: 2px;
    animation: glowFlow 4s ease-in-out infinite;
}

.glow-line:nth-child(1) {
    top: 25%;
    animation-delay: 0s;
}

.glow-line:nth-child(2) {
    top: 45%;
    animation-delay: 1.2s;
}

.glow-line:nth-child(3) {
    top: 65%;
    animation-delay: 2.4s;
}

.glow-line:nth-child(4) {
    top: 85%;
    animation-delay: 0.8s;
}

@keyframes glowFlow {

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

    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

/* Golden hour scan effect */
.golden-scan {
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
            transparent,
            rgba(255, 215, 0, 0.4),
            rgba(255, 165, 0, 0.3),
            transparent);
    z-index: 3;
    pointer-events: none;
}

.sunset-card:hover .golden-scan {
    animation: goldenScan 3.5s ease-in-out;
}

@keyframes goldenScan {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

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

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

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 165, 0, 0.12) 0%,
            transparent 50%,
            rgba(255, 107, 107, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.6s ease;
}

.sunset-card:hover .image-wrapper::before {
    opacity: 0.8;
}

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

.sunset-card:hover .sunset-image {
    transform: scale(1.2);
    filter: saturate(1.3) contrast(1.25) brightness(1.08);
}

/* Location Info Overlay */
.sunset-info {
    position: relative;
    padding: 2.2rem;
    z-index: 15;
    background: linear-gradient(to top,
            rgba(26, 10, 46, 0.98) 0%,
            rgba(61, 26, 82, 0.92) 70%,
            transparent 100%);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border-radius: 0 0 18px 18px;
    border-top: 1px solid rgba(255, 165, 0, 0.5);
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.sunset-location {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    color: #ffa500;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    transition: all 0.3s ease;
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.6);
}

.sunset-card:hover .sunset-location {
    color: #ffd700;
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.9);
}

/* Golden corner frames */
.golden-frame {
    position: absolute;
    z-index: 14;
    pointer-events: none;
    transition: all 0.6s ease;
}

.gf-tl {
    top: 14px;
    left: 14px;
    width: 50px;
    height: 50px;
    border-top: 4px solid rgba(255, 165, 0, 0.6);
    border-left: 4px solid rgba(255, 165, 0, 0.6);
    border-radius: 12px 0 0 0;
}

.gf-tr {
    top: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
    border-top: 4px solid rgba(255, 165, 0, 0.6);
    border-right: 4px solid rgba(255, 165, 0, 0.6);
    border-radius: 0 12px 0 0;
}

.gf-bl {
    bottom: 14px;
    left: 14px;
    width: 50px;
    height: 50px;
    border-bottom: 4px solid rgba(255, 165, 0, 0.6);
    border-left: 4px solid rgba(255, 165, 0, 0.6);
    border-radius: 0 0 0 12px;
}

.gf-br {
    bottom: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
    border-bottom: 4px solid rgba(255, 165, 0, 0.6);
    border-right: 4px solid rgba(255, 165, 0, 0.6);
    border-radius: 0 0 12px 0;
}

.sunset-card:hover .golden-frame {
    border-color: rgba(255, 215, 0, 0.95);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.9);
}

.sunset-card:hover .gf-tl,
.sunset-card:hover .gf-br {
    width: 60px;
    height: 60px;
}

.sunset-card:hover .gf-tr,
.sunset-card:hover .gf-bl {
    width: 60px;
    height: 60px;
}

/* Footer */
footer {
    background: linear-gradient(135deg,
            rgba(26, 10, 46, 0.97) 0%,
            rgba(61, 26, 82, 0.95) 50%,
            rgba(123, 45, 95, 0.93) 100%);
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(35px);
    border-top: 3px solid rgba(255, 165, 0, 0.6);
    padding: 3.5rem 2rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 -6px 50px rgba(255, 107, 107, 0.4);
}

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

.footer-title {
    font-size: 1.5rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-credits {
    color: #ffa500;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-top: 2rem;
    font-weight: 400;
    font-family: 'Rajdhani', sans-serif;
}

.footer-credits strong {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
}

/* 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(320px, 1fr));
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 4.5rem;
        letter-spacing: 18px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        letter-spacing: 7px;
    }

    .sunset-card {
        }

    .sunset-location {
        font-size: 1.7rem;
    }
}

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

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

    #menu li {
        margin: 0 0.6rem;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 3.2rem;
        letter-spacing: 12px;
    }

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

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

    .sunset-card {
        }

    .sunset-location {
        font-size: 1.5rem;
    }

    .sunset-info {
        padding: 1.7rem;
    }

    .region-title {
        font-size: 2.2rem;
    }
}

#langlist {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg, 1rem);
    padding: 0;
    margin: 0;
}

#langlist li {
    position: relative;
}

#langlist a {
    text-decoration: none;
    color: var(--text-muted, inherit);
    font-size: var(--text-sm, 0.95rem);
    letter-spacing: 0.08em;
    padding: var(--space-sm, 0.5rem) var(--space-md, 1rem);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    background: rgba(212, 165, 116, 0.06);
    border: 1px solid rgba(212, 165, 116, 0.15);
    white-space: nowrap;
}

#langlist a:hover {
    background: rgba(212, 165, 116, 0.12);
    border-color: rgba(212, 165, 116, 0.3);
    color: var(--baltic-deep-amber, currentColor);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.12));
}

#langlist .highlight a {
    background: linear-gradient(135deg, var(--baltic-deep-teal, #0f766e), var(--baltic-amber, #d4a574));
    color: var(--baltic-cream, #fffaf0);
    border-color: var(--baltic-deep-amber, #b7791f);
}
