/* =====================================================
   CLC MOTOR PARTS — Base / Site.Master Styles
   Covers: global body, navbar, footer
   ===================================================== */

* {
    font-family: 'Poppins', sans-serif;
}

/* ===== PAGE BODY ===== */
body {
    padding-top: 0 !important;
    background: #f8f9fa;
}
.page-wrapper {
    min-height: calc(100vh - 80px);
}

/* ===== NAVBAR ===== */
.site-navbar {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-navbar .container {
    padding-top: 0;
    padding-bottom: 0;
}
.site-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: #27ae60 !important;
    letter-spacing: -0.5px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-navbar .navbar-brand .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}
.site-navbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #333 !important;
    padding: 22px 16px !important;
    transition: color 0.2s ease;
    border-bottom: 3px solid transparent;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-item.active .nav-link {
    color: #27ae60 !important;
    border-bottom: 3px solid #27ae60;
}
.site-navbar .dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px;
    margin-top: 0;
}
.site-navbar .dropdown-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #444;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}
.site-navbar .dropdown-item:hover {
    background: #f0fff4;
    color: #27ae60;
}
.site-navbar .btn-contact {
    background: #27ae60;
    color: white !important;
    border-radius: 25px;
    padding: 9px 20px !important;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    transition: background 0.2s ease, transform 0.15s;
    margin-left: 10px;
    border-bottom: none !important;
}
.site-navbar .btn-contact:hover {
    background: #1e8449 !important;
    color: white !important;
    transform: translateY(-1px);
    border-bottom: none !important;
}
.site-navbar .navbar-toggler {
    border: none;
    padding: 4px 8px;
}
.site-navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 0 0;
    margin-top: 60px;
}
.site-footer .footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.site-footer .footer-tagline {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 20px;
}
.site-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li {
    margin-bottom: 8px;
}
.site-footer ul li a {
    color: #888;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.site-footer ul li a:hover {
    color: #2ecc71;
}
.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #ccc;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-right: 8px;
    text-decoration: none;
}
.site-footer .social-links a:hover {
    background: #27ae60;
    color: white;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 18px 0;
    margin-top: 40px;
}
.site-footer .footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #555;
}

/* =====================================================
   MOBILE RESPONSIVE — Navbar & Footer
   ===================================================== */

/* Tablet & mobile */
@media (max-width: 768px) {
    .site-navbar .navbar-brand {
        font-size: 1rem;
        padding: 12px 0;
    }
    .site-navbar .navbar-brand .brand-logo {
        width: 32px;
        height: 32px;
    }
    /* On mobile, nav links don't have the underline border effect */
    .site-navbar .nav-link {
        padding: 12px 16px !important;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    .site-navbar .nav-link:hover,
    .site-navbar .nav-item.active .nav-link {
        border-bottom: none;
        border-left: 3px solid #27ae60;
        background: #f0fff4;
        border-radius: 8px;
    }
    .site-navbar .btn-contact {
        margin: 10px 16px 16px;
        display: inline-flex;
    }
    .site-navbar .navbar-collapse {
        padding: 8px 0;
    }
    /* Footer stacks columns */
    .site-footer {
        padding: 40px 0 0;
        margin-top: 40px;
    }
    .site-footer .footer-bottom .text-md-right {
        text-align: left !important;
        margin-top: 4px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .site-navbar .navbar-brand {
        font-size: 0.9rem;
    }
    .site-navbar .navbar-brand .brand-logo {
        width: 28px;
        height: 28px;
    }
}
