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

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

body {
    font-family: 'Exo 2', 'Arial', sans-serif;
    background: linear-gradient(135deg, #fef9f0 0%, #fdefd5 25%, #fce4b8 50%, #fad89a 75%, #f8cc7c 100%);
    color: #3d2a1f;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Luminous grid pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, rgba(218, 165, 32, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(218, 165, 32, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    animation: gridPulse 8s linear infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

/* Radiant light beams */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(218, 165, 32, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 215, 0, 0.12) 0%, transparent 45%);
    animation: lightBeams 15s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes lightBeams {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 0.9;
        transform: scale(1.15);
    }
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(35px);
    border-bottom: 3px solid rgba(218, 165, 32, 0.8);
    padding: 1.8rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 45px rgba(218, 165, 32, 0.4);
    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: 700;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #b8860b 0%, #daa520 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 14px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 35px rgba(218, 165, 32, 0.7));
}

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

.site-tagline {
    font-size: 1rem;
    color: #b8860b;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-top: 0.6rem;
    font-weight: 400;
    font-family: 'Rajdhani', sans-serif;
}

/* Navigation */
#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.8rem;
    position: relative;
}

#menu li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #b8860b, #daa520, #ffd700);
    transition: width 0.4s ease;
    box-shadow: 0 0 25px rgba(218, 165, 32, 1);
}

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

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

#menu li:hover a {
    color: #b8860b;
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.9);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5.5rem 2rem 4.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(253, 239, 213, 0.6) 100%);
}

.hero-title {
    font-size: 6.5rem;
    font-weight: 800;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #b8860b 0%, #daa520 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 28px;
    filter: drop-shadow(0 0 55px rgba(218, 165, 32, 0.7));
    animation: titleIlluminate 5s ease-in-out infinite;
}

@keyframes titleIlluminate {

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

    50% {
        filter: drop-shadow(0 0 80px rgba(255, 215, 0, 1));
        transform: scale(1.03);
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #b8860b;
    letter-spacing: 9px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 2.2rem;
    text-shadow: 0 0 35px rgba(218, 165, 32, 0.6);
    font-family: 'Rajdhani', sans-serif;
}

/* SVG */
.monument-svg {
    width: 100%;
    height: 350px;
    margin-top: 3.5rem;
}

.timeline-base {
    stroke: #daa520;
    stroke-width: 6;
    fill: none;
    opacity: 0;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawTimeline 3s ease-out forwards;
    filter: drop-shadow(0 0 15px rgba(218, 165, 32, 0.8));
}

@keyframes drawTimeline {
    to {
        stroke-dashoffset: 0;
        opacity: 0.9;
    }
}

.station-marker {
    fill: #ffd700;
    stroke: #b8860b;
    stroke-width: 3;
    opacity: 0;
    animation: stationAppear 1.5s ease-out forwards;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9));
}

.station-marker:nth-child(1) {
    animation-delay: 1s;
}

.station-marker:nth-child(2) {
    animation-delay: 1.3s;
}

.station-marker:nth-child(3) {
    animation-delay: 1.6s;
}

.station-marker:nth-child(4) {
    animation-delay: 1.9s;
}

.station-marker:nth-child(5) {
    animation-delay: 2.2s;
}

