/* ===================
top header css
====================== */

.header-top {
    padding: 10px 0 10px 0;
    position: relative;
    background: #359af9;
    z-index: 1000;
}

.header-top-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top-contact ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-top-contact ul li p {
    color: #fff;
    font-weight: 500;
}

.header-top-contact ul li a {
    color: #fff;
    font-weight: 500;
}

.header-top-contact ul li a i {
    margin-right: 10px;
    color: #fdf6f5;
}

.header-top-right {
    display: flex;
    align-items: center;
}

.header-top-social {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.header-top-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #e5e5e5;
    border-radius: 50%;
    text-decoration: none;
}

.header-top-social span {
    color: #fff;
}

.header-top-social a {
    width: 38px;
    height: 38px;
    line-height: 38px;
    color: #2b8eff;
    font-size: 16px;
    background: #fff;
    text-align: center;
    margin-left: 5px;
    border-radius: 50px;
    transition: all .5s ease-in-out;
}

.header-top-social a:hover {
    background: #2b6bff;
    color: #fff;
}

.header-top-lang button {
    padding: 0;
    background: transparent;
    border: none;
    color: #fff;
}

.header-top-lang button i {
    margin-right: 8px;
}

.header-top-lang ul li img {
    width: 20px;
    border-radius: 50%;
    margin-right: 8px;
}

.header-top-lang .dropdown-menu {
    border: none;
    border-radius: 0px;
    box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
}

.header-top-lang .dropdown-item:hover {
    background: transparent;
    color: #2b6eff;
}


/* ===================
nav menu css
====================== */

.main-navigation {
    background: rgb(248, 249, 249);
    border-bottom: 3px solid #b38b5f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(140, 90, 40, 0.08);
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 0;
    background: white;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1px;
}

.navbar-brand img.ooo {
    height: 82px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 4px 6px rgba(100, 60, 20, 0.15));
}

.navbar-brand:hover img.ooo {
    transform: scale(1.02);
}

.navbar-brand i span {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(128, 0, 0, 0.1);
}

.navbar-nav .nav-item {
    margin: 0 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #3e2e21 !important;
    padding: 0.7rem 1rem !important;
    border-radius: 40px;
    transition: all 0.25s;
    font-size: 15px;
    position: relative;
    background: transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background: rgba(213, 166, 114, 0.12);
    color: #8b4513 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:active {
    background: rgba(179, 139, 95, 0.18);
}

.dropdown-toggle::after {
    border-top-color: #b17e55;
    border-width: 0.4em 0.4em 0;
    margin-left: 0.6em;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    background: #fffefc;
    border: 1px solid #ecdac8;
    border-radius: 20px;
    box-shadow: 0 20px 35px -8px rgba(90, 60, 30, 0.2);
    padding: 0.6rem 0.3rem;
    margin-top: 0px;
    backdrop-filter: blur(2px);
    min-width: 240px;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    color: #3a2c1e;
    font-weight: 450;
    transition: all 0.2s;
    margin: 2px 5px;
    width: auto;
}

.dropdown-item:hover {
    background: #f7ede2;
    color: #754c24;
    transform: translateX(6px);
    box-shadow: 0 2px 8px rgba(170, 120, 60, 0.1);
}

.header-nav-right {
    display: flex;
    align-items: center;
}

.header-nav-search .header-nav-link {
    color: #754c24;
    font-size: 1.3rem;
    background: #f1e7db;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.25s;
}

.header-nav-search .header-nav-link:hover {
    background: #dbb48b;
    color: #3e2e21;
    transform: scale(1.07);
    box-shadow: 0 4px 10px rgba(150, 90, 30, 0.25);
}

.mobile-menu-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-list .mobile-menu-link {
    background: #e7d9cb;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #5a3e28;
    font-size: 1.3rem;
    transition: 0.2s;
}

.mobile-menu-list .mobile-menu-link:hover {
    background: #dabf9f;
    color: #2e1f14;
}

.navbar-toggler {
    border: none;
    background: #e7d9cb;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #5a3e28;
    font-size: 1.3rem;
    transition: 0.2s;
}

.navbar-toggler:hover {
    background: #dabf9f;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(179, 139, 95, 0.3);
}

.navbar-toggler-icon i {
    line-height: 44px;
}


/* add subtle shine to the navbar */

.main-navigation::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #eaccb0, #dbb78b, #eaccb0, transparent);
    border-radius: 100%;
    pointer-events: none;
}


/* ======================
search popup (unchanged)
====================== */

.search-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 99999;
    margin-top: -540px;
    transform: translateY(-100%);
    background-color: rgba(248, 242, 242, 0.8);
    transition: all 1500ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    transition-timing-function: cubic-bezier(0.860, 0.000, 0.070, 1.000);
}

