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

/* Navbar Container */
.navbar {
    padding: 0.75rem 0;
    background-color: #ffffff !important;
    border-bottom: 0.25px solid #F19138;
    transition: all 0.3s ease;
    z-index: 1030;
}

/* Navbar on scroll - add subtle shadow */
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

/* Brand Logo */
.navbar-brand {
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

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

.navbar-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}

/* Navbar Toggle Button (Mobile) */
.navbar-toggler {
    padding: 0.5rem;
    border: 2px solid #F19138 !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: #F19138;
}

.navbar-toggler:hover .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(224, 83, 12, 0.25);
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

/* Navigation Links */
.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    position: relative;
    color: #2F4F4F !important;
    font-weight: 400;
    font-size: 1.25rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #F19138;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #F19138 !important;
    background-color: rgba(224, 83, 12, 0.05);
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link.active {
    color: #F19138 !important;
    font-weight: 700;
}

.nav-link.active::before {
    width: 60%;
}

/* Contact CTA Button */
.nav-cta {
    background-color: #F19138 !important;
    color: #FFFFFF !important;
    font-weight: 600;
    /* padding: 0.6rem 1.5rem !important; */
    padding: 0.25rem 1.5rem !important; 
    border-radius: 8px;
    border: 2px solid #F19138;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(224, 83, 12, 0.2);
}

.nav-cta:hover {
    background-color: #2F4F4F !important;
    border-color: #2F4F4F;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(47, 79, 79, 0.3);
}

.nav-cta:active {
    transform: translateY(0);
}

/* ============================================
   MOBILE RESPONSIVE (Below 992px)
   ============================================ */

@media (max-width: 991.98px) {
    /* Mobile Menu */
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-radius: 8px;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        background-color: rgba(224, 83, 12, 0.1);
        padding-left: 1.5rem !important;
    }

    .nav-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .navbar-logo {
        height: 48px;
    }
}

/* ============================================
   TABLET RESPONSIVE (768px - 991px)
   ============================================ */

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-logo {
        height: 50px;
    }
}

/* ============================================
   LARGE SCREENS (1400px+)
   ============================================ */

@media (min-width: 1400px) {
    .navbar-nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem !important;
    }

    .navbar-logo {
        height: 60px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.nav-link:focus,
.navbar-toggler:focus,
.nav-cta:focus {
    outline: 2px solid #F19138;
    outline-offset: 2px;
}

/* Smooth transitions for all navbar elements */
.navbar * {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent layout shift when navbar is fixed */
body {
    padding-top: 80px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
}
