/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-dark: #0B1221;
    --bg-panel: #141e33;
    --primary-blue: #2E5C8A;
    --accent-light: #8FBFE0;
    --text-white: #FFFFFF;
    --text-gray: #94A3B8;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 18, 33, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-icon { display: flex; gap: 4px; }

.logo-bar {
    width: 8px;
    height: 24px;
    background: var(--text-white);
    border-radius: 4px;
    transform: skewX(-15deg);
}
.logo-bar:nth-child(2) { background: var(--accent-light); height: 24px; margin-top: 5px; }
.logo-bar:nth-child(3) { background: var(--primary-blue); height: 24px; margin-top: 0px; }

nav ul { display: flex; gap: 30px; }

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
    position: relative;
}

nav a:hover, nav a.active { color: var(--text-white); }

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-light);
    transition: var(--transition);
}

nav a:hover::after { width: 100%; }

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- LANG SWITCHER --- */
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(11, 18, 33, 0.8), rgba(11, 18, 33, 0.7)),
        url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content { z-index: 2; max-width: 800px; }

.typing-container {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    min-height: 80px;
    background: -webkit-linear-gradient(0deg, #fff, #8FBFE0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cursor {
    display: inline-block;
    width: 4px;
    background-color: var(--accent-light);
    animation: blink 1s infinite;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn-cta {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-blue), #1e3a5f);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #376ea3, #244672);
}

/* --- FOOTER --- */
footer {
    background-color: var(--bg-panel);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover { background: var(--primary-blue); }

.map-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.svg-map {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-content { animation: fadeIn 1s ease-out; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-panel);
        flex-direction: column;
        padding: 2rem;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    nav ul.active { right: 0; }
    .typing-container { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .lang-switcher { margin-right: 40px; }
}