/* Global Styles */
:root {
    --primary: #c21d2e;
    --primary-dark: #a01725;
    --text: #222222;
    --text-light: #575760;
    --background: #ffffff;
    --background-alt: #f7f8f9;
    --accent: #1e73be;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    height: 75px;
}

.inside-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-logo img {
    max-width: 92px;
    height: auto;
    display: block;
    padding: 8px 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    height: 100%;
    align-items: center;
}

.main-nav li {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text);
}

.mobile-menu-toggle i {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero-section {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    margin-top: 75px;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--gray-100);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Services Section */
.services {
    background-color: var(--background-alt);
    padding: 6rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

/* Accordion FAQ Section */
.accordion-faq-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--background-alt);
}

.accordion-container {
    margin-top: 3rem;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.accordion-header {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 1.5rem 2rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.accordion-header[aria-expanded="true"] {
    background: var(--primary);
    color: white;
}

.accordion-header[aria-expanded="true"] .accordion-icon,
.accordion-header[aria-expanded="true"] .accordion-chevron {
    color: white;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    margin-right: 1rem;
    flex-shrink: 0;
}

.accordion-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.accordion-content.active {
    max-height: 200px;
    padding: 0 2rem 1.5rem 2rem;
}

.accordion-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 6rem auto;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(194, 29, 46, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--text);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-section {
    padding: 0 1rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--gray-300);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        padding: 0;
    }

    .site-footer {
        padding: 3rem 1rem 1.5rem;
    }

    .site-header {
        height: 65px;
    }

    .inside-header {
        justify-content: space-between;
        align-items: center;
    }

    .site-logo img {
        max-width: 77px;
        padding: 6px 0;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1100;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80vw;
        max-width: 340px;
        min-width: 220px;
        background: #fff;
        box-shadow: -8px 0 32px rgba(0,0,0,0.18);
        z-index: 1002;
        border-radius: 12px 0 0 12px;
        transition: transform 0.35s cubic-bezier(.4,0,.2,1);
        transform: translateX(100%);
        display: flex;
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
    }
    .mobile-nav.active {
        transform: translateX(0);
    }
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 1.5rem 1rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 2;
    }
    .mobile-nav-logo img {
        max-width: 120px;
        height: auto;
        display: block;
    }
    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 2.2rem;
        color: var(--text);
        cursor: pointer;
        padding: 0 0.5rem;
        margin-left: 1rem;
        line-height: 1;
        transition: color 0.2s;
    }
    .mobile-menu-close:hover,
    .mobile-menu-close:focus {
        color: var(--primary);
    }
    .main-nav {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
        margin: 0;
        list-style: none;
        width: 100%;
        flex: 1 1 auto;
    }
    .main-nav li {
        width: 100%;
    }
    .main-nav a {
        display: block;
        width: 100%;
        padding: 1rem 0.75rem;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text);
        text-align: left;
        border-radius: 8px;
        letter-spacing: 0.01em;
        transition: background 0.2s, color 0.2s;
    }
    .main-nav a:hover,
    .main-nav a:focus {
        background: var(--gray-200);
        color: var(--primary);
    }
    .main-nav .button {
        margin: 2rem 0 0;
        width: 100%;
        padding: 1.1rem 1.25rem;
        font-size: 1.15rem;
        font-weight: 700;
        border-radius: 8px;
        background: var(--primary);
        color: #fff;
        box-shadow: 0 4px 16px rgba(194,29,46,0.08);
        position: sticky;
        bottom: 1.5rem;
        left: 0;
        right: 0;
        z-index: 2;
        text-align: center;
        transition: background 0.2s, color 0.2s;
    }
    .main-nav .button:hover,
    .main-nav .button:focus {
        background: var(--primary-dark);
        color: #fff;
    }
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.45);
        z-index: 1001;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
        backdrop-filter: blur(2.5px);
    }
    .mobile-nav.active ~ .menu-overlay,
    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    .hero-section {
        margin-top: 65px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .button {
        width: 100%;
        margin: 0.5rem 0;
    }

    .button.secondary {
        margin-left: 0;
    }

    section {
        padding: 4rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        width: 100%;
        margin: 0 auto;
    }
    .hero-buttons .button,
    .hero-buttons .button.secondary {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .button.secondary {
        margin-left: 0;
    }
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: var(--primary-dark);
}

.button.secondary {
    background: var(--accent);
    margin-left: 1rem;
}

.button.secondary:hover {
    background: #1557a0;
}

/* Navigation Button */
.main-nav .button {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    margin-left: 1rem;
    border-radius: 4px;
    box-shadow: none;
}

.main-nav .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 29, 46, 0.2);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item,
.service-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Additional Global Styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