.sidenav-bar-visible .search-popup {
    width: 80%;
}

.search-active .search-popup {
    transform: translateY(0%);
    margin-top: 0;
}

.search-popup .close-search {
    position: absolute;
    left: 0;
    right: 0;
    top: 75%;
    border: none;
    margin: 0 auto;
    margin-top: -200px;
    border-radius: 50px;
    text-align: center;
    background: #FF442B;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: all 500ms ease;
    opacity: 0;
    visibility: hidden;
}

.search-active .search-popup .close-search {
    visibility: visible;
    opacity: 1;
    top: 50%;
    transition-delay: 1500ms;
}

.search-popup form {
    position: absolute;
    max-width: 700px;
    top: 50%;
    left: 15px;
    right: 15px;
    margin: -35px auto 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: all 300ms ease;
}

.search-active .search-popup form {
    transform: scaleX(1);
    transition-delay: 1200ms;
}

.search-popup .form-group {
    position: relative;
    margin: 0px;
    overflow: hidden;
}

.search-popup .form-group input[type="text"],
.search-popup .form-group input[type="search"] {
    position: relative;
    width: 100%;
    height: 60px;
    outline: none;
    border-radius: 8px;
    border: none;
    padding: 0 100px 0 35px;
    transition: all 500ms ease;
    text-transform: capitalize;
}

.search-popup .form-group input[type="submit"],
.search-popup .form-group button {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 8px;
    background: #FF442B;
    text-align: center;
    font-size: 20px;
    color: #fff !important;
    height: 50px;
    width: 50px;
    border: none;
    cursor: pointer;
    transition: all 500ms ease;
}

.search-popup .form-group input[type="submit"]:hover,
.search-popup .form-group button:hover {
    background: #FF442B;
}

.search-popup input::placeholder,
.search-popup textarea::placeholder {
    color: #51668a;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.menu-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #800000;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.menu-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}


/* ====================================================================
   COMPREHENSIVE MEDIA QUERIES - All Devices (without changing original code)
   ==================================================================== */


/* Extra Large Devices (Desktops, 1400px and up) */

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 0.8rem 1.2rem !important;
    }
    .header-top-contact ul {
        gap: 35px;
    }
    .header-top-right {
        gap: 35px;
    }
    .navbar-brand img.ooo {
        height: 90px;
    }
}


/* Large Devices (Desktops, 1200px to 1399px) */

@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
    .navbar-nav .nav-link {
        font-size: 13px;
        padding: 0.7rem 1rem !important;
    }
    .header-top-contact ul {
        gap: 30px;
    }
    .header-top-right {
        gap: 30px;
    }
    .dropdown-menu {
        min-width: 220px;
    }
}


/* Medium Large Devices (Laptops, 992px to 1199px) */

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 0.6rem 0.8rem !important;
    }
    .navbar-brand img.ooo {
        height: 70px;
    }
    .header-top-contact ul {
        gap: 20px;
    }
    .header-top-contact ul li a i {
        margin-right: 6px;
    }
    .header-top-right {
        gap: 20px;
    }
    .header-top-social a {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
    }
    .dropdown-menu {
        min-width: 200px;
    }
    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    /* Keep desktop dropdown behavior */
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


