/* --- 1. VARIABLES & GLOBALS --- */
:root {
    --brand-red: #b8301a;
    --dark-red: #612d25;
    --text-dark: #212121;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Anton', sans-serif; text-transform: uppercase; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* --- 2. HEADER --- */
header {
    height: 100px;
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); 
    display: flex;
    align-items: center;
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { height: 70px; }
nav a { text-decoration: none; color: var(--text-dark); margin: 0 15px; font-weight: 700; font-size: 14px; text-transform: uppercase; }

.header-cta .phone-link {
    background: var(--brand-red);
    color: var(--white) !important;
    padding: 12px 20px;
    text-decoration: none;
    font-family: 'Anton';
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary { background: var(--brand-red); color: var(--white); padding: 12px 24px; text-decoration: none; font-family: 'Anton'; display: inline-block; cursor: pointer; }
.btn-secondary { background: var(--brand-red); color: var(--white); padding: 15px 30px; text-decoration: none; font-family: 'Anton'; display: inline-block; }
.btn-outline { border: 2px solid var(--brand-red); color: var(--white); padding: 15px 30px; text-decoration: none; font-family: 'Anton'; display: inline-block; }

/* --- 3. HERO (House Panning) --- */
.hero { position: relative; padding: 240px 0 320px 0; color: #fff; z-index: 10; }
.hero::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.4)), url('assets/images/hero-bg.jpg');
    background-attachment: fixed; /* Panning effect */
    background-size: cover; background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0% 100%);
    z-index: -1;
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-text h1 { font-size: 60px; line-height: 1.1; margin-bottom: 20px; }
.hero-form-box { background: var(--white); padding: 40px; border-top: 6px solid var(--brand-red); color: var(--text-dark); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.form-row { display: flex; gap: 10px; margin-bottom: 15px; }
input, textarea { width: 100%; padding: 12px; background: #f4f4f4; border: 1px solid #ccc; font-family: 'Inter'; }
.hero-form-box button { background: none; border: none; font-family: 'Anton'; font-size: 24px; color: var(--brand-red); cursor: pointer; float: right; margin-top: 10px; }

/* --- 4. ABOUT --- */
.about { position: relative; margin-top: -120px; padding: 200px 0 160px 0; background: #fff; clip-path: polygon(0 8%, 100% 0, 100% 92%, 0% 100%); z-index: 5; display: flex; gap: 50px; align-items: center; }
.about-image { flex: 1; position: relative; z-index: 1; }
.about-image::before { content: ""; position: absolute; top: 20px; left: -20px; width: 100%; height: 100%; background: var(--brand-red); z-index: -1; transform: skew(-3deg); }
.about-image img { width: 100%; display: block; box-shadow: 10px 10px 30px rgba(0,0,0,0.2); }
.about-content { flex: 1; }
.about-content h2 { color: var(--brand-red); font-size: 40px; margin-bottom: 20px; }

/* --- 5. BARN CTA (Barn Panning) --- */
.barn-cta { position: relative; margin-top: -40px; padding: 220px 0; color: white; z-index: 4; }
.barn-cta::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/images/barn-bg.jpg');
    background-attachment: fixed; /* Panning effect */
    background-size: cover; background-position: center;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
}
.barn-cta h2 { font-size: 48px; margin-bottom: 20px; }

/* --- 6. AREAS SERVED (Side-by-Side) --- */
.areas-served { position: relative; margin-top: -60px; padding: 120px 0 80px 0; background: #fff; z-index: 3; }
.areas-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.hours-info h3, .map-info h3 { color: var(--brand-red); border-bottom: 4px solid var(--brand-red); display: inline-block; margin-bottom: 15px; }
.hours-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; }
.payment-methods { background: #f9f9f9; padding: 15px; border-left: 4px solid var(--brand-red); margin-top: 15px; }
.payment-icons { font-size: 24px; margin-top: 10px; display: flex; gap: 10px; color: #555; }
.serving-list ul { list-style: none; }
.serving-list li { padding: 5px 0; border-bottom: 1px solid #eee; }
.contact-details i { color: var(--brand-red); margin-right: 10px; }

/* --- 7. FOOTER --- */
.main-footer { background: #1a1a1a; color: #fff; padding: 60px 0; z-index: 2; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 60px; margin-bottom: 20px; }
.social-icons a { color: #fff; font-size: 24px; margin-right: 15px; }
.footer-links a { display: block; color: #fff; text-decoration: none; font-family: 'Anton'; margin-bottom: 10px; transition: color 0.3s; }
.footer-links a:hover { color: var(--brand-red) !important; }
.footer-contact h3 { color: var(--brand-red); margin-bottom: 15px; border-bottom: 4px solid var(--brand-red); display: inline-block; }
.footer-contact i { color: var(--brand-red); margin-right: 10px; }

/* Page Header Template Fix */
.page-header {
    padding: 180px 0 200px 0; /* More room above the header */
    text-align: center;
}

.page-header h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

/* Services Page Specifics */
.services-hero {
    padding: 160px 0 180px 0;
}

/* Services Hero - Using image_e3713c.jpg */
.services-hero::before {
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.4)), url('assets/images/services-hero-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0% 100%);
    z-index: -1;
}


@media (max-width: 960px) {
    .service-card.centered-card { grid-column: auto; margin-left: 0; }
}

.services-main {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #f9f9f9;
    padding: 40px;
    width: calc(33.333% - 20px); /* 3 per row on desktop */
    min-width: 300px;
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 5px solid #eee;
}

.services-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This automatically centers leftover cards */
    gap: 30px;
    padding: 80px 0;
}

.service-card:hover {
    background: var(--white);
    border-bottom: 5px solid var(--brand-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 40px;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 14px;
    color: #666;
}

/* --- Trust Cards Section --- */
.trust-section {
    position: relative;
    display: block !important; /* Force it to exist */
    width: 100%;
    padding: 100px 0;
    background-color: #ffffff;
    z-index: 50; /* Crank this up to stay above all slants */
}

.trust-cards-container {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.trust-card {
    background: #ffffff;
    padding: 40px 20px;
    flex: 1;
    min-width: 260px;
    max-width: 300px;
    text-align: center;
    border: 3px solid #212121; /* Solid dark border */
    box-shadow: 8px 8px 0px #b8301a; /* Hard brand-red shadow */
    transition: all 0.2s ease-in-out;
}

.trust-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 13px 13px 0px #b8301a;
}

.trust-card i {
    font-size: 50px;
    color: #b8301a;
    margin-bottom: 20px;
    display: block;
}

.trust-card h4 {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #212121;
}

.trust-card p {
    font-size: 14px;
    font-weight: 800;
    color: #444;
    text-transform: uppercase;
}

/* Why Choose Us Responsive Fix */
@media (max-width: 960px) {
    .why-choose {
        flex-direction: column !important;
    }
}

/* Mobile Horizontal Scroll Hack */
@media (max-width: 768px) {
    .services-grid {
        display: flex;
        overflow-x: auto; /* Side-scrolling menu on mobile */
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 15px;
    }
    
    .service-card {
        min-width: 85%; /* Shows most of one card and a peak of the next */
        scroll-snap-align: center;
    }
}

@media (max-width: 960px) {
    .service-card {
        width: calc(50% - 15px); /* 2 per row on tablets */
    }
}

@media (max-width: 650px) {
    .service-card {
        width: 100%; /* Full width on mobile */
    }
}

/* Mobile Horizontal Scroll Hack */
@media (max-width: 768px) {
    .services-grid {
        display: flex;
        overflow-x: auto; /* Side-scrolling menu on mobile */
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 15px;
    }
    
    .service-card {
        min-width: 85%; /* Shows most of one card and a peak of the next */
        scroll-snap-align: center;
    }
}

@media (max-width: 960px) {
    .areas-grid, .hero-grid, .footer-grid { grid-template-columns: 1fr; }
    nav, .header-cta { display: none; }
}

/* Gallery Hero - Standardized Panning */
.gallery-hero::before {
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.4)), url('assets/images/services-hero-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0% 100%);
    z-index: -1;
}

/* Gallery Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    height: 350px; /* Uniform height for a clean look */
    border-bottom: 4px solid #eee;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-bottom: 4px solid var(--brand-red);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the square without stretching */
}

@media (max-width: 960px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Reviews Hero - Panning Background */
.reviews-hero::before {
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.4)), url('assets/images/services-hero-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0% 100%);
    z-index: -1;
}

/* Reviews Grid */
.reviews-section { padding: 100px 0; }
.reviews-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    justify-content: center; 
}

.review-card {
    background: #f9f9f9;
    padding: 30px;
    width: calc(33.333% - 20px);
    min-width: 300px;
    border-bottom: 5px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
}

.stars { color: #f1c40f; margin-bottom: 15px; font-size: 14px; }
.review-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--text-dark); }
.review-card p { font-size: 14px; color: #555; flex-grow: 1; line-height: 1.5; }

.review-date { 
    display: block; 
    margin-top: 20px; 
    font-size: 12px; 
    color: #999; 
    font-weight: bold; 
}

/* Read More Button */
.read-more {
    background: none;
    border: none;
    color: var(--brand-red);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 0;
    text-align: left;
    font-size: 14px;
}

.read-more:hover { text-decoration: underline; }

@media (max-width: 960px) {
    .review-card { width: calc(50% - 15px); }
}
@media (max-width: 650px) {
    .review-card { width: 100%; }
}

/* --- MOBILE HEADER LOGIC --- */

/* Hide mobile-only elements on desktop */
.mobile-nav-toggle, .mobile-only-phone { display: none; }

@media (max-width: 960px) {
    header { height: 80px; }
    .logo { height: 50px; }

    /* Show the Hamburger Button */
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--brand-red);
        cursor: pointer;
        z-index: 2000;
    }

    /* Hide the desktop nav and CTA */
    nav, .header-cta { display: none; }

    /* The Slide-Out Mobile Menu */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1500;
    }

    .nav-menu.active a {
        font-size: 20px;
        margin: 15px 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .mobile-only-phone {
        display: block !important;
        color: var(--brand-red) !important;
        font-family: 'Anton', sans-serif;
        margin-top: 20px !important;
    }

