/*
Theme Name: Brickforge
Theme URI: https://brickforge.com
Author: Brickforge
Description: Custom WordPress theme for Brickforge Construction
Version: 1.0
*/

/* ===========================
   RESET & GLOBAL STYLES
=========================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #D3D6D8 !important;
    padding-top: 60px;
}

h1, h2, h3, h4, h5, h6, p, span, a { color: #D3D6D8 !important; }
a { text-decoration: none; transition: 0.3s; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title { text-align: center; font-size: 38px; margin-bottom: 40px; }

/* ===========================
   HEADER & NAVIGATION
=========================== */
header {
    background: #000;
    border-bottom: 1px solid #222;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 999;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.site-title img { max-height: 55px; width: auto; display: block; }
nav ul.menu { display: flex !important; align-items: center; gap: 28px; list-style: none !important; }
header nav.main-nav ul li a { color: #b2b2b2; font-weight: 500; }
header nav.main-nav ul li a:hover { color: #D3D6D8 !important; }

.menu-toggle { display: none; cursor: pointer; z-index: 1001; }
.menu-toggle span { display: block; width: 28px; height: 3px; margin: 5px 0; background: #B13F13 !important; }


/* ===========================
   HOME PAGE - HERO SECTION
=========================== */
.hero {
    height: 65vh !important; 
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') no-repeat center center;
    background-size: cover !important;
    
    display: flex;
    align-items: flex-start !important; 
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 60px; /* Moves logo/tagline to the top */
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fixed Logo Size for Home Page */
.hero-logo img, .hero-main-logo img {
    max-width: 800px !important; /* Adjusted from 600px to be much smaller */
    width: 80%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.85));
    margin-bottom: 0px;
}

.tagline-title { 
    text-align: center; 
    color: #D3D6D8 !important; 
    letter-spacing: 0.3em; 
    text-transform: uppercase; 
    margin-top: -5px !important; /* Pulls tagline closer to logo */
    font-size: 1rem;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ===========================
   HOME PAGE - TOUR LINKS
=========================== */
.tour-links, .tour-links-section { 
    padding: 20px 20px; /* Reduced vertical padding */
    text-align: center;
    
    /* Increase this negative number to move it HIGHER */
    margin-top: -100px; 
    
    position: relative;
    z-index: 10;
}

.tour-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-top: 15px; /* Reduced gap between title and buttons */
}

.tour-btn {
    background: #B13F13 !important; 
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    border: none;
    transition: 0.3s ease;
}

.tour-btn svg { fill: #ffffff; }

.tour-btn:hover { 
    background: #8e320f !important; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(177, 63, 19, 0.3);
}

.tour-btn.youtube { background: #B13F13 !important; }


/* ===========================
   HOME PAGE - SERVICES SLIDER
=========================== */
/* 1. Hide scrollbar by default (for PC) */

.services-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
.services-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.services-grid {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px 40px;
    
    /* Change width and add justify-content */
    width: 100%; 
    justify-content: center; /* This centers the cards on PC */
}

.service-card {
    background: #1c1c1c;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    
    /* Set a fixed width so they don't squish */
    width: 300px; 
    flex-shrink: 0; /* Prevents the row from shrinking the cards */
}

.service-card h3 { 
    color: #B13F13 !important; 
    font-size: 18px !important;
    margin-bottom: 15px; 
}

/* ===========================
   HOME PAGE - PROJECTS & QUOTE
=========================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
}
.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.quote-section {
    padding: 80px 20px;
    text-align: center;
    background: #111;
    margin-top: 60px;
}
.quote-section p { font-size: 24px; margin-bottom: 30px; }
.hero-btn { background: #B13F13; padding: 15px 35px; border-radius: 5px; font-weight: bold; }

/* ===========================
   ABOUT & CONTACT PAGE (PROTECTED - DO NOT TOUCH)
=========================== */
.about-page-wrapper, .contact-page-wrapper { padding-top: 30px !important; }

.about-content-grid, .mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px !important;
    margin-bottom: 30px;
}

.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px !important; }

.about-hero-card, .about-text, .trademark-box, .mission-card, 
.commitment-card, .usp-item, .stat-card, .contact-card {
    background: #1c1c1c !important; 
    border-radius: 15px;
    padding: 40px;
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero-card { border-top: 3px solid #B13F13 !important; width: 100%; margin-bottom: 50px; }
.tm-icon { font-size: 50px; color: #B13F13; margin-bottom: 10px; }
.usp-number { font-size: 24px; color: #333; font-weight: bold; margin-bottom: 10px; }

/* ===========================
   CONTACT PAGE ISOLATION (PROTECTED)
=========================== */
.contact-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px;
    max-width: 1300px;
    margin: 40px auto;
}

.contact-grid .contact-card {
    border-top: 3px solid #B13F13 !important;
    padding: 40px 20px;
}

.contact-card a {
    display: inline-block;
    background: #B13F13;
    color: #fff !important;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    font-size: 14px;
}
.whatsapp-btn { background: #25D366 !important; }

/* ===========================
   RESPONSIVE FIXES
=========================== */
@media (max-width: 1024px) {
    .menu-toggle { display: block; }
    header nav.main-nav {
        position: fixed; top: 60px; left: 0; width: 100%;
        background: #000; max-height: 0; overflow: hidden; transition: 0.4s;
    }
    header nav.main-nav.active { max-height: 500px; }
    header nav.main-nav ul { flex-direction: column; }
    
    /* Target other sections, but REMOVE .services-grid from here */
    .about-content-grid, .mission-section, .contact-grid, .usp-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column;
        gap: 25px !important;
    }

    /* Keep Services in a row on mobile */
    .services-grid {
        display: flex !important;
        flex-direction: row !important; /* Forces row on mobile */
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch; /* Makes scrolling smooth on iPhone */
        padding-bottom: 15px;
    }

    .service-card {
        width: 280px !important; /* Slightly smaller for mobile screens */
        flex-shrink: 0;
    }
	.home .section-title {
        font-size: 22px !important;
    }
    .home .quote-section p {
        font-size: 18px !important;
    }
    .tour-links-section .section-title {
        font-size: 16px !important;
    }
	.services-grid {
        justify-content: flex-start; 
        width: max-content; 
    }
    .services-container {
        scrollbar-width: thin;
        scrollbar-color: #B13F13 #1c1c1c;
        padding-bottom: 30px; /* Extra space for the bar */
    }

    .services-container::-webkit-scrollbar {
        height: 6px; 
        display: block !important;
    }

    .services-container::-webkit-scrollbar-track {
        background: #111;
        border-radius: 10px;
    }

    .services-container::-webkit-scrollbar-thumb {
        background: #B13F13;
        border-radius: 10px;
    }
}
/* ===========================
   HOME PAGE HEADINGS (FRONT-PAGE ONLY)
=========================== */

/* Targets "Our Services", "Our Projects", etc. on Home Page */
.home .section-title {
    font-size: 48 !important; /* Reduced from 38px */
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Targets the smaller titles inside Service Cards */
.home .service-card h3 {
    font-size: 18px !important;
    margin-bottom: 10px;
}

/* Targets the Tagline under the Hero Logo */
.home .tagline-title {
    font-size: 0.85rem !important; /* Made smaller and more subtle */
    letter-spacing: 0.4em;
}

/* Targets the Quote Section text */
.home .quote-section p {
    font-size: 20px !important; /* Reduced from 24px */
}

/* Specific override for only the Tour Links heading */
.tour-links-section .section-title {
    font-size: 15px !important; /* Smaller than the rest of the home page */
    margin-bottom: 10px;        /* Pulls the buttons even closer */
    font-weight: 600;
    letter-spacing: 2px;
}

/* ===========================
   HOME PAGE - PROJECTS (GRID vs SLIDER)
=========================== */
.projects {
    padding: 60px 0;
    background: #000;
	padding-bottom: 0px !important; /* Removes the extra space at the bottom */
}	

/* PC VIEW: Grid Layout */
.projects-grid {
    display: grid !important; 
    /* This creates 5 columns on large screens. Change '5' to '3' if you want larger images */
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    border: none !important;      /* Explicitly remove all borders */
    border-top: none !important;  /* Ensure top border is gone */
    transition: 0.3s ease;
}

.project-card:hover {
    transform: scale(1.03); /* Subtle zoom on hover */
}

.project-card img {
    width: 100%;
    height: 200px; /* Uniform height for grid beauty */
    object-fit: cover;
    display: block;
}

/* MOBILE & TABLET VIEW: Slider Layout */
@media (max-width: 1024px) {
    .projects-container {
        overflow-x: auto;
        padding-bottom: 30px;
        scrollbar-width: thin;
        scrollbar-color: #B13F13 #1c1c1c;
    }

    .projects-grid {
        display: flex !important; /* Switch from Grid to Flex */
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 20px;
        width: max-content; /* Allow row to expand past screen width */
    }

    .project-card {
        width: 280px; /* Fixed width for slider items */
		border: none !important;
        border-top: none !important;
    }

    .projects-container::-webkit-scrollbar {
        height: 6px;
        display: block !important;
    }
    .projects-container::-webkit-scrollbar-thumb {
        background: #B13F13;
        border-radius: 10px;
    }
}
/* ===========================
   HAMBURGER ANIMATION
=========================== */

/* 1. Set the transition on the spans so they slide smoothly */
.menu-toggle span {
    transition: all 0.3s ease-in-out;
}

/* 2. Top bar rotates 45 degrees down */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* 3. Middle bar disappears */
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

/* 4. Bottom bar rotates 45 degrees up */
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* ===========================
   MOBILE MENU FINISHING TOUCHES
=========================== */
@media (max-width: 1024px) {
    /* 1. Add space so 'Home' isn't too high */
    header nav.main-nav ul {
        padding-top: 20px; 
        padding-bottom: 20px;
    }

    /* 2. Add borders between menu items */
    header nav.main-nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #222; /* Subtle dark border */
    }

    /* 3. Remove the border from the very last item (Contact) */
    header nav.main-nav ul li:last-child {
        border-bottom: none;
    }

    /* 4. Make the links easier to click on mobile */
    header nav.main-nav ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
}
/* ===========================
   SERVICES PAGE CONSOLIDATED
=========================== */
.services-page { padding-top: 40px; }

.services-hero {
    text-align: center;
    padding: 60px 20px;
    background: #000;
}

.services-subtitle {
    color: #b2b2b2 !important;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 120px;
}

.service-block.reversed { flex-direction: row-reverse !important; }

.service-text, .service-image {
    flex: 1;
    width: 50%;
}

.service-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(177, 63, 19, 0.2) !important;
    display: block;
    line-height: 1;
    margin-bottom: -10px;
}

.service-text h2 {
    font-size: 2.5rem;
    color: #B13F13 !important;
    margin-bottom: 20px;
}

.service-image {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background: #1c1c1c;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transition: 0.5s ease;
}

.service-image img:hover { transform: scale(1.05); }

/* Mobile logic for Services Page */
@media (max-width: 1024px) {
    .service-block, .service-block.reversed {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
        margin-bottom: 80px;
    }
    .service-text, .service-image { width: 100%; }
    .service-image { height: 300px; }
}
/* ===========================
   SERVICE NUMBER COLOR FIX
=========================== */
.service-number {
    color: #B13F13 !important; /* Matches the paragraph text color */
    opacity: 1 !important;      /* Removes any transparency */
    font-size: 3.5rem;          /* Slightly adjusted size for a cleaner look */
    font-weight: 800;
}
/* ===========================
   ATTRACTIVE SERVICES HEADING
=========================== */
.services-hero .section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #B13F13 !important; /* Your signature orange */
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Subtle line under the title */
.services-hero .section-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    background: #B13F13;
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-subtitle {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .services-hero .section-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
}
/* ===========================
   PROJECTS PAGE STYLES
=========================== */
.projects-page { padding-bottom: 100px; }

.projects-hero {
    text-align: center;
    padding: 100px 20px 60px;
}

.category-label {
    color: #B13F13 !important;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 60px 0 30px;
    border-left: 4px solid #B13F13;
    padding-left: 15px;
}

.projects-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background: #1c1c1c;
}

/* Make the Remodel project wider since it's solo */
.project-item.full-width {
    grid-column: span 2;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Overlay Effect */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(20px);
    opacity: 0;
    transition: 0.4s ease;
}

.project-item:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

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

.project-info h3 {
    color: #B13F13 !important;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.project-info p {
    font-size: 0.9rem;
    color: #b2b2b2 !important;
}

/* Mobile Fix */
@media (max-width: 1024px) {
    .projects-full-grid {
        grid-template-columns: 1fr;
    }
    .project-item.full-width {
        grid-column: span 1;
    }
    .project-info {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===========================
   PROJECTS PAGE - GALLERY SCROLL
=========================== */
.project-gallery-section {
    margin-bottom: 80px;
}

.project-address {
    color: #B13F13 !important;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-left: 5px solid #B13F13;
    padding-left: 15px;
}

.project-desc {
    color: #b2b2b2 !important;
    margin-bottom: 25px;
    max-width: 800px;
    line-height: 1.6;
}

/* Scroll Container Settings */
.gallery-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px; /* Space for the scrollbar */
    scrollbar-width: auto; /* Show on Firefox */
    scrollbar-color: #B13F13 #1c1c1c;
}

/* Force the row not to wrap */
.gallery-row {
    display: flex;
    gap: 15px;
    width: max-content; /* Critical: keeps items in one long line */
}

.gallery-card {
    width: 350px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1c1c;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* VISIBLE ORANGE SCROLLBAR (Chrome/Safari/Edge) */
.gallery-scroll-container::-webkit-scrollbar {
    height: 10px; /* Thicker for better visibility */
    display: block !important;
}

.gallery-scroll-container::-webkit-scrollbar-track {
    background: #1c1c1c;
    border-radius: 10px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: #B13F13;
    border-radius: 10px;
    border: 2px solid #1c1c1c; /* Adds a clean border around the thumb */
}
/* ===========================
   ATTRACTIVE PROJECTS HEADING
=========================== */
.projects-hero {
    padding: 100px 20px 80px;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    text-align: center;
}

.projects-hero .section-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #B13F13 !important;
    letter-spacing: 8px;
    margin-bottom: 0;
    line-height: 1;
    display: inline-block;
    position: relative;
    /* subtle glow to make it pop against the black */
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* The Architectural Accent Line */
.projects-hero .section-title::before {
    content: "OUR WORK";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    letter-spacing: 12px;
    color: #D3D6D8;
    opacity: 0.6;
    width: 100%;
}

.projects-hero .section-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: #B13F13;
    margin: 30px auto 0;
    /* Double line effect for a construction feel */
    box-shadow: 0 8px 0 rgba(177, 63, 19, 0.3);
}

/* Mobile adjustments for the big title */
@media (max-width: 768px) {
    .projects-hero .section-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }
    .projects-hero .section-title::before {
        font-size: 0.7rem;
        top: -20px;
    }
}
/* ===========================
   REFINED PROJECTS HEADING (THIN)
=========================== */
.projects-hero .section-title {
    font-size: 4.5rem;
    /* 300 is a nice light/thin weight */
    font-weight: 300 !important; 
    text-transform: uppercase;
    color: #B13F13 !important;
    /* Extra spacing makes thin fonts look expensive */
    letter-spacing: 12px; 
    margin-bottom: 0;
    line-height: 1.2;
    display: inline-block;
    position: relative;
}

/* Update the sub-text above it to match the elegance */
.projects-hero .section-title::before {
    content: "OUR WORK";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    letter-spacing: 15px;
    color: #b2b2b2;
    font-weight: 500;
}

/* Make the accent line thinner to match the font */
.projects-hero .section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px; /* Thinned from 4px to 1px */
    background: #B13F13;
    margin: 25px auto 0;
    box-shadow: none; /* Removed the double line for a cleaner look */
}

@media (max-width: 768px) {
    .projects-hero .section-title {
        font-size: 1.8rem;
        letter-spacing: 6px;
    }
}
/* ===========================
   GALLERY SCROLL LOGIC
=========================== */
.project-gallery-section {
    margin-bottom: 100px;
}

.gallery-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 25px; /* Space for the scrollbar */
    cursor: grab;
}

/* Chrome, Safari, Edge Scrollbar */
.gallery-scroll-container::-webkit-scrollbar {
    height: 8px;
    display: block !important;
}

.gallery-scroll-container::-webkit-scrollbar-track {
    background: #111;
    border-radius: 10px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: #B13F13; /* Your Brickforge Orange */
    border-radius: 10px;
}

/* Firefox Scrollbar */
.gallery-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #B13F13 #111;
}

.gallery-row {
    display: flex;
    gap: 20px;
    width: max-content; /* This keeps all 20 images in one row */
}

.gallery-card {
    width: 350px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #1c1c1c;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}
/* ===========================
   REFINED PROJECT ADDRESSES (MATCHING)
=========================== */
.project-address {
    font-size: 1.8rem; /* Scaled down slightly from the main hero title */
    font-weight: 300 !important; /* Matches the thin look of the main title */
    text-transform: uppercase;
    color: #B13F13 !important; /* Your signature orange */
    letter-spacing: 8px; /* High-end architectural spacing */
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    line-height: 1.4;
    border-left: none !important; /* Removing the old thick border for the new style */
    padding-left: 0 !important;
}

/* Thin accent line under each address to match the Hero */
.project-address::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background: #B13F13;
    margin-top: 10px;
}

.project-desc {
    color: #b2b2b2 !important;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.6;
    font-weight: 300; /* Keeping the text light to match the theme */
}

/* Mobile Fix for Project Headings */
@media (max-width: 768px) {
    .project-address {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }
}
/* ============================================================
   FORCE BOLD FOR MAIN HEADINGS ONLY
   ============================================================ */

/* Forces "Portfolio of Excellence" to be Bold */
.projects-hero .section-title {
    font-weight: 500 !important; /* Extra Bold */
    font-size: 2rem !important;
    color: #B13F13 !important;
    letter-spacing: 8px !important;
}

/* Forces "OUR WORK" to be Bold */
.projects-hero .section-title::before {
    content: "OUR WORK" !important;
    font-weight: 700 !important; /* Bold */
    color: #D3D6D8 !important;
    letter-spacing: 14px !important;
    opacity: 1 !important;
}
/* ============================================================
   CENTERED BOLD PORTFOLIO HEADINGS
   ============================================================ */

.projects-hero {
    text-align: center; /* Centers the inline-block title */
    padding: 100px 20px 60px;
    width: 100%;
}

.projects-hero .section-title {
    display: inline-block;
    font-weight: 500 !important; /* Bold */
    font-size: 2rem !important;
    color: #B13F13 !important;
    letter-spacing: 8px !important;
    position: relative;
    margin: 0 auto;
    text-align: center;
}

/* Centering the "OUR WORK" text above */
.projects-hero .section-title::before {
    content: "OUR WORK" !important;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%); /* This perfectly centers absolute text */
    font-weight: 700 !important; /* Bold */
    color: #D3D6D8 !important;
    letter-spacing: 14px !important;
    width: 100%;
    white-space: nowrap;
}

