/* ==============================================
           VARIABLES DE COLOR DE LA MARCA (:root)
        ============================================== */
:root {
    --bg-black: #000000;
    --gold-primary: #e6a308;
    --gold-hover: #ac7800;
    --gold-light: #f5b400;
    --text-light: #ffffff;
    --text-dark: #000000;
    --border-divider: rgba(248, 245, 245, 0.4);
    --border-dark-divider: rgba(0, 0, 0, 0.25);
}

body {
    background-color: #121212;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

/* Header General Wrapper */
.site-header {
    background-color: var(--bg-black);
    color: var(--text-light);
    position: relative;
    z-index: 1000;
    overflow: hidden;
}

/* Logo */
.brand-logo-img {
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Top Bar Styling */
.top-bar {
    font-size: 0.85rem;
    padding-top: 8px;
    padding-bottom: 8px;
}

.top-bar-icon {
    color: var(--gold-primary);
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.top-bar-icon:hover {
    color: var(--gold-light);
    transform: scale(1.15);
}

.top-bar-text {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.top-bar-text:hover {
    color: var(--gold-light);
}

.top-divider {
    border-right: 1px solid var(--border-divider);
    height: 16px;
    display: inline-block;
    margin: 0 12px;
    vertical-align: middle;
}

/* Gold Bottom Navigation Bar */
.main-nav-wrapper {
    background-color: var(--gold-primary);
    position: relative;
}

/* Diagonal slant on desktop left edge */
@media (min-width: 992px) {
    .gold-bar-container {
        clip-path: polygon(35px 0, 100% 0, 100% 100%, 0% 100%);
        background-color: var(--gold-primary);
    }
}

.nav-link-custom {
    color: var(--text-light) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 18px !important;
    text-transform: capitalize;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link-custom.active,
.nav-link-custom:hover {
    color: var(--text-dark) !important;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Vertical dividers between main menu links */
.nav-item-divider {
    position: relative;
}

@media (min-width: 992px) {
    .nav-item-divider:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 25%;
        height: 50%;
        width: 1px;
        background-color: var(--border-divider);
    }
}

/* Get A Free Estimate CTA Block */
.cta-estimate-btn {
    background-color: var(--gold-light);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 12px 28px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-estimate-btn:hover {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* Responsive Navbar Toggler */
.navbar-toggler {
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
}

.navbar-toggler-icon {
    filter: invert(70%) sepia(80%) saturate(500%) hue-rotate(5deg);
}



/* Footer Container Principal */
.site-footer {
    background-color: var(--bg-black);
    color: var(--text-white);
    padding-top: 60px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-dark);
}

/* Columna 1: Branding y Descripción */
.footer-logo {
    max-height: 85px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 25px;
}

/* Insignias / Badges (BBB & Owens Corning) */
.badges-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-bbb {
    background-color: var(--blue-accent);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.badge-bbb .bbb-title {
    font-size: 0.65rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.badge-owens {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.badge-owens .owens-red {
    background-color: var(--red-accent);
    color: #ffffff;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.badge-owens .owens-white {
    background-color: #ffffff;
    color: #000000;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Títulos de Secciones en el Footer */
.footer-title {
    color: var(--gold-primary);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
}

/* Listas de Enlaces (Quick Links & Services) */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(4px);
}

/* Información de Contacto (Get In Touch) */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    font-size: 0.93rem;
    margin-bottom: 14px;
}

.contact-info-list li i {
    color: var(--gold-primary);
    font-size: 1.05rem;
}

.contact-info-list a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-list a:hover {
    color: var(--gold-primary);
}

/* Iconos de Redes Sociales */
.social-icons-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--bg-black);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(201, 148, 26, 0.4);
}

/* Barra Inferior de Copyright */
.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border-dark);
    position: relative;
}

.copyright-text {
    color: var(--text-white);
    font-size: 0.88rem;
    margin: 0;
    text-align: center;
}

/* Botón Scroll to Top */
.btn-scroll-top {
    position: absolute;
    right: 0;
    bottom: 18px;
    width: 40px;
    height: 40px;
    background-color: var(--blue-accent);
    color: #ffffff;
    border: none;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-scroll-top:hover {
    background-color: #005a96;
    transform: translateY(-3px);
}

/* Ajustes Responsivos */
@media (max-width: 991.98px) {
    .site-footer {
        padding-top: 40px;
    }

    .footer-col {
        margin-bottom: 35px;
    }

    .btn-scroll-top {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 15px auto 0 auto;
    }
}


