/* Language Selection Pop-up Styling */

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

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

.language-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.language-container {
    max-width: 600px;
    width: 90%;
    padding: 60px 40px;
    text-align: center;
    animation: slideUp 0.7s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-section {
    margin-bottom: 50px;
}

.logo {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.brand-name {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: #D4AF37;
    letter-spacing: 0.15em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

.language-selection {
    margin-bottom: 50px;
}

.selection-title {
    margin-bottom: 40px;
}

.title-fr, .title-en {
    display: block;
    font-size: 1.3rem;
    font-weight: 300;
    color: #fff;
    margin: 8px 0;
}

.title-fr {
    font-weight: 500;
}

.language-buttons {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 400px;
    margin: 0 auto;
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px 40px;
    background-color: #D4AF37;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 3px solid #D4AF37;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.language-btn:hover {
    background-color: #000;
    color: #D4AF37;
    border-color: #D4AF37;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.language-btn:active {
    transform: translateY(-1px);
}

.flag {
    font-size: 2.5rem;
}

.lang-name {
    font-family: 'Arial', sans-serif;
}

.footer-info {
    color: #D4AF37;
    font-size: 1rem;
    line-height: 1.8;
}

.footer-info p {
    margin: 8px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-container {
        padding: 40px 20px;
    }

    .logo {
        height: 70px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .title-fr, .title-en {
        font-size: 1.1rem;
    }

    .language-btn {
        padding: 20px 30px;
        font-size: 1.3rem;
    }

    .flag {
        font-size: 2rem;
    }

    .footer-info {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .language-container {
        padding: 30px 15px;
    }

    .logo {
        height: 60px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .title-fr, .title-en {
        font-size: 1rem;
    }

    .language-btn {
        padding: 18px 25px;
        font-size: 1.2rem;
        gap: 15px;
    }

    .flag {
        font-size: 1.8rem;
    }
}