@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #C00000;
    --primary-hover: #990000;
    --primary-light: rgba(192, 0, 0, 0.08);
    --dark: #111111;
    --dark-surface: #1A1A1A;
    --dark-card: #222222;
    --light: #FFFFFF;
    --light-gray: #F8F9FA;
    --border-color: #E2E8F0;
    --text-dark: #1A202C;
    --text-muted: #718096;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
}

/* Premium Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(192, 0, 0, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 0, 0, 0.4);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Navbar Custom styling */
.custom-navbar {
    background-color: var(--dark);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary);
}

.custom-navbar .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--light);
    letter-spacing: -0.5px;
}

.custom-navbar .navbar-brand span {
    color: var(--primary);
}

.custom-navbar .nav-link {
    color: rgba(255,255,255,0.85);
    font-family: var(--font-heading);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.custom-navbar .nav-link:hover, 
.custom-navbar .nav-link.active {
    color: var(--primary);
}

/* Top bar details */
.top-bar {
    background-color: #0c0c0c;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(34, 34, 34, 0.9) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--light);
    padding: 7rem 0 9rem 0;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--light), transparent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-badge-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Floating Calculator & Card styling */
.premium-card {
    background: var(--light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.calculator-card {
    border-top: 5px solid var(--primary);
    border-radius: var(--radius-md);
}

/* Advantages Section */
.advantage-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon-wrapper {
    background-color: var(--primary);
    color: var(--light);
    transform: scale(1.1);
}

/* Product Section */
.product-card {
    height: 100%;
}

.product-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #eaeaea;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

/* FAQ Accordion overrides */
.custom-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    background-color: var(--light);
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    filter: grayscale(1);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: none;
}

/* Testimonial Cards */
.review-card {
    padding: 2rem;
}

.review-stars {
    color: #FFB800;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.review-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}

/* District landing pages customized sections */
.district-grid-link {
    background-color: var(--light-gray);
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: block;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.district-grid-link:hover {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.neighborhood-badge {
    background-color: var(--light-gray);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    display: inline-block;
    margin: 0.25rem;
    transition: var(--transition);
}

.neighborhood-badge:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Blog layouts */
.blog-card {
    height: 100%;
}

.blog-img-container {
    height: 200px;
    overflow: hidden;
    background-color: #eee;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.08);
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Contact Footer styling */
.site-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 5rem 0 2rem 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary);
}

.site-footer h5 {
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--light) !important;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.85rem;
}

/* Lead Info boxes */
.info-box-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Portfolio Gallery Slider and Grid */
.gallery-grid-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 250px;
    background-color: #ddd;
    box-shadow: var(--shadow-sm);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.75);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.1);
}

.gallery-grid-item:hover .gallery-overlay {
    opacity: 1;
}

/* Breadcrumbs customization */
.breadcrumb-container {
    background-color: var(--light-gray);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.custom-breadcrumb {
    margin-bottom: 0;
}

.custom-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    color: var(--primary);
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-section {
        padding: 4rem 0 6rem 0;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .calculator-card {
        margin-top: 3rem;
    }
}

/* Floating WhatsApp Chat Widget */
.whatsapp-float-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.wa-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: none;
}

.wa-btn:hover {
    transform: scale(1.1);
}

.wa-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2s infinite;
    z-index: -1;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.wa-box {
    width: 330px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: absolute;
    bottom: 75px;
    right: 0;
    overflow: hidden;
    display: none;
    transform-origin: bottom right;
    animation: wa-bounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.1);
}

@keyframes wa-bounce {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wa-box.active {
    display: block;
}

.wa-box-header {
    background-color: #075E54;
    color: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wa-box-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wa-status-dot {
    width: 10px;
    height: 10px;
    background-color: #4ef037;
    border-radius: 50%;
    display: inline-block;
}

.wa-box-body {
    padding: 1.25rem;
    background-color: #E5DDD5;
}

.wa-bubble {
    background-color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 0.88rem;
    color: #333333;
    position: relative;
    max-width: 85%;
}

.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #ffffff transparent transparent;
}

.wa-box-footer {
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    text-align: center;
}
