/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    padding-top: 70px;
}

/* --- Header Styling --- */
.main-header {
    background-color: #1a2530;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between; /* Pushes Logo Left, Actions Right */
    align-items: center;
    height: 70px;
    position: relative;
}

/* --- LOGO STYLING --- */

.logo-img{
    width: 90%;
    height: auto;
}

/*.logo-area .logo-text {*/
/*    color: #ffffff;*/
/*    text-decoration: none;*/
/*    font-size: 1.5rem;*/
/*    font-weight: 700;*/
/*    letter-spacing: 1px;*/
/*    text-transform: uppercase;*/
/*    white-space: nowrap;*/
/*}*/

/* 1. Force the container to take the full height of the Navbar */
.logo-area {
    height: 100%;  /* Takes full 70px (desktop) or 60px (mobile) */
    display: flex; 
    align-items: center; /* Vertically centers the content */
}

/* 2. Force the Link tag to also take full height */
.logo-area a {
    height: 100%;
    display: flex;
    align-items: center;
}

/* 3. Now the Percentage will work */
.logo-img {
    height: 119%;  /* Adjust this % to make it bigger/smaller */
    width: auto;  /* Maintains aspect ratio */
    object-fit: contain;
}


/* --- RIGHT ACTION AREA (Menu + Button) --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between Menu and Button */
}

/* Menu Links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #f39c12;
}

/* Language Button */
.lang-btn {
    background-color: #f39c12;
    color: #000;
    border: none;
    padding: 8px 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.lang-btn:hover {
    background-color: #e67e22;
}

/* --- HAMBURGER ICON (Hidden on Desktop) --- */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* =========================================
   MOBILE RESPONSIVENESS (Max Width 1100px)
   ========================================= */
@media screen and (max-width: 1100px) {
    
    /* 1. HEADER HEIGHT & SPACING ADJUSTMENTS */
    body {
        padding-top: 60px; /* Reduced from 70px */
    }
    
    header{
        padding:7px 0;
    }

    .navbar {
        height: 60px; /* Reduced from 70px for a sleeker look */
        justify-content: space-between;
    }

    .container {
        /* Reduce side padding to push Hamburger & Button to the corners */
        padding: 0 15px; 
    }
    
    .nev_container {
        width: 100%;
    }

    /* 2. HAMBURGER ICON */
    .menu-toggle {
        display: block; 
        z-index: 1001;
    }
    
    .bar {
        /* Slightly smaller bars for the shorter header */
        width: 22px; 
        margin: 4px auto; 
    }

    /* 3. LOGO ADJUSTMENTS */
    .logo-area {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto; /* Allow it to fit content */
        text-align: center;
    }

    .logo-text {
        /* Smaller font to prevent hitting the buttons */
        font-size: 1.1rem; 
        letter-spacing: 0.5px; /* Reduce spacing slightly */
    }

    /* 4. BUTTON ADJUSTMENTS */
    .lang-btn {
        /* Smaller button on mobile */
        padding: 5px 10px; 
        font-size: 0.75rem; 
    }

    /* 5. MOBILE DRAWER MENU */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px; /* Match new navbar height */
        flex-direction: column;
        background-color: #1a2530;
        width: 100%; 
        height: calc(100vh - 60px);
        text-align: left;
        transition: 0.3s;
        padding: 30px;
        gap: 0;
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
    }

    .nav-menu li a {
        font-size: 1.1rem;
        display: block;
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}