@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=Exo+2:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Rajdhani', 'Arial', sans-serif;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 25%, #0f1629 50%, #1e2742 75%, #0d1226 100%);
    color: #e0e7ff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated starfield background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 33% 85%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 15% 65%, rgba(255, 255, 255, 0.6), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: starTwinkle 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 1;
        background-position: 0% 0%;
    }

    50% {
        opacity: 0.7;
        background-position: 100% 100%;
    }
}

/* Glowing light beams */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 200, 100, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 30%, rgba(100, 150, 255, 0.06) 0%, transparent 35%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 150, 200, 0.05) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 60%, rgba(150, 255, 200, 0.04) 0%, transparent 40%);
    animation: lightRotate 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes lightRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

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

/* Futuristic Header */
header {
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 2px solid rgba(100, 150, 255, 0.5);
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.6);
    padding: 1.5rem 3rem;
    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: 2.6rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #64b5f6 0%, #ffd740 50%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 215, 64, 0.6));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 64, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(100, 181, 246, 0.8));
    }
}

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

.site-tagline {
    font-size: 1rem;
    color: #90caf9;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 400;
    font-family: 'Exo 2', sans-serif;
    text-shadow: 0 0 15px rgba(144, 202, 249, 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.3rem;
    font-size: 1rem;
    line-height: 2.5rem;
    position: relative;
}

#menu li::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64b5f6, #ffd740);
    transition: width 0.4s ease;
    box-shadow: 0 0 15px rgba(255, 215, 64, 0.8);
}

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

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

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

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.6) 0%, rgba(26, 31, 58, 0.4) 100%);
}

.hero-title {
    font-size: 6.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #ffd740 0%, #64b5f6 50%, #ffd740 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 20px;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(255, 215, 64, 0.5));
    animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {

    0%,
    100% {
        background-position: 0% center;
        filter: drop-shadow(0 0 30px rgba(255, 215, 64, 0.5));
    }

    50% {
        background-position: 100% center;
        filter: drop-shadow(0 0 45px rgba(100, 181, 246, 0.7));
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #90caf9;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 2rem;
    text-shadow: 0 0 25px rgba(144, 202, 249, 0.6);
    font-family: 'Exo 2', sans-serif;
}

/* Futuristic Street Lights SVG */
.street-lights-svg {
    width: 100%;
    height: 350px;
    margin-top: 3rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 64, 0.3));
}

.light-pole {
    fill: #2c3e50;
    stroke: #64b5f6;
    stroke-width: 2;
    opacity: 0;
    animation: riseUp 2s ease-out forwards;
}

.light-pole:nth-child(2) {
    animation-delay: 0.3s;
}

.light-pole:nth-child(3) {
    animation-delay: 0.6s;
}

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

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

.light-glow {
    fill: url(#lightGradient);
    opacity: 0;
    animation: lightTurnOn 2s ease-out forwards;
}

.light-glow:nth-child(1) {
    animation-delay: 1s;
}

.light-glow:nth-child(2) {
    animation-delay: 1.3s;
}

.light-glow:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes lightTurnOn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

.light-beam {
    fill: url(#beamGradient);
    opacity: 0;
    animation: beamExpand 2.5s ease-out forwards;
}

.light-beam:nth-child(1) {
    animation-delay: 1.2s;
}

.light-beam:nth-child(2) {
    animation-delay: 1.5s;
}

.light-beam:nth-child(3) {
    animation-delay: 1.8s;
}

@keyframes beamExpand {
    from {
        opacity: 0;
        transform: scaleY(0);
    }

    to {
        opacity: 0.4;
        transform: scaleY(1);
    }
}

.light-pulse {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

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

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

.region-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #ffd740 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 30px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 64, 0.4));
}

.region-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 85%;
    background: linear-gradient(180deg, #ffd740, #64b5f6);
    box-shadow: 0 0 20px rgba(255, 215, 64, 0.7);
    border-radius: 10px;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 64, 0.7);
    }

    50% {
        box-shadow: 0 0 35px rgba(100, 181, 246, 0.9);
    }
}

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

.gallery-grid .light-card {
    max-width: 480px;
    width: 100%;
}

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

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

.card-container {
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 58, 0.9) 100%);
    border-radius: 20px;
    border: 2px solid rgba(100, 181, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(100, 181, 246, 0.2) inset;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.light-card:hover .card-container {
    border-color: rgba(255, 215, 64, 0.7);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(255, 215, 64, 0.4) inset;
}

/* Glowing light rays effect */
.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 215, 64, 0.1) 50%,
            transparent 70%);
    background-size: 200% 200%;
}

