/* ============================================
   NAVBAR — requires main.css for :root variables
   ============================================ */

/* ============================================
   PERSISTENT CYLINDRICAL NAVBAR
   ============================================ */
.custom-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    z-index: 1030;
    padding: 4px 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-nav.scrolled {
    top: 0;
    background: rgba(0, 0, 0, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 8px 25px;
}

body.offcanvas-open .custom-nav {
    display: none;
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */
.custom-nav .navbar-nav {
    align-items: center;
}

.custom-nav .nav-item {
    margin: 0 5px;
}

.custom-nav .nav-link {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 15px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.custom-nav .nav-link:hover {
    color: #7bce57 !important;
}

.custom-nav .nav-link.active {
    color: #7bce57 !important;
    font-weight: 400;
    letter-spacing: 0;
}

/* Expanding underline */
.custom-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-green);
    transition: all 0.3s ease;
}

.custom-nav .nav-link:hover::after,
.custom-nav .nav-link.active::after {
    width: 20px;
}

/* ============================================
   MOBILE LOGO
   ============================================ */
/* FORCE ROUND LOGO */
.mobile-logo-circle {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50% !important; /* Force the container to be round */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important; /* This is the "Hard-Crop" */
    border: 2px solid var(--accent-green);
    aspect-ratio: 1 / 1; /* Ensures it never becomes an oval */
}

.mobile-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This fills the circle completely like the Sundarban logo */
    border-radius: 50%; /* Double protection: rounds the image itself */
}

/* ============================================
   OFFCANVAS / MOBILE DRAWER
   ============================================ */
.offcanvas-body .nav-link {
    font-family: 'Rubik', sans-serif;
    font-size: 14 px;
    font-weight: 400;
    color: rgb(255, 255, 255) !important;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    color: var(--accent-green) !important;
    padding-left: 10px;
}

.offcanvas-body .nav-link.active {
    color: var(--accent-green) !important;
    font-weight: 800;
}

.offcanvas-body .text-white-50 {
    color: rgb(255, 255, 255) !important;
    opacity: 0.7 !important;
}

/* ULTRA-BRIGHT NAVBAR LINKS */
.offcanvas-body .nav-link, 
.custom-nav .nav-link {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 400 !important; /* Thick lines reflect more white light */
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* THE BRIGHTNESS TRICK: A tiny white glow makes it look "backlit" */
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 
                 0 0 10px rgba(255, 255, 255, 0.1);
                 
    /* Smoothing for high-end rendering */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Ensure the background is dark enough to make white "pop" */
.offcanvas {
    background-color: #000000 !important; /* Pure black provides max contrast */
}
/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.btn-whatsapp {
    background-color: var(--accent-green) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 28px !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: none;
    display: inline-block;
    position: relative;
    box-shadow: 0 4px 0 #66a741;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #0e0e0e !important;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #6bda0a;
}

.btn-whatsapp:active {
    transform: translateY(4px);
    box-shadow: none;
}

