/* ==========================================================================
   HOME PAGE STYLES - Only loaded on front page
   ========================================================================== */

/* Hero Banner Section */
.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  background: linear-gradient(to bottom,  rgba(22,52,94,0.6) 0%,rgba(24,66,103,0) 29%,rgba(24,66,103,0) 30%,rgba(24,66,103,0) 51%,rgba(24,66,103,0.8) 100%);

    z-index: 2;
}

.hero-content {
    position: absolute;
    z-index: 3;
    display: block;
    max-width: 830px;
    margin: 0 auto 0 65px;
    /* padding: 0 var(--page-px, 2rem); */
    bottom: 130px;
}

.hero-text {
    /* max-width: 60%; */
    text-align: left;
    flex: 0 0 auto;
}

.hero-title, .hero-title * {
    font-size: clamp(2.5rem, 5vw, var(--h1-size, 4rem));
    font-weight: var(--heading-weight, 700);
    line-height: var(--heading-line-height, 1.1);
    margin-bottom: calc(var(--space-base, 16px) * 2);
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3); */
}
.hero-title *{font-weight: 400 !important;}
.hero-title strong{ font-weight:600 !important;}

.hero-title-main {
    display: block;
    color: #fff;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}

.hero-title-sub {
    display: block;
    color: var(--primary-color, #06b3ea);
    font-size: 0.8em;
    margin-top: calc(var(--space-base, 16px) * 0.5);
    font-weight: 500;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}

.hero-description {
    font-size: calc(var(--font-size-base, 16px) * 1.25);
    line-height: var(--line-height-base, 1.6);
    margin-bottom: calc(var(--space-base, 16px) * 3);
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    gap: calc(var(--space-base, 16px) * 1.5);
    flex-wrap: wrap;
}

.hero-btn {
    padding: var(--btn-py, 12px) var(--btn-px, 24px);
    font-size: calc(var(--font-size-base, 16px) * 1.1);
    font-weight: var(--btn-weight, 600);
    border-radius: var(--btn-radius, 50px);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: calc(var(--space-base, 16px) * 0.75);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-transform: var(--btn-transform, none);
}

.btn-primary {
    background: var(--btn-bg-color, #06b3ea);
    color: var(--btn-text-color, #fff);
    border: 2px solid var(--btn-bg-color, #06b3ea);
}

.btn-primary:hover {
    background: var(--btn-hover-bg, #0095c7);
    border-color: var(--btn-hover-bg, #0095c7);
    color: var(--btn-hover-text, #fff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 179, 234, 0.4);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--primary-color, #1a365d);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Hero Image - Now using full background image instead */
/*
.hero-image {
    position: relative;
    height: 70vh;
    min-height: 500px;
}
*/

.hero-truck-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-truck-image {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-truck-image:hover {
    transform: scale(1.02);
}

/* Remove feature badges for exact image match - the design shows clean text overlay only */

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    margin-bottom: 0.5rem;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.banner-mobile_container {
    display: none;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        min-height: unset;
        text-align: center;
        justify-content: center;
        position: absolute;
        max-width: calc(100% - 80px);
        left: 40px;
        box-sizing: border-box;
        /* padding: 0 40px; */
        margin: 0 auto;
        top: 50%;
        transform: translateY(-80px);
        bottom: unset !important;
    }
    
    .hero-text {
        max-width: 70%;
    }

    .hero-description {
        max-width: 100%;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    }
}

@media (max-width: 992px) {
    .hero-banner {
        min-height: 90vh;
        padding: 2rem 0;
    }

    .hero-text {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title, .hero-title *, .hero-title p {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-image {
        height: 40vh;
        min-height: 300px;
    }
    
    /* Feature badges removed for clean design */
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 66vh;
    }
    
    .hero-title-sub {
        font-size: 0.9em;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    p.hero-description {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }
    section.hero-banner.site-section {
        padding-bottom: 0!important;
    }

    .banner-mobile_container {
        display: block;
    }

    .banner-mobile_container .hero-mobile_description {
        color: #000 !important;
        text-align: center;
        margin: unset !important;
    }
    .banner-mobile_container {
        padding: 44px 24px;
    }
    
    /* Feature badges removed for clean design */
}

/* ============================================================================
   About Section
   ========================================================================== */

.about-section {
    /* background: var(--about-bg-color, #f8f9fa); */
    position: relative;
}

.about-content {
    /* max-width: var(--container-max-width, 1200px);
    margin: 0 auto; */
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--about-column-gap, 64px);
    align-items: start; */
}
.about-text-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--about-column-gap, 64px);
    align-items: start;
    padding-top: 3rem;
}

.about-content-section {
    padding: 100px 0;
    max-width: calc(100% - 258px) !important;
}

/* Left column styles handled by child elements */
/* Right column styles handled by child elements */

/* About sub-heading styling now handled by global sub-heading-text.css */

/* About sub-heading ::before now handled by global sub-heading-text.css */

.about-heading {
    font-size: var(--h2-size, 48px);
    font-weight: var(--heading-font-weight, 700);
    line-height: var(--heading-line-height, 1.2);
    color: var(--about-heading-color, #1a1a1a);
    margin-bottom: 2rem;
    font-family: var(--h1-h2-font-family, inherit);
    max-width: 500px;
    padding-bottom: 75px;
}

.about-paragraph {
    font-size: var(--body-font-size, 16px);
    line-height: var(--body-line-height, 1.6);
    color: var(--about-paragraph-color, #555);
    margin-bottom: 0;
    font-family: var(--body-font-family, inherit);
}

.about-actions {
    margin-bottom: 1rem;
}

.about-actions_mobile {
    display: none;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--btn-py, 12px) var(--btn-px, 24px);
    background: var(--btn-bg, #06b3ea);
    color: var(--btn-text, #fff);
    text-decoration: none;
    border-radius: var(--btn-radius, 40px);
    font-weight: var(--btn-weight, 600);
    text-transform: var(--btn-transform, uppercase);
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.about-btn:hover {
    background: var(--btn-hover-bg, #0095c7);
    color: var(--btn-hover-text, #fff);
    transform: translateY(-2px);
    /* box-shadow: 0 6px 20px rgba(6, 179, 234, 0.4); */
    text-decoration: none;
}

.about-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.about-btn:hover svg {
    transform: translateX(4px);
}

/* Full Width Image Section - Background Image Parallax */
.about-image-section {
    width: 100%;
    position: relative;
    min-height: 70vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: var(--about-bg-image, url(http://cooltranz.test/wp-content/uploads/2025/08/Scroll-Group-1.png));
    backface-visibility: hidden;
    background-attachment: fixed;
}

.about-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

/* About image styles removed - now using background-image approach */

/* Disable parallax on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .about-image-section {
        background-attachment: scroll !important;
        will-change: auto;
    }
}

/* Mobile optimization - disable fixed background for better performance */
@media (max-width: 992px) {
    .about-image-section {
        background-attachment: scroll;
        min-height: 50vh; 
        display: none; /* Smaller height on mobile */
    }
    .about-content-section{max-width: calc(100% - 40px) !important;}
    .about-heading{ padding-bottom:0px }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-content {
        gap: calc(var(--about-column-gap, 64px) * 0.75);
    }

    .about-text-container {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        /* text-align: center; */
    }
    
    /* About sub-heading responsive styles now handled by global sub-heading-text.css */
    
    .about-description {
        text-align: left;
    }

    .about-text-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-actions {
        display: none;
    }

    .about-actions_mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    /* .about-content {
        padding: 0 var(--page-px, 16px);
    } */
    
    .about-heading {
        /* font-size: clamp(1.5rem, 6vw, calc(var(--h1-size, 48px) * 0.8)); */
        margin-bottom: 1rem;
    }
    
    .about-paragraph {
        margin-bottom: 2rem;
    }
    
    .about-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ============================================================================
   Who We Are Details Section
   ========================================================================== */

.who-we-are-details-section {
    background: var(--details-bg-color, #ffffff);
    position: relative;
    /* Padding handled by .site-section class */
}

.who-we-are-details-container {
    padding: 1.5rem 0;
    padding-right: var(--page-px);
}

.who-we-are-details-content {
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 var(--page-px, 24px); */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:130px;
    align-items: center;
}

.details-image-column {
    position: relative;
}

.details-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    display: block;
}

.details-content-column {
    /* padding-left: 2rem; */
    text-align: var(--details-content-align, left);
    width: 74%;
}

/* Details sub-heading styling now handled by global sub-heading-text.css */

/* Details sub-heading ::before now handled by global sub-heading-text.css */

.details-heading {
    font-size: var(--h2-size, 36px);
    font-weight: var(--heading-font-weight, 700);
    line-height: var(--heading-line-height, 1.3);
    color: var(--details-heading-color, var(--heading-color, #1a1a1a));
    margin-bottom: 1.5rem;
    font-family: var(--h1-h2-font-family, inherit);
}

.details-paragraph {
    font-size: var(--body-font-size, 16px);
    line-height: var(--body-line-height, 1.6);
    color: var(--details-paragraph-color, var(--text-color, #555));
    margin-bottom: var(--paragraph-mb, 2rem);
    font-family: var(--body-font-family, inherit);
}

.details-actions {
    margin-bottom: 1rem;
}

.details-btn {
    /* Inherits all styling from global .btn and .site-button classes */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
}

.details-btn svg {
    transition: transform 0.3s ease;
}

.details-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1440px) {
    .details-content-column {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .who-we-are-details-content {
        gap: 30px;
    }
    
    .details-content-column {
        padding-left: 1rem;
    }
    
    .details-content-column {
        width: 100%;
        padding-top: var(--section-py);
        padding-bottom: var(--section-py);
    }
}

@media (max-width: 992px) {
    .who-we-are-details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        /* text-align: center; */
    }
    
    .details-content-column {
        /* order: -1; */
        width: 100%;
        margin: 0 auto;
        padding-left: var(--page-px);
        padding-right: var(--page-px);
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .details-heading {
        /* font-size: clamp(1.5rem, 6vw, 2rem); */
        margin-bottom: 1rem;
    }
    
    .details-paragraph {
        /* font-size: calc(var(--body-font-size, 16px) * 0.9); */
        margin-bottom: 2rem;
    }
    
    .details-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }

    .who-we-are-details-container {
        padding-right: unset!important;
    }
}

@media (max-width: 480px) {
    .who-we-are-details-content,
    .who-we-are-details-container {
        padding: unset;
    }
    
    .details-heading {
        /* font-size: clamp(1.25rem, 6vw, calc(var(--h2-size, 36px) * 0.8)); */
        margin-bottom: 1rem;
    }
    
    .details-paragraph {
        margin-bottom: 2rem;
    }
}

/* ============================================================================
   Three Cards Section
   ========================================================================== */

.three-cards-section {
    padding-top: 1.5rem;
    background: transparent;
}
    .three-cards-section .container{ max-width:100% !important; }
.three-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.three-cards-section .container {
    max-width: 100%;
    padding: unset;
}

.card-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1/0.589;
}
    .card-item:after{
        width: 0;
        height:1px;
        display:block;
        content:"";
        background:#FFF;
        position:absolute;
        top: 50%;
        z-index: 99;
        left: 50%;
        transform: translateX(-50%);
    }
    .card-item:hover:after{ top:50%; width: calc(100% - 126px);}

.card-item:hover {
    /* transform: scale(1.02); */
    z-index: 10;
}

h3.card-title {
    font-weight: 700 !important;
}

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

.card-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.card-item:hover .card-bg-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}
div, input, span, svg, a.button, nav *, *:after{ transition:all 0.5s ;  -webkit-transition:all 0.5s ;  -o-transition:all 0.5s ;  -moz-transition:all 0.5s  }

.card-content {
    position: absolute;
    bottom: -530px;
    left: 67px;
    right: 40px;
    z-index: 3;
    color: white;
    text-align: left;
    
}
.card-item:hover .card-content{ bottom:53px}

.card-title {
    /* font-size: 28px; */
    /* font-weight: 700; */
    margin-bottom: 16px;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); */
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

.card-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.card-cta-text {
    font-size: 16px;
}

.card-cta-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.3); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-cta-icon svg {
    width: 22px;
    height: 22px;
}

.card-item:hover .card-cta {
    transform: translateX(8px);
}

.card-item:hover .card-cta-icon {
    background: #ffffff29;
    color: #333;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    text-decoration: none;
}

/* Card-specific styling - no color overlays, just dark gradient for text readability */

/* Responsive Design for Cards */
@media (max-width: 1200px) {
    .three-cards-grid {
        gap: .8rem;
        grid-template-columns: repeat(1, 1fr);
    }
    
    .card-item {
        height: 250px;
    }
    
    .card-content {
        bottom: 30px;
        left: 30px;
        right: 30px;
    }
}

@media (max-width: 480px) {
    .three-cards-section {
        padding-top: 0;
    }
    
    .card-item {
        height: 254px;
    }
    
    .card-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .card-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .card-cta {
        font-size: 16px;
    }
    
    .card-cta-text {
        font-size: 16px;
    }
}

/* ============================================================================
   SECTION COMPONENT STYLES
   ========================================================================== */

/* 
 * Where We Do Section styles moved to: 
 * assets/css/components/section-where-we-do.css
 *
 * Contact Form Section styles moved to: 
 * assets/css/components/section-contact-form.css
 */

 