/* ==============================
   GLOBAL VARIABLES
   ============================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* Colors */
    --primary-color: #212121;
    --secondary-color: #414141;
    --accent-color: #DAA520;
    --background-color: #F5F5DC;
    --text-head-color: #212121;

    /* Typography */
    --font-family: 'Poppins', sans-serif;

    /* Shadows & Borders */
    --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.1);
    --dropdown-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    /* Sizing */
    --nav-height: 90px;
    --logo-height: 80px;
    --container-max-width: 1400px;
}

/* ==============================
   BASE STYLES
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
}

/* ==============================
   NAVBAR
   ============================== */

.navbar {
    background: var(--primary-color);
    box-shadow: var(--shadow-soft);
    width: 100%;
    position: relative;
}

.navbar-container {
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 1200px;
    /* prevents squeezing issues */
}

.navbar-container>* {
    flex-shrink: 0;
    /* prevents items from collapsing */
}

.navbar-logo img {
    height: var(--logo-height);
    transition: transform 0.3s ease;
}

.navbar-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px !important;
    margin-bottom: 0px;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.call-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 11px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    margin-left: 20px;
    position: relative;
    display: inline-block;
    z-index: 1;
    overflow: hidden;
    vertical-align: middle;

}


/* Animation overlay */
.call-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #d4a017;
    border-radius: 30px;
    /* Gold fill */
    transition: width 0.4s ease;
    z-index: -1;
}

/* Hover effect: fill from left to right */
.call-btn:hover::before {
    width: 100%;
}

/* Change text color on hover */
.call-btn:hover {
    color: #fff;
}

/* ==============================
   HAMBURGER MENU
   ============================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}


/* ==============================
   DROPDOWN MENU
   ============================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    padding: 0.5rem 0;
    border-radius: 6px;
    box-shadow: var(--dropdown-shadow);
    z-index: 999;
    transition: opacity 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Dropdown link styling */
.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #f0f0f0;
}

.bar {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s ease;
}


/* ==============================
   Top NavBar
   ============================== */

.top-bar {
    background-color: var(--secondary-color);
    /* Dark background */
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    /* gap: 120px; */
    padding: 10px 127px;
    font-size: 14px;
}

.top-bar .info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar i {
    color: #fff;
    font-size: 16px;
}

.rightInfo {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* ✅ dim background */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
    /* just below nav-menu (999) */
}

/* When menu is open */
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    transition: 0.4s ease-in-out;
}

/* Responsive Design */
@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        font-size: 10px;
        padding: 0px;
    }
}

/* ==============================
   RESPONSIVE
   ============================== */
/* ==============================
   RESPONSIVE NAV MENU FIXED
   ============================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .navbar-container {
        padding: 0 18px;
        /* already present, keep this */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        flex-direction: column;
        padding: 120px 25px 40px;
        background: var(--primary-color);
        z-index: 999;
        gap: 35px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 12px;
    }

    /* Hamburger animation */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .call-btn {
        margin-left: 0px;
    }
    .top-bar{
        gap: 0px;
    }
}

@media (max-width: 760px) {
    .navbar-container {
        padding: 0 18px;
        gap: 0;
        /* remove big gap on small devices */
    }

    .navbar-logo img {
        height: 55px;
    }

    .nav-menu {
        width: 70%;
        gap: 20px !important;
    }

    .top-bar {
        font-size: 10px;
        text-align: center;
        flex-direction: column;
        gap: 6px;
        padding: 0px;
    }

    .call-btn {
        margin-left: 0px;
    }
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 35px;
    }

    .navbar-container {
        padding: 0 40px;
        /* reduce from 160px */
    }

    .navbar-logo img {
        height: 60px;
    }
    .top-bar{
        gap: 0;
    }

}
