/* --- Header & Sticky Nav Optimization --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: #dcaa47;
    height: 35px; /* Reduced height */
    display: flex;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
}

.phone-link {
    color: #2b2b30;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.navbar {
    background-color: #2b2b30;
    padding: 10px 0; /* Normal height */
    position: relative;
    z-index: 1000; /* High number to stay on top */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px; /* Reduced for sticky bar */
    width: auto;
}

.tagline {
    color: #c89b45;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* --- Navigation Menu --- */
.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu a {
    color: #98999a;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-menu a:hover, .nav-menu .active {
    color: #fff;
    border-top: 2px solid #dcaa47;
}

.mobile-menu-toggle {
    display: none;
}

/* --- Dropdown Logic --- */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999 !important; /* Extremely high to override other elements */
    background-color: #fff; /* Ensure it's not transparent */
}

.dropdown-menu a {
    color: #333 !important;
    display: block;
    padding: 10px 15px;
    border-top: none !important;
}

.dropdown-menu a:hover {
    background: #f4f4f4;
    color: #dcaa47 !important;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* --- Payment Marquee --- */
.payment-marquee {
    background: #f1f1f1;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1; /* Lowest layer */
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    display: inline-block;
    margin: 0 25px;
    color: #555;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Responsive Styling --- */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #dcaa47;
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2b2b30;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        background: #3a3a40;
        box-shadow: none;
    }

    .dropdown-menu a {
        color: #ccc !important;
        padding-left: 30px;
    }
}

/* --- Modern Footer Styling --- */
.footer {
    background-color: #2b2b30;
    color: #ffffff;
    padding: 30px;
    margin-top: 50px;
    border-top: 4px solid #dcaa47;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h3 {
    color: #dcaa47;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #98999a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #ffffff;
    padding-left: 5px; /* Subtle hover effect */
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    background: #444;
    color: white;
    padding: 8px 15px;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #dcaa47;
}

/* Payment Grid in Footer */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.payment-methods-grid span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
    font-size: 11px;
    text-align: center;
    color: #98999a;
    border-radius: 3px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #1a1a1d;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #3d3d42;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.footer-legal a {
    font-size: 12px;
    color: #98999a;
    margin: 0 10px;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #dcaa47;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    * {
        font-size: large;
        font-weight: 400;

    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .payment-methods-grid {
        max-width: 300px;
        margin: 0 auto;
    }
}
