/*
Theme Name: Belfast Rubbish Removal Child
Theme URI: https://belfastrubbishremoval.co.uk/
Description: High-performance, conversion-optimized Elementor child theme for Belfast Rubbish Removal.
Author: Belfast Rubbish Removal Team
Author URI: https://belfastrubbishremoval.co.uk/
Template: hello-elementor
Version: 1.0.0
Text Domain: belfast-rubbish-child
*/

/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & ROOT PALETTE
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-main: #F7F7F5;
    --bg-alt: #FFFFFF;
    --bg-dark: #0A0F0D;
    --forest-green: #123E22;
    --forest-green-hover: #1A542F;
    --accent-lime: #B7EF45;
    --accent-lime-hover: #C5F266;
    --text-main: #1A1F1C;
    --text-light: #F7F7F5;
    --text-muted: #646A66;
    --border-light: rgba(26, 31, 28, 0.08);
    --border-dark: rgba(247, 247, 245, 0.15);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --section-py: clamp(4rem, 8vw, 8rem);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 100px;
}

/* ==========================================================================
   2. GLOBAL TYPOGRAPHY & DEFAULTS (Local Manrope Font)
   ========================================================================== */
body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-main);
    margin-top: 0;
}

/* ==========================================================================
   3. GLOBAL REUSABLE UTILITY CLASSES & BUTTONS
   ========================================================================== */
.br-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.125rem 2.25rem !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    border-radius: var(--radius-pill) !important;
    background-color: var(--accent-lime) !important;
    color: var(--bg-dark) !important;
    text-decoration: none !important;
    border: none !important;
    gap: 0.75rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.br-btn-primary:hover {
    background-color: var(--accent-lime-hover) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(183, 239, 69, 0.25) !important;
    color: var(--bg-dark) !important;
}

.br-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.125rem 2.25rem !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    border-radius: var(--radius-pill) !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    gap: 0.75rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.br-btn-secondary:hover {
    background-color: var(--forest-green) !important;
    transform: translateY(-3px) !important;
    border-color: transparent !important;
    box-shadow: var(--shadow-md) !important;
    color: var(--text-light) !important;
}

/* ==========================================================================
   4. SCROLL REVEAL ANIMATIONS (Antigravity-compatible)
   ========================================================================== */
.br-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.br-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. EDITORIAL SERVICE CARDS (4-Column Elementor Grid Enhancements)
   ========================================================================== */
.br-service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.br-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.br-service-card .br-service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 13, 0.95) 0%, rgba(10, 15, 13, 0.5) 50%, rgba(10, 15, 13, 0) 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
    transition: background 0.4s ease;
}

.br-service-card:hover img {
    transform: scale(1.08);
}

.br-service-card:hover .br-service-overlay {
    background: linear-gradient(to top, rgba(18, 62, 34, 0.95) 0%, rgba(18, 62, 34, 0.6) 50%, rgba(10, 15, 13, 0) 100%);
}

.br-service-card h3 {
    color: var(--text-light);
    font-size: clamp(1.3rem, 1.8vw, 1.65rem);
    margin-bottom: 0.4rem;
    transition: transform 0.4s ease, color 0.4s ease;
}

.br-service-card p {
    color: rgba(247, 247, 245, 0.85);
    font-size: 0.92rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    line-height: 1.4;
    margin: 0;
}

.br-service-card:hover h3 {
    transform: translateY(-6px);
    color: var(--accent-lime);
}

.br-service-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   6. AREA PILLS & TRUST BADGES
   ========================================================================== */
.br-area-pill {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1.05rem;
    background: var(--bg-alt);
    color: var(--text-main);
    transition: all 0.3s ease;
    text-align: center;
}

.br-area-pill:hover {
    background: var(--forest-green);
    color: var(--text-light);
    border-color: var(--forest-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

 /* --- 8. GLOBAL SITE HEADER & FOOTER CLASSES --- */
.br-site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    padding: 1.1rem 0;
    background-color: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-family: var(--font-main, 'Manrope', sans-serif);
    transition: all 0.3s ease;
}
.br-header-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.br-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.br-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}
.br-desktop-nav {
    display: none;
}
@media (min-width: 992px) {
    .br-desktop-nav { display: block; }
}
.br-nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.br-nav-list a {
    color: rgba(247, 247, 245, 0.9);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: color 0.25s ease;
}
.br-nav-list a:hover,
.br-nav-list a.br-nav-highlight {
    color: var(--accent-lime, #B7EF45);
    font-weight: 700;
}
.br-header-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.br-btn-phone {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: #F7F7F5;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.35rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-decoration: none;
    transition: all 0.3s ease;
}
@media (min-width: 640px) {
    .br-btn-phone { display: inline-flex; }
}
.br-btn-phone:hover {
    background: rgba(255, 255, 255, 0.22);
}
.br-btn-quote-header {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-lime, #B7EF45);
    color: #0A0F0D;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.br-btn-quote-header:hover {
    background-color: #C5F266;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(183, 239, 69, 0.3);
}
.br-mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
@media (min-width: 992px) {
    .br-mobile-menu-btn { display: none; }
}
.br-mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: #F7F7F5;
}

/* Mobile Drawer */
.br-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #0A0F0D;
    z-index: 100000;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    font-family: 'Manrope', sans-serif;
}
.br-mobile-drawer.is-open { right: 0; }
.br-drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #F7F7F5;
    font-size: 2rem;
    cursor: pointer;
}
.br-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.br-drawer-links a {
    color: #F7F7F5;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}
.br-btn-primary-drawer {
    background: var(--accent-lime, #B7EF45);
    color: #0A0F0D !important;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    text-align: center;
    font-weight: 800 !important;
}

/* Global Footer Styles */
.br-site-footer {
    background-color: #050807;
    color: #F7F7F5;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(247, 247, 245, 0.12);
    width: 100%;
    font-family: 'Manrope', sans-serif;
}
.br-footer-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.br-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}
@media (min-width: 640px) {
    .br-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .br-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 4rem; }
}
.br-footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 6px;
}
.br-footer-desc {
    color: rgba(247, 247, 245, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.br-carrier-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-lime, #B7EF45);
    font-size: 0.9rem;
    font-weight: 700;
}
.br-footer-heading {
    color: #F7F7F5;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}
.br-footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-lime, #B7EF45);
    margin-top: 0.5rem;
}
.br-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.br-footer-nav-list a {
    color: rgba(247, 247, 245, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.br-footer-nav-list a:hover,
.br-footer-nav-list a.br-footer-highlight {
    color: var(--accent-lime, #B7EF45);
    transform: translateX(4px);
}
.br-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.br-contact-entry {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(247, 247, 245, 0.85);
    font-size: 0.95rem;
}
.br-contact-entry svg {
    color: var(--accent-lime, #B7EF45);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}
.br-phone-link {
    color: var(--accent-lime, #B7EF45);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}
.br-bottom-bar {
    border-top: 1px solid rgba(247, 247, 245, 0.12);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: rgba(247, 247, 245, 0.5);
    font-size: 0.88rem;
}
@media (min-width: 768px) {
    .br-bottom-bar { flex-direction: row; }
}


/* ==========================================================================
   7. STICKY TRANSPARENT HEADER STYLING
   ========================================================================== */
.br-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.br-header-sticky.is-scrolled {
    background-color: rgba(10, 15, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}