/* Centering the accent line below */
.projects-hero .section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: #B13F13;
    margin: 25px auto 0; /* 'auto' centers the block element */
}

@media (max-width: 768px) {
    .projects-hero .section-title {
        font-size: 2rem !important;
        letter-spacing: 4px !important;
    }
}
/* ============================================================
   REDUCED SPACE ABOVE "OUR WORK"
   ============================================================ */

.projects-hero .section-title::before {
    /* Adjusted from -35px to -20px to bring it closer */
    top: -40px !important; 
    
    /* Ensuring alignment remains perfect */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    content: "OUR WORK" !important;
    font-weight: 700 !important;
    color: #D3D6D8 !important;
    letter-spacing: 12px !important;
    width: 100%;
    white-space: nowrap;
    font-size: 0.8rem;
}

/* Adjusting top padding of the hero to compensate for the tighter text */
.projects-hero {
    padding-top: 80px !important;
}
/* ============================================================
   UNIFIED HEADING STYLES (SERVICES & PROJECTS)
   ============================================================ */

/* 1. Unified Bold Main Titles */
.projects-hero .section-title,
.services-hero .section-title {
    font-weight: 800 !important; /* Bold */
    font-size: 2rem !important;
    color: #B13F13 !important;
    letter-spacing: 10px !important;
    text-align: center;
    display: inline-block;
    position: relative;
}

