/* ===========================
   Header Styling
   =========================== */
   .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #222;
    color: white;
    padding: 15px 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Left Section of Header */
.header-left {
    display: flex;
    align-items: center;
}

/* Logo Styling */
.logo {
    height: 50px;
    margin-right: 10px;
}

/* Title Container */
.title-container {
    display: flex;
    flex-direction: column;
}

/* Website Title */
.site-title {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
}

/* Website Subtitle */
.site-subtitle {
    font-size: 14px;
    margin: 0;
}

/* ===========================
   Navbar Styling
   =========================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 15px 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 65px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Navbar Menu */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Menu Items */
.menu li {
    display: inline;
}

/* Menu Links */
.menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
}

/* Menu Hover Effect */
.menu a:hover {
    background: #8e6cf3; /* Purple background on hover */
    color: #ffcc00; /* Yellow text on hover */
    border-radius: 5px;
}

/* ===========================
   Right Section (Language, Theme & Time)
   =========================== */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Dropdown */
.custom-select {
    background: #444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

/* Theme Toggle Button */
.theme-btn {
    background: #666;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

/* Theme Button Hover Effect */
.theme-btn:hover {
    background: #888;
}

/* Time Display */
.time-display {
    font-size: 14px;
    font-weight: bold;
    padding: 6px 12px;
    background: #444;
    border-radius: 5px;
    color: white;
}

/* ===========================
   Dark Theme Styling
   =========================== */
.dark-theme {
    background-color: #121212;
    color: white;
}

.dark-theme .header {
    background-color: #333;
}

.dark-theme .navbar {
    background-color: #444;
}

.dark-theme .menu a {
    color: white;
}

.dark-theme .navbar-right .custom-select,
.dark-theme .navbar-right .theme-btn,
.dark-theme .navbar-right .time-display {
    background-color: #555;
    color: white;
}
/*--------------------------*/
/* ===========================
   Navbar Styling
   =========================== */
   .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 15px 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 65px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none; /* Hidden by default */
    font-size: 24px;
    cursor: pointer;
}

/* Menu */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Menu Links */
.menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
}

/* Menu Hover Effect */
.menu a:hover {
    background: #8e6cf3; /* Purple background on hover */
    color: #ffcc00; /* Yellow text on hover */
    border-radius: 5px;
}

/* ===========================
   Responsive Design (Mobile View)
   =========================== */
@media (max-width: 768px) {
    /* Show Hamburger Icon */
    .hamburger {
        display: block; /* Visible on mobile */
    }

    /* Hide Menu by Default */
    .menu {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        align-items: center;
        gap: 10px;
        position: absolute;
        top: 65px; /* Below the navbar */
        right: 0;
        background: #333;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    }

    /* Show Menu When Active */
    .menu.active {
        display: flex; /* Show menu when active */
    }

    /* Adjust Navbar Right Section */
    .navbar-right {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
}
/*--------------------------*/

/* ===========================
   Responsive Design (Mobile View)
   =========================== */
@media (max-width: 768px) {
    .navbar {
        width: 100%;
        margin: 0;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        height: auto;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .navbar-right {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
}
