/* Banner Headline - Overlay on top of carousel (Homepage) */
.banner-headline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    padding: 20px 20px 15px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0) 100%);
}

.banner-headline h1 {
    color: #43ABDB;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}
/* Move carousel content lower and reduce bottom padding */
.carousel-section .slide-content {
    top: 58% !important;
}

/* Reduce gap between banner and next section */
.carousel-section {
    margin-bottom: 5px !important;
}

.under-carousel-section {
    margin-top: 0 !important;
    padding-top: 5px !important;
}

@media (max-width: 768px) {
    .banner-headline {
        padding: 15px 15px 12px 15px;
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 70%, rgba(255,255,255,0) 100%) !important;
    }
    
    .banner-headline h1 {
        font-size: 1.5rem !important;
    }
    
    .carousel-section {
        height: 375px !important;
        margin-top: 70px !important;
    }
    
    .carousel-section .slide-content {
        top: 55% !important;
        gap: 12px !important;
    }
    
    .carousel-section .slide-image img {
        width: 160px !important;
        height: 160px !important;
    }
    
    .carousel-section .slide-text h2 {
        font-size: 1.6rem !important;
        margin-bottom: 8px !important;
    }
    
    .carousel-section .slide-text p {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .banner-headline h1 {
        font-size: 1.3rem !important;
    }
    
    .banner-headline {
        padding: 12px 10px 8px 10px;
    }
    
    .carousel-section {
        height: 340px !important;
    }
    
    .carousel-section .slide-content {
        top: 55% !important;
        gap: 10px !important;
    }
    
    .carousel-section .slide-image img {
        width: 130px !important;
        height: 130px !important;
    }
    
    .carousel-section .slide-text h2 {
        font-size: 1.4rem !important;
        margin-bottom: 6px !important;
    }
    
    .carousel-section .slide-text p {
        font-size: 1rem !important;
    }
}

/* ========================================
   Job Sites Banner - Static Headline Layout
   Headline on top (full width), then two columns below
   ======================================== */

section.hero-banner-section.job-sites-banner {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0 15px 0 !important;
    margin-top: 100px !important; /* Push below fixed nav */
    overflow: visible !important;
}

/* Static headline - flows in document, full width above the two columns */
.banner-headline-static {
    width: 100% !important;
    text-align: center !important;
    padding: 25px 20px 20px 20px !important;
    background: transparent !important;
    order: -1 !important;
}

.banner-headline-static h1 {
    color: #68696D !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* Two column container below headline */
section.job-sites-banner .hero-banner-container {
    display: flex !important;
    align-items: center !important;
    padding-top: 10px !important;
    padding-bottom: 15px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    gap: 40px !important;
}

/* Left column - text content */
section.job-sites-banner .hero-banner-content {
    flex: 1 !important;
    padding: 0 20px 0 40px !important;
}

/* Right column - image */
section.job-sites-banner .hero-banner-image {
    flex: 1 !important;
    text-align: right !important;
    padding: 0 40px 0 0 !important;
}

section.job-sites-banner .hero-banner-image img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
}

@media (max-width: 768px) {
    section.hero-banner-section.job-sites-banner {
        margin-top: 70px !important;
    }
    
    .banner-headline-static {
        padding: 20px 15px 15px 15px !important;
    }
    
    .banner-headline-static h1 {
        font-size: 1.5rem !important;
    }
    
    section.job-sites-banner .hero-banner-container {
        flex-direction: column !important;
        padding-top: 8px !important;
        padding-bottom: 10px !important;
        gap: 20px !important;
    }
    
    section.job-sites-banner .hero-banner-content {
        padding: 0 20px !important;
        text-align: center !important;
    }
    
    section.job-sites-banner .hero-banner-image {
        text-align: center !important;
        padding: 0 20px !important;
    }
    
    section.job-sites-banner .hero-banner-image img {
        max-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .banner-headline-static h1 {
        font-size: 1.3rem !important;
    }
    
    .banner-headline-static {
        padding: 15px 10px 12px 10px !important;
    }
    
    section.job-sites-banner .hero-banner-container {
        padding-top: 5px !important;
        padding-bottom: 8px !important;
    }
    
    section.job-sites-banner .hero-banner-image img {
        max-height: 150px !important;
    }
}

/* ========================================
   Trucking Companies Banner - Headline Overlay
   ======================================== */

.trucking-headline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    text-align: center;
    padding: 20px 20px 10px 20px;
    background: transparent;
}

.trucking-headline-overlay h1 {
    color: #43ABDB;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Adjust trucking banner content to sit below headline */
.trucking-banner-section {
    position: relative;
}

.trucking-banner-section .trucking-banner-content {
    padding-top: 20px;
}

@media (max-width: 768px) {
    .trucking-headline-overlay {
        padding: 15px 15px 10px 15px;
    }
    
    .trucking-headline-overlay h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .trucking-headline-overlay h1 {
        font-size: 1.3rem;
    }
    
    .trucking-headline-overlay {
        padding: 12px 10px 8px 10px;
    }
}

/* Trucking Companies Banner - White background override */
section.hero-banner-section.trucking-companies-banner {
    background: url('../images/trucking_banner.png') center center/cover no-repeat !important;
}

/* Trucking Companies Banner - Button styling */
section.hero-banner-section.trucking-companies-banner .hero-banner-button {
    background: #43ABDB !important;
    color: #ffffff !important;
}

/* Drivers Banner - Pink background and styling */
section.hero-banner-section.drivers-banner {
    background: url('../images/driver_banner.png') center center/cover no-repeat !important;
}

/* Override to remove duplicate */
section.hero-banner-section.drivers-banner-old {
    background: transparent !important;
}

section.hero-banner-section.drivers-banner .banner-headline-static h1 {
    color: #68696D !important;
}

section.hero-banner-section.drivers-banner .hero-banner-button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    background: #FDD7E4 !important;
    color: #000000 !important;
}

section.hero-banner-section.drivers-banner-button-old {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    background: transparent !important;
    color: #000000 !important;
}

/* Product Banner - Blue styling */
section.hero-banner-section.product-banner {
    background: url('../images/product_banner.png') center center/cover no-repeat !important;
}

section.hero-banner-section.product-banner .banner-headline-static h1 {
    color: #FF8E09 !important;
}

/* Pricing Banner - Green styling */
section.hero-banner-section.pricing-banner {
    background: url('../images/pricing_banner.png') center center/cover no-repeat !important;
}

section.hero-banner-section.pricing-banner .banner-headline-static h1 {
    color: #0D76BB !important;
}

section.hero-banner-section.pricing-banner .hero-banner-button {
    background: #0D76BB !important;
    color: #ffffff !important;
}

/* About Banner - Cyan styling */
section.hero-banner-section.about-banner {
    background: url('../images/about_us_banner.png') center center/cover no-repeat !important;
}

section.hero-banner-section.about-banner .banner-headline-static h1 {
    color: #43ABDB !important;
}

/* Bold text for all banner descriptions */
.hero-banner-section .hero-banner-desc {
    font-weight: 700 !important;
}


/* Button shadows for banner buttons */
section.hero-banner-section.job-sites-banner .hero-banner-button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

section.hero-banner-section.trucking-companies-banner .hero-banner-button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

section.hero-banner-section.pricing-banner .hero-banner-button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}