/* Tablet Devices (768px to 991px) */

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    /* Header top hidden as per original */
    .header-top {
        display: none;
    }
    /* Navbar adjustments */
    .navbar-brand img.ooo {
        height: 60px;
    }
    .navbar-brand i span {
        font-size: 1.6rem;
    }
    .navbar-toggler {
        display: block;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .mobile-menu-right {
        gap: 6px;
    }
    .mobile-menu-list .mobile-menu-link {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .header-nav-search .header-nav-link {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .navbar-nav .nav-link {
        padding-left: 1.2rem !important;
        font-size: 15px;
    }
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 10px;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    .dropdown-menu {
        box-shadow: none;
        border-left: 2px solid #b38b5f;
        border-radius: 12px;
        margin-left: 15px;
        padding: 0.4rem 0;
        min-width: 200px;
    }
    .dropdown-item {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
    /* Search popup adjustments */
    .search-popup form {
        max-width: 600px;
    }
    .search-popup .close-search {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


/* Small Tablet Devices (576px to 767px) */

@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    /* Header top hidden as per original */
    .header-top {
        display: none;
    }
    /* Navbar adjustments */
    .navbar-brand {
        gap: 5px;
    }
    .navbar-brand img.ooo {
        height: 50px;
    }
    .navbar-brand i span {
        font-size: 1.4rem;
    }
    .navbar-toggler {
        display: block;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .mobile-menu-right {
        gap: 5px;
    }
    .mobile-menu-list .mobile-menu-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .header-nav-search .header-nav-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .navbar-nav .nav-link {
        padding-left: 1.2rem !important;
        font-size: 14px;
    }
    .navbar-collapse {
        background: white;
        padding: 0.8rem;
        border-radius: 8px;
        margin-top: 8px;
        max-height: 75vh;
        overflow-y: auto;
    }
    .dropdown-menu {
        box-shadow: none;
        border-left: 2px solid #b38b5f;
        border-radius: 10px;
        margin-left: 10px;
        padding: 0.3rem 0;
        min-width: 180px;
    }
    .dropdown-item {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    /* Search popup adjustments */
    .search-popup form {
        max-width: 500px;
    }
    .search-popup .form-group input[type="text"],
    .search-popup .form-group input[type="search"] {
        height: 55px;
        padding: 0 90px 0 25px;
        font-size: 14px;
    }
    .search-popup .form-group input[type="submit"],
    .search-popup .form-group button {
        height: 45px;
        width: 45px;
        font-size: 18px;
    }
    .search-popup .close-search {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


/* Mobile Devices (up to 575px) */

@media (max-width: 575px) {
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Header top hidden as per original */
    .header-top {
        display: none;
    }
    /* Navbar adjustments */
    .navbar-brand {
        gap: 3px;
    }
    .navbar-brand img.ooo {
        height: 42px;
    }
    .navbar-brand i span {
        font-size: 1.2rem !important;
    }
    .navbar-toggler {
        display: block;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .mobile-menu-right {
        gap: 4px;
    }
    .mobile-menu-list .mobile-menu-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .header-nav-search .header-nav-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .navbar-nav .nav-link {
        padding-left: 1rem !important;
        font-size: 14px;
        padding: 0.5rem 0.8rem !important;
    }
    .navbar-collapse {
        background: white;
        padding: 0.8rem;
        border-radius: 6px;
        margin-top: 8px;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    .dropdown-menu {
        box-shadow: none;
        border-left: 2px solid #b38b5f;
        border-radius: 8px;
        margin-left: 8px;
        padding: 0.2rem 0;
        min-width: 160px;
    }
    .dropdown-item {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
        margin: 1px 3px;
    }
    .dropdown-toggle::after {
        margin-left: 0.4em;
        border-width: 0.3em 0.3em 0;
    }
    /* Search popup adjustments */
    .search-popup form {
        max-width: 95%;
        left: 2.5%;
        right: 2.5%;
    }
    .search-popup .form-group input[type="text"],
    .search-popup .form-group input[type="search"] {
        height: 50px;
        padding: 0 80px 0 20px;
        font-size: 14px;
    }
    .search-popup .form-group input[type="submit"],
    .search-popup .form-group button {
        height: 40px;
        width: 40px;
        font-size: 16px;
        right: 5px;
        top: 5px;
    }
    .search-popup .close-search {
        width: 35px;
        height: 35px;
        font-size: 14px;
        line-height: 35px;
    }
    /* Mobile menu header */
    .mobile-menu-header {
        padding: 8px 12px;
    }
    .menu-close-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}


/* Very Small Mobile Devices (up to 360px) */

@media (max-width: 360px) {
    .navbar-brand img.ooo {
        height: 36px;
    }
    .navbar-brand i span {
        font-size: 1rem !important;
    }
    .navbar-toggler {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .mobile-menu-list .mobile-menu-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .header-nav-search .header-nav-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .mobile-menu-right {
        gap: 3px;
    }
    .navbar-nav .nav-link {
        font-size: 13px;
        padding: 0.4rem 0.6rem !important;
    }
    .dropdown-menu {
        min-width: 140px;
    }
    .dropdown-item {
        padding: 0.25rem 0.7rem;
        font-size: 0.75rem;
    }
}


/* Print Styles - for printing */

@media print {
    .header-top,
    .main-navigation,
    .search-popup,
    .mobile-menu-right {
        display: none !important;
    }
}


/* High-resolution screens (Retina) */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .navbar-brand img.ooo {
        filter: drop-shadow(0 2px 4px rgba(100, 60, 20, 0.1));
    }
}


/* Landscape mode for mobile devices */

@media (max-width: 991px) and (orientation: landscape) {
    .navbar-collapse {
        max-height: 60vh;
    }
    .navbar-nav .nav-link {
        padding: 0.4rem 1rem !important;
    }
    .search-popup form {
        top: 45%;
    }
}


/* Dark mode support (optional) */

@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}