/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Prevents horizontal scrollbar when menu is off-screen */
    overflow-x: hidden; 
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    min-height: 70px;
}

.logo img {
    height: 50px;
    margin-left: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 8px 12px;
    display: block;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #8d080b;
    border-radius: 4px;
}

/* Desktop Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-align: center;
    display: block;
}

/* Show dropdown on hover for desktop */
.dropdown:hover .dropdown-content {
    display: block;
}


/* --- Responsive Styles for Mobile (max-width: 768px) --- */

/* Hide hamburger by default on desktop */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002; /* Highest z-index */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

@media screen and (max-width: 768px) {
    /* Show hamburger icon on mobile */
    .mobile-menu {
        display: flex;
    }

    /* Style the mobile navigation panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 75%;
        max-width: 280px;
        background-color: #111;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        
        /* Hide it off-screen to the right */
        transform: translateX(100%);
        transition: transform 0.35s ease-in-out;
        
        /* This is crucial for the transform to work */
        display: flex; 
    }

    /* Class to slide the menu into view */
    .nav-links.active {
        transform: translateX(0);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }

    .nav-links li {
        margin: 15px 0;
        width: 90%;
        text-align: center;
    }

    /* Mobile Dropdown adjustments */
    .dropdown-content {
        position: static;
        display: none; /* Hide submenu by default */
        background-color: #252525; /* Different color for submenu */
        box-shadow: none;
        border-radius: 4px;
        margin-top: 10px;
        width: 100%;
        transform: none; /* Reset transform */
    }

    /* Disable hover effect on mobile */
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    /* Show submenu when parent has 'open' class from JS */
    .dropdown.open > .dropdown-content {
        display: block;
    }
    /* Same for language switcher */
    .lang-switcher.open > .dropdown-content {
        display: block;
    }
}

/* --- Other styles from your file --- */
/* (No changes needed for the rest of the file) */
#hero { position: relative; flex: 1; min-height: calc(100vh - 70px - 60px); overflow: hidden; }
.background-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/static/images/background.gif') no-repeat center center; background-size: cover; filter: brightness(0.7); }
.content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 90%; }
.profile-ring { width: 180px; height: 180px; border: 2px solid #333; border-radius: 50%; padding: 3px; margin: 0 auto 20px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); }
.profile-pic { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
h1 { font-size: 48px; margin: 0; }
p { font-size: 20px; margin-top: 10px; }
footer { background-color: #000; padding: 20px; display: flex; flex-direction: column; align-items: center; }
.social-icons { margin-bottom: 15px; display: flex; gap: 15px; }
.social-icons img { width: 25px; height: 25px; transition: transform 0.3s; }
.copyright { font-size: 14px; color: #666; }
.content-section { padding: 80px 20px; min-height: 100vh; display: flex; justify-content: center; align-items: center; background-color: #121212; }
.container { max-width: 1200px; width: 90%; display: flex; flex-wrap: wrap; align-items: center; }
.about-content { display: flex; gap: 40px; align-items: center; justify-content: center; text-align: left; }
.about-image { max-width: 50%; flex: 1; text-align: center; }
.about-image img { max-width: 100%; height: auto; }
.about-text { max-width: 50%; flex: 1; text-align: left; }
.about-text h2 { color: #ff6b6b; margin-bottom: 20px; }
.about-text p { font-size: 18px; line-height: 1.6; color: #ffffffcc; margin-bottom: 20px; }
.btn { padding: 12px 30px; border-radius: 25px; text-decoration: none; display: inline-block; transition: all 0.3s ease; background-color: #ff6b6b; color: white; font-size: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.contact-container { max-width: 800px; margin: 0 auto; text-align: center; }
.section-title { color: #ff6b6b; font-size: 36px; margin-bottom: 40px; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; justify-content: center; padding: 20px; }
.social-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; transition: transform 0.3s ease; }
.social-icon { width: 64px; height: 64px; margin-bottom: 15px; transition: transform 0.3s ease; }
.social-text { color: white; font-size: 20px; font-weight: 500; margin-top: 10px; }
.social-item:hover { transform: translateY(-5px); }
.social-item:hover .social-icon { transform: scale(1.1); }
@media screen and (max-width: 768px) { .about-content { flex-direction: column; text-align: center; } .about-image, .about-text { max-width: 100%;} .social-grid { grid-template-columns: 1fr; } }