.light-card:hover .light-rays {
    opacity: 1;
    animation: raysSweep 3s linear infinite;
}

@keyframes raysSweep {
    0% {
        background-position: 200% 0;
    }

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

/* Scanning light effect */
.light-scan {
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
            transparent,
            rgba(255, 215, 64, 0.3),
            rgba(100, 181, 246, 0.2),
            transparent);
    z-index: 3;
    pointer-events: none;
}

.light-card:hover .light-scan {
    animation: scanDown 2s ease-in-out;
}

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

    100% {
        top: 100%;
    }
}

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

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

.light-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(255, 215, 64, 0.15) 0%,
            transparent 70%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.light-card:hover .light-image-wrapper::before {
    opacity: 0.8;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

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

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

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

.light-card:hover .light-image {
    transform: scale(1.2);
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
}

/* Light Info Overlay */
.light-info {
    position: relative;
    padding: 2rem;
    z-index: 5;
    background: linear-gradient(to top,
            rgba(10, 14, 39, 0.98) 0%,
            rgba(26, 31, 58, 0.85) 70%,
            transparent 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(100, 181, 246, 0.4);
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.light-location {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #ffd740 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(255, 215, 64, 0.5));
}

.light-card:hover .light-location {
    letter-spacing: 6px;
    filter: drop-shadow(0 0 25px rgba(255, 215, 64, 0.8));
}

/* Corner accent lights */
.corner-lights {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    transition: all 0.5s ease;
}

.corner-tl,
.corner-tr,
.corner-bl,
.corner-br {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(100, 181, 246, 0.5);
    border-radius: 6px;
}

.corner-tl {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
    box-shadow: -5px -5px 15px rgba(100, 181, 246, 0.3);
}

.corner-tr {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
    box-shadow: 5px -5px 15px rgba(100, 181, 246, 0.3);
}

.corner-bl {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
    box-shadow: -5px 5px 15px rgba(100, 181, 246, 0.3);
}

.corner-br {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
    box-shadow: 5px 5px 15px rgba(100, 181, 246, 0.3);
}

.light-card:hover .corner-lights {
    border-color: rgba(255, 215, 64, 0.8);
}

.light-card:hover .corner-tl {
    width: 55px;
    height: 55px;
    box-shadow: -10px -10px 25px rgba(255, 215, 64, 0.6);
}

.light-card:hover .corner-tr {
    width: 55px;
    height: 55px;
    box-shadow: 10px -10px 25px rgba(255, 215, 64, 0.6);
}

.light-card:hover .corner-bl {
    width: 55px;
    height: 55px;
    box-shadow: -10px 10px 25px rgba(255, 215, 64, 0.6);
}

.light-card:hover .corner-br {
    width: 55px;
    height: 55px;
    box-shadow: 10px 10px 25px rgba(255, 215, 64, 0.6);
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 58, 0.95) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 2px solid rgba(100, 181, 246, 0.5);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 -8px 30px rgba(100, 181, 246, 0.2);
}

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

.footer-title {
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #ffd740 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 64, 0.4));
}

#langlist {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(10, 14, 39, 0.8);
    border-radius: 50px;
    padding: 0.5rem;
    border: 2px solid rgba(100, 181, 246, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(100, 181, 246, 0.3) inset;
}

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

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

#langlist .highlight {
    background: linear-gradient(135deg, #ffd740, #64b5f6);
    box-shadow: 0 0 25px rgba(255, 215, 64, 0.5);
}

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

#langlist li:not(.highlight):hover {
    background: rgba(100, 181, 246, 0.2);
    box-shadow: 0 0 20px rgba(100, 181, 246, 0.4);
}

#langlist li:not(.highlight):hover a {
    color: #ffd740;
    text-shadow: 0 0 15px rgba(255, 215, 64, 0.6);
}

.footer-credits {
    color: #90caf9;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-top: 2rem;
    font-weight: 400;
    font-family: 'Exo 2', sans-serif;
}

.footer-credits strong {
    background: linear-gradient(135deg, #ffd740 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    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: 4.5rem;
        letter-spacing: 12px;
    }

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

    .light-card {
        }

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

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

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

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

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

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

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

    .light-card {
        }

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

    .light-info {
        padding: 1.5rem;
    }

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