@import url('./index.css');
@import url('./map.css');
@import url('./responsivness.css');

:root {
    --gold-primary: #E5C15D;
    --gold-highlight: #FFD700;
    --gold-dark: #B89635;
    --bg-dark: #0f0f11;
    --bg-card: #1a1a1d;
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;
    --glass-bg: rgba(15, 15, 17, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
}

/* Main Layout */
main,
.map-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    isolation: isolate;
}

/* Map Container */
.map-main .map,
.map-main #map,
.map-main iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
}

/* Ambient Background Glow */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 50% 0%, rgba(229, 193, 93, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 193, 93, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Modern Navigation */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 3rem);
    max-width: 1000px;
    padding: 0.65rem 0.75rem 0.65rem 1.5rem;
    background: rgba(26, 26, 29, 0.521);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem;
    border-radius: 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--gold-primary);
    background: rgba(229, 193, 93, 0.1);
}

.nav-links a.cta {
    background: var(--gold-primary);
    color: var(--bg-dark);
    font-weight: 600;
    margin-left: 0.25rem;
    box-shadow: 0 2px 10px rgba(229, 193, 93, 0.15);
}

.nav-links a.cta:hover {
    background: var(--gold-highlight);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 193, 93, 0.3);
    color: #000;
} 

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        top: auto;
        bottom: 1.5rem;
        width: calc(100% - 2rem);
        padding: 0.5rem;
        flex-direction: row;
        justify-content: space-between;
        border-radius: 20px;
        background: rgba(26, 26, 29, 0.85);
    }

    .logo {
        display: none;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0;
    }

    .nav-links a {
        padding: 0.75rem;
        font-size: 0.8rem;
        flex: 1;
        text-align: center;
        border-radius: 12px;
    }

    .nav-links a.cta {
        margin-left: 0;
    }

    footer {
        display: none;
    }
}

/* Footer */
footer {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 1000px;
    padding: 0.5rem 1.5rem;
    background: rgba(26, 26, 29, 0.521);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.875rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-content a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--gold-primary);
}

.footer-content span {
    opacity: 0.5;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 768px) {
    body.sidebar-open nav {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(10px);
    }
}