/* 2. Unified "OUR WORK" / "OUR SERVICES" Sub-headings */
.projects-hero .section-title::before,
.services-hero .section-title::before {
    position: absolute;
    top: -40px !important; /* The tighter spacing you liked */
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700 !important;
    color: #D3D6D8 !important;
    letter-spacing: 12px !important;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Specific text for each page's sub-heading */
.services-hero .section-title::before {
    content: "OUR EXPERTISE" !important;
}

/* 3. Unified Thin Service/Project Names */
.service-text h2, 
.project-address {
    font-weight: 300 !important; /* Thin */
    font-size: 1.5rem !important;
    letter-spacing: 5px !important;
    color: #B13F13 !important;
    text-transform: uppercase;
}

/* 4. Center the Hero sections */
.projects-hero,
.services-hero {
    text-align: center !important;
    padding: 80px 20px 60px !important;
}
/* ============================================================
   GLOBAL CENTERING FOR SERVICES & PROJECTS
   ============================================================ */

/* Centers the Hero Titles and the "OUR" labels */
.services-hero, 
.projects-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Centers the individual Service titles and descriptions */
.service-item, 
.project-gallery-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

/* Centers the thin accent lines under the service/project names */
.service-text h2::after, 
.project-address::after {
    margin: 10px auto 0 !important; /* 'auto' pushes it to the center */
}

/* Ensures descriptions don't stretch too wide while staying centered */
.service-text p, 
.project-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    max-width: 700px;
}

