/*
 * Front Page Styles for Thurgood Excavating
 * Matches design from screenshot
 */
.site-inner .wrap:first-of-type {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.section-title {
    font-size: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    font-family: Montserrat;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   Hero Slider Section with Video Backgrounds
   ========================================================================== */

.hero-section {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 900px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}


/* ==========================================================================
   Hero Overlay Content - Simple & Clean
   Add this to your front-page.css file
   ========================================================================== */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 60px;
    text-align: center;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666666;
    margin: 0 0 10px 0;
}

.hero-title {
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.hero-description {
    font-size: 16px;
    color: #666666;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.hero-cta-button {
    display: inline-block;
    background: transparent;
    color: #333333;
    padding: 12px 35px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: 2px solid #333333;
    transition: all 0.3s ease;
}

.hero-cta-button:hover {
    background: #333333;
    color: #ffffff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero-content-box {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .hero-subtitle {
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-cta-button {
        padding: 10px 25px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-content-box {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 20px;
    }
}
.hero-logo {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-logo img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* Slider Navigation Arrows */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    font-size: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

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

/* ==========================================================================
   Mission Statement Section
   ========================================================================== */

.mission-section {
    background-color: #ffffff;
    padding: 120px 20px;
    text-align: center;
}

.mission-section .wrap {
    max-width: 900px;
}


.mission-section .mission-text, .services-intro,
.work-intro {
    /* font-size: 18px; */
    /* font-weight: 400; */
    /* line-height: 1.8; */
    color: #131313 !important;
    max-width: 1200px;
    x: 0 auto;
    font-size: 20px;
    margin: auto;
    line-height: 1.4;
    font-family: Montserrat;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    float: none;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background-color: #f5f5f5;
    padding: 80px 20px;
    text-align: center;
}

.services-section .wrap {
    max-width: 1400px !important;
    background: #ffffff;
    padding: 50px 00px !important;
}

.services-section .section-title {color: #333333;font-size: 64px;line-height: 1.1;font-family: 'Playfair Display';text-transform: none;/* font-size: 64px; */text-align: left;margin: 60px 20px 40px;}


.services-section .services-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #2b2b2b;
    max-width: fit-content;
    margin: auto !important;
    font-weight: 400;
    text-align: left;
    width: 100% !important;
    padding: 20px;
}

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

.services-section .wp-spaios-slider-wrap img {
    padding: 5px;
    height: 600px;
    width: 100% !important;
}

.service-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    margin: 20px 20px 10px;
}

.service-card p {
    font-size: 16px;
    color: #666666;
    margin: 0 20px 20px;
    line-height: 1.6;
}

.services-section .services-tagline {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    font-style: italic;
    margin-top: 40px;
}

/* ==========================================================================
   Explore Our Work Section
   ========================================================================== */

.work-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.work-section .wp-spaios-slider-wrap img {
    padding: 5px;
    height: 600px;
    width: 100% !important;
}

.work-section .wrap {
    max-width: 1200px;
}

.work-section .section-title {color: #333333;font-size: 64px;line-height: 1.1;font-family: 'Playfair Display';text-transform: none;/* font-size: 64px; */text-align: left;margin: 60px 20px 40px;}

.work-section .work-intro {
    font-size: 18px;
    color: #555555;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: 20px;
    margin-right: auto;
    text-align: left;
}

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

.work-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.work-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Dark Team Sections
   ========================================================================== */

.dark-section {
    background-color: #2d2d2d;
    color: #ffffff;
}

.team-section {
    padding: 80px 20px;
}

.team-section .wrap {
    max-width: 1400px;
}

.dark-section .section-title {color: #ffffff;padding-bottom: 20px;text-align: center;font-family: "Playfair";text-transform: none;font-size: 50px;color: #838385; border-bottom: 1px solid #838385;font-weight: 600px;}




/* Team Grid Layout */
.team-grid {
    display: grid;
    gap: 40px;
    max-width: 100%;
    margin: 0 auto;
    justify-items: center;
}

/* Individual Team Member Card */
.team-member {
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 280px;
    width: 100%;
}

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

.team-member img {
    width: 100%;
    width: 270px;
    height: 370px;
    overflow: hidden;
    object-fit: cover;
    /* border-radius: 8px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: 0 auto 20px;
    display: block;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-member:hover img {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.dark-section .team-member h3 {
    color: #ffffff;
    /* padding-bottom: 20px; */
    text-align: center;
    font-family: "Playfair";
    text-transform: none;
    font-size: 35px;
    font-weight: 400;
    text-align: left;
    margin: auto;
}

.team-member .job {
    font-size: 25px;
    color: #ffffff;
    margin: 0;
    text-align: left;
    font-weight: 400;
    /* text-wrap: wrap; */
    /* width: auto; */
}

.dark-section .team-member p {
    font-size: 16px;
    color: #cccccc;
    margin: 0;
    text-align: left;
    padding-top: 20px;
    font-weight: 400; font-family: "Playfair";
}

/* ==========================================================================
   Specific Team Section Grid Layouts
   ========================================================================== */

/* Executive Team - 3 columns */
.executive-team .team-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    gap: 50px;
}

/* Office Staff - 2 columns */
.office-staff .team-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    gap: 60px;
}

/* Foreman - 4 columns */
.foreman .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Years of Service - 4 columns */
.years-of-service .team-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    gap: 40px;
}

/* ==========================================================================
   Team Photo Section
   ========================================================================== */

.team-photo-section {
    padding: 80px 20px;
    background-color: #2d2d2d;
    text-align: center;
}

.team-photo-section .wrap {
    max-width: 1400px;
}

.team-photo-section .section-title {

    color: #ffffff;

}

.full-width-image {
    width: 100%;
    max-width: 1400px;
    height: auto;
    border-radius: 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background-color: #1a1a1a;
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    background: url('/wp-content/uploads/2025/11/CTA1.jpg');
}

.cta-section h2 {
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 60px;
    font-family: "playfair";
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #cccccc;
}

.cta-button {
    display: inline-block;
    background-color: #e44e56 !important;
    color: #ffffff;
    padding: 15px 40px;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
    /* border-radius: 5px; */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: transparent;
    transform: translateY(-3px);
    color: #ffffff;
    border: 1px solid #e44e56;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large tablets and smaller desktops */
@media (max-width: 1200px) {
    .foreman .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-slider {
        height: 500px;
    }
    
    .hero-logo img {
        max-width: 300px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .services-grid,
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .foreman .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile landscape and portrait tablets */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-logo img {
        max-width: 250px;
    }
    
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .mission-section,
    .services-section,
    .work-section,
    .team-section,
    .team-photo-section,
    .cta-section {
        padding: 60px 20px;
    }
    
    .mission-section .section-title,
    .dark-section .section-title,
    .team-photo-section .section-title,
    .cta-section h2 {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .work-section .section-title, 
    .services-section .section-title {
        font-size: 45px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .work-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .executive-team .team-grid,
    .office-staff .team-grid,
    .years-of-service .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .foreman .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .hero-slider {
        height: 300px;
    }
    
    .hero-logo img {
        max-width: 200px;
    }
    
    .slider-prev,
    .slider-next {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .mission-section,
    .services-section,
    .work-section,
    .team-section,
    .team-photo-section,
    .cta-section {
        padding: 40px 20px;
    }
    
    .mission-section .section-title,
    .services-section .section-title,
    .work-section .section-title,
    .dark-section .section-title,
    .team-photo-section .section-title,
    .cta-section h2 {
        font-size: 41px;
    }
    
    .executive-team .team-grid,
    .office-staff .team-grid,
    .foreman .team-grid,
    .years-of-service .team-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .team-member {
        max-width: 250px;
    }
    
    .team-member img {
        max-width: 220px;
        height: 320px;
    }
}









.swiper-caption
 {
    background: #ffffffbf !important;
    bottom: 0;
    position: absolute;
    z-index: 1 !important;
    text-align: center !important;
    font-family: "playfiar serif" !important;
    color: #252525 !important;
    font-size: 32px !important;
    padding: 10px 15px !important;
    width: 100% !important;
}
/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .team-section,
    .mission-section,
    .services-section,
    .work-section,
    .team-photo-section {
        page-break-inside: avoid;
    }
    
    .team-member,
    .service-card,
    .work-item {
        page-break-inside: avoid;
    }
}