section {
    padding: 4rem 2rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    color: #222222;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.popup-close:hover {
    color: var(--primary);
    background-color: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.popup-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.popup-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.popup-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.popup-content .form-group {
    margin-bottom: 1.5rem;
}

.popup-content .button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .popup-content {
        padding: 2rem 1.5rem;
    }
    
    .popup-content h3 {
        font-size: 1.5rem;
    }
}

/* Hide mobile menu on desktop by default */
.mobile-nav {
    display: none;
}

/* Show mobile menu only on mobile, hide desktop nav on mobile */
@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }
    .main-navigation {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: 250px;
    }
    
    .accordion-faq-section {
        padding: 4rem 1rem;
    }
    .accordion-header {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    .accordion-content.active {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    .accordion-icon {
        width: 20px;
        height: 20px;
        margin-right: 0.75rem;
    }
    .accordion-chevron {
        width: 18px;
        height: 18px;
    }
} 

/* Service Areas Section */
.service-areas {
    padding: 5rem 1.5rem;
    background: var(--background-alt);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
}

.area-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.area-item h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.area-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text);
    font-weight: 500;
}

.area-item li:last-child {
    border-bottom: none;
}

/* Process Section */
.process-section {
    padding: 5rem 1.5rem;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--background-alt);
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .button {
    background: white;
    color: var(--primary);
    border: 2px solid white;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-buttons .button:hover {
    background: transparent;
    color: white;
}

.cta-buttons .button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .button.secondary:hover {
    background: white;
    color: var(--primary);
}

/* Gravel Advantages Section */
.gravel-advantages {
    padding: 6rem 2rem;
    background-color: var(--background-alt);
}

.gravel-advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.gravel-advantages .text-center {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.advantage-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.advantage-item h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.advantage-note {
    font-style: italic;
    color: var(--text-light);
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* Contractor Gallery Section */
.contractor-gallery {
    padding: 6rem 2rem;
    background-color: var(--background);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--background-alt);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    margin-top: 75px;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-container a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-container span {
    color: var(--text);
    font-weight: 500;
}

/* Related Services Section */
.related-services {
    padding: 6rem 2rem;
    background-color: var(--background-alt);
}

.related-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.related-services .text-center {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.related-service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.related-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.related-service-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.related-service-item h3 a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-service-item h3 a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.related-service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contractor-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contractor-gallery .text-center {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-caption {
    padding: 2rem;
    text-align: center;
}

.gallery-caption h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.gallery-caption p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .button {
        width: 100%;
        max-width: 300px;
    }
    
    .gravel-advantages h2 {
        font-size: 2rem;
    }
    
    .gravel-advantages .text-center {
        font-size: 1.1rem;
    }
    
    .contractor-gallery h2 {
        font-size: 2rem;
    }
    
    .contractor-gallery .text-center {
        font-size: 1.1rem;
    }
    
    .related-services h2 {
        font-size: 2rem;
    }
    
    .related-services .text-center {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .area-item,
    .process-step,
    .advantage-item,
    .gallery-item,
    .related-service-item {
        padding: 1.5rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .gravel-advantages h2 {
        font-size: 1.75rem;
    }
    
    .gravel-advantages .text-center {
        font-size: 1rem;
    }
    
    .contractor-gallery h2 {
        font-size: 1.75rem;
    }
    
    .contractor-gallery .text-center {
        font-size: 1rem;
    }
    
    .related-services h2 {
        font-size: 1.75rem;
    }
    
    .related-services .text-center {
        font-size: 1rem;
    }
} 