/* Ensures the gallery scroll starts from a good place but remains scrollable */
.gallery-scroll-container {
    text-align: left; /* Keep the images left-aligned so they scroll properly */
}
/* ============================================================
   TIGHTEN SPACE AFTER SERVICES DESCRIPTION
   ============================================================ */
/* 1. Reduce space above "OUR EXPERTISE" */
.services-hero .section-title::before {
    top: -40px !important; /* Brought it even closer than the projects page */
}

/* 1. Remove bottom margin from the description paragraph */
.services-hero p {
    margin-bottom: 0 !important;
}

/* 2. Shrink the bottom padding of the entire hero section */
.services-hero {
    padding-top: 40px !important; /* Reduced from 80px or 100px */
    padding-bottom: 0px !important;
}

/* 3. Pull the first service section up higher */
.services-page .service-item:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 4. Ensure the orange bar under the title isn't pushing things away */
.services-hero .section-title::after {
    margin-bottom: 0px !important;
}
.services-hero .section-title {
    margin-top: 0 !important;
}
.gallery-scroll-container {
    width: 100%;
    overflow-x: auto; /* Required for the scrollbar to exist */
    padding-bottom: 25px;
    cursor: grab;
    -webkit-overflow-scrolling: touch; /* Smooth for mobile */
}

/* Styling the Orange Scrollbar */
.gallery-scroll-container::-webkit-scrollbar {
    height: 8px;
    display: block !important;
}

.gallery-scroll-container::-webkit-scrollbar-track {
    background: #111;
    border-radius: 10px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: #B13F13;
    border-radius: 10px;
}

.gallery-row {
    display: flex;
    gap: 20px;
    width: max-content;
}
/* ============================================================
   CENTERED ORANGE CONTACT STATEMENT
   ============================================================ */

.contact-hero {
    padding: 20px 20px 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything horizontally in flex */
    justify-content: center;
    text-align: center; /* Centers the text lines */
}

.build-statement {
    font-size: clamp(2rem, 6vw, 4.5rem); 
    font-weight: 500;
    color: #B13F13 !important; 
    line-height: 1;
    margin: 0 auto 25px auto; /* Centers the block itself */
    max-width: 900px;
    text-transform: none;
letter-spacing: 2px !important;
}

.statement-bar {
    width: 120px;
    height: 6px;
    background-color: #B13F13;
    margin: 0 auto; /* Ensures the bar stays centered under the text */
}

/* Ensure container doesn't restrict centering */
.contact-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}