/* Custom Concrete Texas - Industrial Professional Design System */

:root {
    /* Colors */
    --primary: #2D2D2D;
    /* Deep Charcoal */
    --accent: #E68A00;
    /* Construction Gold */
    --accent-hover: #CC7A00;
    --bg-light: #F9F9F7;
    /* Warm Paper */
    --bg-medium: #F0F0EE;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-spacing: 120px;
    --container-max: 1300px;
    --glass-bg: rgba(18, 18, 18, 0.98);
    --card-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

.h1 {
    font-size: 3.5rem;
}

.h2 {
    font-size: 2.75rem;
}

.h3 {
    font-size: 2rem;
}

.body-large {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .h1 {
        font-size: 2.5rem;
    }

    .h2 {
        font-size: 2rem;
    }
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.bg-light {
    background-color: var(--bg-light);
    background-image: url('/assets/images/concrete_texture.png');
    background-blend-mode: multiply;
    background-size: 600px;
}

.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark .h2,
.bg-dark .h3,
.bg-dark .h4 {
    color: var(--white) !important;
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent);
    stroke-width: 1.5px;
    fill: none;
    margin-bottom: 20px;
}

/* Components */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    border: none;
}

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

.btn-ghost {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-ghost:hover {
    background-color: var(--primary);
    color: var(--white);
}

.dark-section .btn-ghost {
    color: var(--white);
    border-color: var(--white);
}

/* Cards */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

/* Notched Architectural Card */
.card-notched {
    position: relative;
    clip-path: polygon(0% 20px,
            20px 0%,
            100% 0%,
            100% calc(100% - 20px),
            calc(100% - 20px) 100%,
            0% 100%);
    padding: 60px 40px 100px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: auto;
}

.card-notched:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background-color: var(--primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(45, 45, 45, 0.9) 0%, rgba(45, 45, 45, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Trust Bar */
.trust-bar {
    background: var(--bg-medium);
    padding: 120px 0;
    /* Increased to prevent divider clipping */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.trust-label {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.trust-logos {
    display: flex;
    gap: 50px;
    align-items: center;
    opacity: 0.6;
    filter: grayscale(1);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-overlay {
        background: rgba(45, 45, 45, 0.7);
    }

    .trust-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .trust-logos {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Base Utilities */
.text-accent {
    color: var(--accent) !important;
}

.text-white {
    color: var(--white) !important;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-nav--scrolled .nav-grid {
    padding: 10px 20px;
}

.top-bar {
    background: rgba(45, 45, 45, 0.4);
    backdrop-filter: blur(5px);
    padding: 10px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    min-height: 120px;
    /* Ensure vertical space for large logo */
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    color: var(--white);
}

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

.service-card:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, rgba(45, 45, 45, 0.9));
}

.service-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    z-index: 2;
}

.service-info h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.service-info p {
    font-size: 1rem;
    opacity: 0.8;
}

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

/* Footer */
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-column h4 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
}

/* Additional Components */
.card-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    color: var(--accent);
}

.card-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    stroke-width: 1.5px;
    fill: none;
}

.link-arrow {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: transform 0.3s;
}

.link-arrow:after {
    content: " →";
}

.link-arrow:hover {
    transform: translateX(5px);
}

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

@media (max-width: 768px) {

    .nav-links,
    .nav-cta,
    .top-bar {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-card {
        height: 350px;
    }
}


/* Geometric Dividers */
.divider-skew {
    position: relative;
    height: 200px;
    z-index: 5;
    margin: -100px 0;
    pointer-events: none;
    overflow: hidden;
    width: 100%;
}

.divider-skew--up {
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
}

.divider-skew--down {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

/* Contact Strip */
.contact-strip {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding-right: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item .icon {
    display: flex;
    align-items: center;
    color: var(--accent);
}

.contact-item .icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2px;
    fill: none;
}

/* Remove redundant blocks detected at the end of file */

/* Process Section */
.process-step {
    padding: 30px;
    border-top: 4px solid var(--bg-medium);
    transition: border-color 0.3s;
}

.process-step:hover {
    border-color: var(--accent);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-medium);
    margin-bottom: 20px;
    line-height: 1;
}

.process-step:hover .step-num {
    color: var(--accent);
}

/* Testimonials */
.testimonial-card-v2 {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.testimonial-card-v2:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

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