:root {
    --primary-text-color: #222;
    --secondary-text-color: white;
    --background-dark: #222;
    --background-light: #f4f4f4;
    --transition-speed: 0.3s ease;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
}

header {
    position: relative;
    height: 100vh;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

nav {
    background-color: var(--background-dark);
    padding: 10px 20px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    z-index: 500;
}

nav a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background var(--transition-speed), box-shadow var(--transition-speed), color var(--transition-speed);
    white-space: nowrap;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.01);
    border: none;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    color: white;
}

nav a.active-link {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    color: white;
}

main {
    padding: 30px 20px;
}

section {
    max-width: 900px;
    margin: auto;
    margin-bottom: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1, h2 {
    color: var(--primary-text-color);
}

footer {
    background-color: var(--background-dark);
    color: var(--secondary-text-color);
    text-align: center;
    padding: 20px;
}

.hero-text {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    color: white;
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s ease-out forwards;
}

/* Subtitle */
.hero-text .subtitle {
    display: none;
}

/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-small-text {
    font-size: 0.8em;
    margin-top: 10px;
    opacity: 0.8;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.language-button {
    background: rgba(255, 255, 255, 0.01);
    border: none;
    color: white;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-decoration: none;
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.language-button.active {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    font-weight: bolder;
}

@media (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    .language-button {
        padding: 6px 12px;
        font-size: 0.9em;
        border-radius: 15px;
    }
    .hero-text {
        font-size: 3em;
    }
    .hero-text .subtitle {
        font-size: 1.2em;
    }
    nav {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 1024px) {
    .hero-text {
        font-size: 4em;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 2.2em;
    }
    .hero-text .subtitle {
        font-size: 1em;
    }
}