﻿/* =============================================
   MAIN NAVBAR
   ============================================= */
.church-navbar {
    background-color: #1B2A47; /* Navy Blue */
    border-bottom: 3px solid #D4AF37; /* Gold Accent Line */
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    transition: all 0.3s ease;
}

/* ---------------------------------------------
   BRANDING & LOGO
   --------------------------------------------- */
.brand-logo {
    height: 40px; /* Slightly larger for better visibility */
    width: 40px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.5); /* Soft gold ring around the logo */
    padding: 2px;
    background-color: #FFFFFF;
}

.brand-text {
    font-family: "Lora", "Playfair Display", Georgia, serif; /* Elegant serif font */
    font-size: 1.4rem;
    font-weight: 700;
    color: #F9F7F3; /* Linen White */
    letter-spacing: 0.5px;
}

.navbar-brand:hover .brand-text {
    color: #D4AF37; /* Pops to gold on hover */
}

/* ---------------------------------------------
   NAVIGATION LINKS
   --------------------------------------------- */
.church-nav-link {
    color: rgba(249, 247, 243, 0.85) !important; /* Slightly dimmed white */
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}

    /* The elegant underline hover effect */
    .church-nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: #D4AF37;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .church-nav-link:hover,
    .church-nav-link:focus,
    .nav-item .active {
        color: #D4AF37 !important; /* Turns Gold */
    }

        .church-nav-link:hover::after,
        .nav-item .active::after {
            width: 100%; /* Line grows from center */
        }

/* ---------------------------------------------
   SEARCH ICON (Desktop)
   --------------------------------------------- */
.search-icon-link {
    color: rgba(249, 247, 243, 0.85) !important;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

    .search-icon-link:hover {
        color: #D4AF37 !important;
        transform: scale(1.1);
    }

/* ---------------------------------------------
   DONATION CTA BUTTON
   --------------------------------------------- */
.btn-donate-nav {
    background-color: #D4AF37;
    color: #1B2A47 !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

    .btn-donate-nav:hover {
        background-color: transparent;
        color: #D4AF37 !important;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    }

/* ---------------------------------------------
   MOBILE TOGGLER
   --------------------------------------------- */
.custom-toggler {
    border: none;
    color: #F9F7F3;
    font-size: 1.75rem;
    padding: 0.25rem 0.5rem;
}

    .custom-toggler:focus {
        box-shadow: none;
        color: #D4AF37;
    }

/* Mobile Dropdown Menu Adjustments */
@media (max-width: 991.98px) {
    .church-navbar {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-collapse {
        background-color: rgba(15, 23, 42, 0.98); /* Slightly darker dropdown bg */
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        border: 1px solid rgba(255,255,255,0.05);
    }

    .church-nav-link::after {
        display: none; /* Turn off the underline effect on mobile for cleaner look */
    }

    .church-nav-link {
        padding-left: 1rem !important;
    }
}

/* Force transparent background on desktop */
@media (min-width: 992px) {
    .navbar-collapse {
        background-color: transparent !important;
        border: none !important;
    }
}