@keyframes stationAppear {
    0% {
        opacity: 0;
        transform: scale(0) translateY(-50px);
    }

    50% {
        transform: scale(1.3) translateY(0);
    }

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

.monument-structure {
    fill: #d4af37;
    opacity: 0;
    animation: monumentRise 2s ease-out forwards;
}

.monument-structure:nth-child(1) {
    animation-delay: 0.5s;
}

.monument-structure:nth-child(2) {
    animation-delay: 0.8s;
}

.monument-structure:nth-child(3) {
    animation-delay: 1.1s;
}

@keyframes monumentRise {
    from {
        opacity: 0;
        transform: translateY(100px) scaleY(0);
        transform-origin: bottom;
    }

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

.light-ray {
    stroke: #ffd700;
    stroke-width: 2;
    opacity: 0;
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: lightRayBeam 2.5s ease-out forwards;
    fill: none;
}

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

.light-ray:nth-child(2) {
    animation-delay: 1.8s;
}

.light-ray:nth-child(3) {
    animation-delay: 2.1s;
}

@keyframes lightRayBeam {
    to {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

.illumination-pulse {
    fill: #ffd700;
    opacity: 0;
    animation: pulsateLight 3s ease-in-out infinite;
}

.illumination-pulse:nth-child(1) {
    animation-delay: 0s;
}

.illumination-pulse:nth-child(2) {
    animation-delay: 1s;
}

.illumination-pulse:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulsateLight {

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

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

.time-indicator {
    fill: #ff8c00;
    opacity: 0;
    animation: timeTravel 8s ease-in-out 2.5s infinite;
}

@keyframes timeTravel {

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

    10%,
    90% {
        opacity: 1;
    }

    50% {
        transform: translateX(950px);
    }
}

.archway-element {
    stroke: #b8860b;
    stroke-width: 4;
    fill: none;
    opacity: 0;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: buildArchway 2.5s ease-out 1.2s forwards;
}

@keyframes buildArchway {
    to {
        stroke-dashoffset: 0;
        opacity: 0.7;
    }
}

.column-base {
    fill: #cd853f;
    opacity: 0;
    animation: foundationAppear 1.5s ease-out forwards;
}

.column-base:nth-child(1) {
    animation-delay: 0.3s;
}

.column-base:nth-child(2) {
    animation-delay: 0.6s;
}

@keyframes foundationAppear {
    from {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }

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

/* Gallery */
.monument-gallery {
    max-width: 1600px;
    margin: 3.5rem auto;
    padding: 0 2rem 4.5rem;
}

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

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

.region-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 90%;
    background: linear-gradient(180deg, #b8860b, #daa520, #ffd700);
    box-shadow: 0 0 30px rgba(218, 165, 32, 1);
    border-radius: 12px;
}

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

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

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

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

.card-container {
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 239, 213, 0.9) 100%);
    border-radius: 20px;
    border: 3px solid rgba(218, 165, 32, 0.7);
    box-shadow: 0 12px 55px rgba(218, 165, 32, 0.4);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.monument-card:hover .card-container {
    border-color: rgba(255, 215, 0, 1);
    box-shadow: 0 30px 80px rgba(218, 165, 32, 0.6);
}

.beam-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.monument-card:hover .beam-lines {
    opacity: 1;
}

.beam-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
    height: 3px;
    width: 100%;
    animation: beamSweep 3.5s ease-in-out infinite;
}

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

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

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

.beam-line:nth-child(4) {
    top: 75%;
    animation-delay: 0.6s;
}

@keyframes beamSweep {

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

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

.illumination-scan {
    position: absolute;
    left: -100%;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    z-index: 3;
    pointer-events: none;
}

.monument-card:hover .illumination-scan {
    animation: illuminationSweep 2.8s ease-in-out;
}

@keyframes illuminationSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

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

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

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

.monument-card:hover .monument-image-wrapper::before {
    opacity: 0.85;
}

.monument-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(1.05);
}

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

.monument-info {
    position: relative;
    padding: 2.2rem;
    z-index: 5;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(253, 239, 213, 0.85) 60%, transparent 100%);
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(25px);
    border-radius: 0 0 20px 20px;
    border-top: 2px solid rgba(218, 165, 32, 0.7);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.monument-location {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    color: #b8860b;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    transition: all 0.4s ease;
    text-shadow: 0 0 35px rgba(218, 165, 32, 0.7);
}

.monument-card:hover .monument-location {
    color: #daa520;
    text-shadow: 0 0 50px rgba(255, 215, 0, 1);
}

.luminous-frame {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    transition: all 0.6s ease;
}

.luminous-tl {
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    border-top: 4px solid rgba(218, 165, 32, 0.8);
    border-left: 4px solid rgba(218, 165, 32, 0.8);
    border-radius: 12px 0 0 0;
}

.luminous-tr {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-top: 4px solid rgba(218, 165, 32, 0.8);
    border-right: 4px solid rgba(218, 165, 32, 0.8);
    border-radius: 0 12px 0 0;
}

.luminous-bl {
    bottom: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    border-bottom: 4px solid rgba(218, 165, 32, 0.8);
    border-left: 4px solid rgba(218, 165, 32, 0.8);
    border-radius: 0 0 0 12px;
}

.luminous-br {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-bottom: 4px solid rgba(218, 165, 32, 0.8);
    border-right: 4px solid rgba(218, 165, 32, 0.8);
    border-radius: 0 0 12px 0;
}

.monument-card:hover .luminous-frame {
    border-color: rgba(255, 215, 0, 1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 1);
}

.monument-card:hover .luminous-tl,
.monument-card:hover .luminous-br {
    width: 55px;
    height: 55px;
}

.monument-card:hover .luminous-tr,
.monument-card:hover .luminous-bl {
    width: 55px;
    height: 55px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(253, 239, 213, 0.92) 100%);
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(35px);
    border-top: 3px solid rgba(218, 165, 32, 0.8);
    padding: 3.5rem 2rem;
    margin-top: 4.5rem;
    text-align: center;
    box-shadow: 0 -6px 45px rgba(218, 165, 32, 0.4);
}

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

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

#langlist {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 60px;
    padding: 0.6rem;
    border: 3px solid rgba(218, 165, 32, 0.7);
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(20px);
    margin-bottom: 2.2rem;
}

#langlist li {
    display: inline-block;
    list-style: none;
    margin: 0.4rem;
    padding: 0.9rem 1.6rem;
    border-radius: 35px;
    transition: all 0.4s ease;
}

#langlist a {
    text-decoration: none;
    color: #3d2a1f;
    font-size: 1rem;
    transition: all 0.4s ease;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

#langlist .highlight {
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700);
    box-shadow: 0 0 35px rgba(218, 165, 32, 0.8);
}

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

#langlist li:not(.highlight):hover {
    background: rgba(218, 165, 32, 0.35);
    box-shadow: 0 0 30px rgba(218, 165, 32, 0.7);
}

#langlist li:not(.highlight):hover a {
    color: #b8860b;
    text-shadow: 0 0 25px rgba(218, 165, 32, 0.8);
}

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

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

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

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

    #menu {
        justify-content: center;
    }

    #menu ul {
        justify-content: center;
    }

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

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

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

    .monument-card {
        }

    .monument-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: 2rem;
        letter-spacing: 12px;
    }

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

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

    .monument-card {
        }

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

    .monument-info {
        padding: 1.8rem;
    }

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