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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Fallback color while image loads */
    background-color: #cdebff;
    /* Use optimized WebP (kept); explicit size/position settings */
    background-image: url("/assets/images/background1.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
}

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

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-color: #fff;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content {
    text-align: center;
    max-width: 600px;
    animation: fadeIn 1s ease-in;
}

/* Panel behind main content for improved readability */
.content {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.construction-icon {
    font-size: 4em;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.email {
    margin-top: 30px;
    font-size: 1.1em;
}

.email a {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s ease;
    font-weight: 600;
}

.email a:hover {
    border-bottom-color: #fff;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.9em;
}

/* Social link (used next to contact email) */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    opacity: 0.95;
}

.social-link:hover {
    opacity: 1;
}

/* Instagram icon */
.insta-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
}

/* Ensure social icon link inside the email paragraph doesn't get the email underline/border */
.email .social-link {
    border-bottom: none;
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5em;
    }

    .content {
        padding: 24px 18px;
        margin: 16px;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    p {
        font-size: 1em;
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
        gap: 5px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .construction-icon {
        font-size: 3em;
    }
}
