@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EDF2 25%, #F0F4F8 50%, #E5EBF1 75%, #F8FAFB 100%);
    color: #1A2B3C;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Urban grid overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(52, 73, 94, 0.02) 50px, rgba(52, 73, 94, 0.02) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(52, 73, 94, 0.02) 50px, rgba(52, 73, 94, 0.02) 51px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Ambient urban glow */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 15% 20%, rgba(41, 128, 185, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(52, 152, 219, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(93, 109, 126, 0.05) 0%, transparent 50%);
    animation: urbanPulse 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes urbanPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

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

/* Futuristic Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #2980B9, #3498DB, #5D6D7E, #34495E) 1;
    padding: 2rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(41, 128, 185, 0.1),
        0 0 50px rgba(255, 255, 255, 0.9) 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: 3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 25%, #2980B9 60%, #3498DB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    position: relative;
    filter: drop-shadow(0 0 12px rgba(41, 128, 185, 0.2));
    animation: titleShimmer 6s ease-in-out infinite;
}

@keyframes titleShimmer {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(41, 128, 185, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(52, 152, 219, 0.35));
    }
}

.site-title a:hover {
    filter: drop-shadow(0 0 25px rgba(41, 128, 185, 0.4));
    letter-spacing: 12px;
}

.site-tagline {
    font-size: 1rem;
    background: linear-gradient(90deg, #34495E, #2980B9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

/* 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: 1rem;
    line-height: 2.5rem;
    position: relative;
}

#menu li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2980B9, #3498DB);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(41, 128, 185, 0.4);
}

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

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

#menu li:hover a {
    color: #2980B9;
    text-shadow: 0 0 10px rgba(41, 128, 185, 0.2);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 251, 0.95) 100%);
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #2C3E50 0%, #2980B9 40%, #3498DB 70%, #5D6D7E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 20px;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(41, 128, 185, 0.15));
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(41, 128, 185, 0.15));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(52, 152, 219, 0.25));
        transform: scale(1.01);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    background: linear-gradient(90deg, #34495E, #2980B9, #5D6D7E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.hero-quote {
    font-size: 1.3rem;
    color: #5D6D7E;
    font-style: italic;
    margin-top: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Urban Journey SVG */
.journey-svg {
    width: 100%;
    height: 450px;
    margin-top: 3rem;
}

/* SVG Animations */
.path-trace {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 8s ease-in-out infinite;
}

@keyframes drawPath {

    0%,
    100% {
        stroke-dashoffset: 1000;
        opacity: 0.3;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.city-pulse {
    animation: cityGlow 4s ease-in-out infinite;
}

@keyframes cityGlow {

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

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

.travel-marker {
    animation: markerBounce 3s ease-in-out infinite;
}

@keyframes markerBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.horizon-line {
    animation: horizonShift 10s linear infinite;
}

@keyframes horizonShift {
    0% {
        transform: translateX(0);
    }

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

.monument-glow {
    opacity: 0.4;
    animation: monumentPulse 5s ease-in-out infinite;
}

@keyframes monumentPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

/* Content Section */
.main-content {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 3rem 4rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 20px;
    border: 2px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        linear-gradient(135deg, #2980B9, #3498DB, #5D6D7E);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(41, 128, 185, 0.12),
        0 0 60px rgba(255, 255, 255, 0.9) inset;
    padding: 4rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(41, 128, 185, 0.04) 50%,
            transparent 70%);
    animation: cardShimmer 4s linear infinite;
    pointer-events: none;
}

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

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

.content-card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #2C3E50 0%, #2980B9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 30px;
}

.content-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: linear-gradient(180deg, #2980B9, #3498DB);
    box-shadow: 0 0 15px rgba(41, 128, 185, 0.3);
    border-radius: 8px;
}

.content-card p {
    font-size: 1.15rem;
    line-height: 2;
    color: #34495E;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.content-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    color: #2C3E50;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.content-card ol {
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

.content-card li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495E;
    margin-bottom: 0.8rem;
}

.content-card a {
    color: #2980B9;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.content-card a:hover {
    color: #3498DB;
    border-bottom: 2px solid #3498DB;
    text-shadow: 0 0 8px rgba(41, 128, 185, 0.2);
}

/* Decorative corner accents */
.corner-accent {
    position: absolute;
    pointer-events: none;
    width: 60px;
    height: 60px;
    border: 2px solid;
    transition: all 0.6s ease;
}

.accent-tl {
    top: 15px;
    left: 15px;
    border-color: #2980B9 transparent transparent #2980B9;
    border-radius: 10px 0 0 0;
}

.accent-br {
    bottom: 15px;
    right: 15px;
    border-color: transparent #3498DB #3498DB transparent;
    border-radius: 0 0 10px 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 251, 0.98) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #2980B9, #3498DB, #5D6D7E, #34495E) 1;
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 -8px 30px rgba(41, 128, 185, 0.1);
}

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

.footer-credits {
    color: #34495E;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.footer-credits strong {
    background: linear-gradient(135deg, #2C3E50 0%, #2980B9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-family: 'Space Grotesk', 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;
    }

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

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

    .content-card {
        padding: 3rem 2rem;
    }
}

@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.8rem;
        font-size: 0.9rem;
    }

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

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

    .hero-quote {
        font-size: 1rem;
    }

    .content-card {
        padding: 2rem 1.5rem;
    }

    .content-card h2 {
        font-size: 1.8rem;
    }

    .content-card p {
        font-size: 1rem;
    }

    .main-content {
        padding: 0 1.5rem 3rem;
    }
}

#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);
}
