@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


@font-face {
    font-family: 'BespokeStencil';
    src: url('/site_files/Array-BoldWide.ttf') format('truetype-variations');
    /* font-weight: 100 900;
    font-style: normal; */
}

@font-face {
    font-family: 'Chillax';
    src: url('/site_files/Chillax-Variable.ttf') format('truetype-variations');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Chillax, 'poppins', 'Segoe UI', 'sans-serif';
}

html {
    scroll-behavior: smooth
}


body {
    background-color: #ffffff;
}

:root {
    /* Colors */
    --white-color: #e9e9e9;
    --dark-color: #000000;
    --primary-color: #a8394f;
    --secondary-color: #11909b;

    /* font sizes */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    /* font weight */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* border radius */
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    /* Site max width */
    --site-max-width: 1400px;

}

.heading {
    font-family: BespokeStencil;
    font-size: 80px;
    font-weight: 400;
}

.sub-heading {
    font-family: BespokeStencil;
    font-weight: 100;
}

.paragraph {
    font-family: Chillax;
    font-weight: 500;
}

/* Style whole site elements */
ul {
    list-style: none;

}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.main-container {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
        url('/site_files/temp_bg.jpg');

    /* This ensures the image covers the whole area without stretching */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Give it a minimum height so the image actually has space to show */
    min-height: 100vh;
    width: 100%;
}


/* Navbar Styling */
.logo {
    height: 80px;
    width: auto;
    display: block;
}

header {
    background: rgba(0, 0, 0, 0);
    padding: 20px;
}

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

.nav-bar .nav-menu {
    display: flex;
    gap: 10px;
}


.nav-bar .nav-menu .nav-link {
    padding: 10px 18px;
    color: var(--white-color);
    text-transform: uppercase;
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-bold);
    transition: 0.3s ease-in;

}

.nav-bar .nav-menu .nav-link:hover {
    color: var(--white-color);
    background: rgba(0, 0, 0, 0.156);
    border-radius: var(--border-radius-s);
}

.nav-bar :where(#menu-close-button, #menu-open-button) {
    display: none;
}

/* Hero Section */
main {
    padding: 20px;
    width: 50%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-details {
    padding: 20px;
    margin: 20px;
    color: var(--white-color);
}

/* .hero-title {
    font-size: 70px;
    font-weight: 400;
} */

.hero-section .hero-details .hero-subtitle {
    margin-top: 8px;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .hero-description {
    font-size: var(--font-size-m);
    margin: 24px 0 40px;
}


.hero-section .hero-details .hero-buttons {
    display: flex;
    gap: 23px;
}

.hero-section .hero-details .button {
    padding: 10px 26px;
    background: var(--secondary-color);
    border: 2px solid transparent;
    color: var(--white-color);
    border-radius: var(--border-radius-m);
    font-weight: var(--font-weight-semibold);
    transition: 0.25s ease-in;
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .get-quote {
    border-color: var(--white-color);
    background: transparent;
}

.hero-section .hero-details .get-quote:hover {
    background: var(--secondary-color);
    border: 2px solid transparent;
}

/* About US Section */

.about-section {
    background: #030100;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.about-details {
    width: 80%;
    padding: 50px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 60px;
}

.about-description {
    width: 40%;
    text-align: end;
}

.cards-container {
    width: 80%;
    margin: 0% auto;
    padding: 50px 22px 50px 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    position: relative;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(30, 28, 26);
    padding: 40px;
    height: 300px;
    border: none;
    border-radius: 10px;
    position: relative;
}

.card1 {
    background: linear-gradient(to bottom right, #1e1c1a, #35442a, #1e1c1a);
}


.card-details {
    background: linear-gradient(90deg, #fdfcfb, #84817f, #a89e9d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.card-icon {
    font-size: 40px;
    font-weight: 500;
    background: linear-gradient(90deg, #fdfcfb, #84817f, #a89e9d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* .social-container {
    display: flex;
    align-items: center;
} */

/* Fleet Section */


.fleet-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 60px 50px;
    background: #fff;
    border-radius: 30px 30px 0 0;
}

/* ── LEFT PANEL ── */
.index-headings {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.section-label {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.our-fleet {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: #111;
}

.section-subtitle {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.truck-types {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    width: 100%;
}

.truck-item {
    padding: 14px 0;
    border-bottom: 0.5px solid #ddd;
    font-size: 1.1rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.truck-item.active {
    color: #111;
    font-weight: 600;
}

.truck-item:hover {
    color: #333;
}

/* ── RIGHT PANEL ── */
.fleet-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.img-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.truck-images {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.truck-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.load-description {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

/* contact  */
.contact-container {
    padding: 20px;
    background: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-img {
    border-radius: 40px;
    background: url(site_files/FTL_B&W.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Give it a minimum height so the image actually has space to show */

    min-height: 80vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    padding: 40px;
    gap: 40px;

}

.origin-logo img {
    width: auto;
    height: 60px;
}

.contact-text {
    background: var(--white-color);
    width: 100%;
    height: auto;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: first baseline;
    padding: 40px;
    gap: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.phone-numbers,
.email-details,
.find-us {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-numbers h3,
.email-details h3,
.find-us h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}


.phone-numbers a,
.email-details a,
.find-us a {
    margin-left: 20px;
    color: var(--dark-color);
}

/* Claude styling */

.form-container {
    background: rgba(0, 0, 0, 0.339);
    padding: 52px 56px 48px;
    width: 100%;
    height: auto;
    border-radius: 40px;
}

.get-in-touch {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 48px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

.form-group textarea {
    resize: none;
    height: 60px;
}

.form-container button {
    background: #ffffff;
    color: #111111;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}


.footer-container {
    background-color: #ffffff;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centers everything horizontally */
    gap: 1.5rem;
}

.footer-objects {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /* pushes logo and socials to opposite ends */
    width: 100%;
    /* must have full width for space-between to work */
    gap: 3rem;
}

#footer-text {
    font-size: 0.9rem;
    color: #888888;
    margin: 0;
    border-top: 1px solid #dddddd;
    /* lighter border for white bg */
    padding-top: 1rem;
    width: 100%;
    /* stretches border edge to edge */
    text-align: center;
}

.footer-tagline {
    font-size: xx-small;
    color: #666666;
    margin: 0;
}

.social-container p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-container .social-link {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s;
}

.social-container .social-link:hover {
    color: #000000;
}

.social-container {
    display: flex;
    flex-direction: column;
    /* stack heading above icons */
    align-items: flex-start;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    flex-direction: row;
    /* icons side by side */
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 600px) {
    .footer-container {
        padding: 1.5rem;
    }

    .footer-objects {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* contact section mobile styling */
/* @media (max-width: 500px) {
    .contact-img {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
        min-height: unset;
        border-radius: 24px;
    }

    .contact-container {
        padding: 12px;
    }

    .contact-text {
        border-radius: 24px;
        padding: 24px;
        gap: 24px;
    }

    .form-container {
        padding: 28px 24px;
        border-radius: 24px;
    }

    .get-in-touch {
        font-size: 1.8rem;
        margin-bottom: 28px;
    }

    .form {
        gap: 24px;
    }

    .form-container button {
        width: 100%;
        padding: 14px;
    }
} */
/* contact section mobile styling */
@media (max-width: 500px) {
    .contact-container {
        padding: 12px;
        overflow: hidden;
        /* catches any child overflow */
    }

    .contact-img {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
        min-height: unset;
        border-radius: 24px;
        box-sizing: border-box;
        width: 100%;
    }

    .contact-text {
        border-radius: 24px;
        padding: 24px;
        gap: 24px;
        box-sizing: border-box;
        width: 100%;
    }

    .form-container {
        padding: 28px 20px;
        border-radius: 24px;
        box-sizing: border-box;
        width: 100%;
    }

    .get-in-touch {
        font-size: 1.6rem;
        margin-bottom: 28px;
    }

    .form {
        gap: 24px;
    }

    .form-container button {
        width: 100%;
        padding: 14px;
    }

    .phone-numbers a,
    .email-details a,
    .find-us a {
        word-break: break-all;
        margin-left: 0;
    }
}

/* Ultra-narrow devices (< 320px) */
@media (max-width: 319px) {
    .contact-container {
        padding: 6px;
    }

    .contact-img {
        padding: 10px;
        gap: 10px;
        border-radius: 16px;
    }

    .contact-text {
        padding: 14px;
        gap: 14px;
        border-radius: 16px;
    }

    .origin-logo img {
        height: 40px;
    }

    .contact-details {
        gap: 16px;
    }

    .sub-heading {
        font-size: 0.88rem;
    }

    .phone-numbers a,
    .email-details a {
        font-size: 0.8rem;
    }

    .form-container {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .get-in-touch {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }

    .form {
        gap: 16px;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.82rem;
    }

    .form-container button {
        padding: 12px;
        font-size: 0.88rem;
    }
}

/* Mobile Styling */
@media (max-width: 500px) {
    .fleet-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 24px;
    }

    .truck-images {
        height: 220px;
    }

    .our-fleet {
        font-size: 1.6rem;
    }

    .truck-heading {
        font-size: 1.3rem;
    }

    .fleet-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/*  For max width 900px */
@media screen and (max-width: 900px) {
    :root {
        --font-size-m: 1rem;
        --font-size-l: 1.3rem;
        --font-size-xl: 1.5rem;
        --font-size-xxl: 1.8rem;
    }

    .logo {
        height: 50px;
        width: auto;
        display: block;
        padding: 0%;
    }

    header {
        padding: 5px;
    }

    body.show-mobile-menu header::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2);
    }

    .nav-bar :where(#menu-close-button, #menu-open-button) {
        display: block;
        font-size: var(--font-size-xl);
    }

    .nav-bar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .nav-bar #menu-open-button {
        color: var(--white-color);
        margin: 20px;
    }

    .nav-bar .nav-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -75%;
        width: 75%;
        height: 100%;
        background: rgba(0, 0, 0, 0.627);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        transition: left 0.25s ease-in;
        z-index: 10;
    }


    body.show-mobile-menu .nav-bar .nav-menu {
        left: 0;
    }

    body.show-mobile-menu {
        overflow: hidden;
    }

    .nav-bar .nav-menu .nav-link {
        display: block;
        margin-top: 17px;
        color: var(--white-color);
        font-size: var(--font-size-l);
        font-weight: var(--font-weight-normal);
        text-transform: capitalize;
    }

    #menu-close-button {
        color: var(--white-color);
    }


    /* hero section Mobile */
    main {
        padding: 20px;
        /* border: 2px red solid; */
        width: 100%;
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-section {
        gap: 50px;
        text-align: left;
        /* padding: 30px 20px 20px; */
        flex-direction: column;
        justify-content: center;
    }

    .hero-details {
        padding: 10px;
        margin: 10px;
        color: var(--white-color);
    }

    .hero-title {
        font-size: 40px;
        font-weight: 900;
    }

    .hero-section .hero-details .hero-subtitle {
        margin-top: 2px;
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-semibold);
    }

    .hero-section .hero-details .hero-description {
        font-size: var(--font-size-s);
        margin: 15px 0 24px;
    }

    .hero-section .hero-details .hero-button {
        justify-content: center;
    }

    .hero-section .hero-details .hero-buttons {
        display: flex;
        gap: 13px;
    }

    .hero-section .hero-details .button {
        font-size: var(--font-size-s);
        border-radius: 22px;
    }

    .cards-container {
        width: 70%;
        /* margin: 0% auto; */
        /* padding: 50px 22px 50px 22px; */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        /* gap: 20px; */
        position: relative;
    }

    .about-details {
        width: 80%;
        padding: 20px 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 30px;
    }

    .about-description {
        margin-top: 12px;
        width: 100%;
        font-size: var(--font-size-s);
        text-align: end;
    }


    /* Media query for mobile devices under 500px */
    @media (max-width: 500px) {
        .main-container {
            background-position: 80% center;
        }

        .cards-container {
            width: 80%;
            margin: 0% auto;
            padding: 11px 11px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: auto;
            gap: 20px;
            position: relative;
        }


        .card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: rgba(30, 28, 26);
            padding: 20px;
            height: 180px;
            border: none;
            border-radius: 10px;
            position: relative;
        }

    }

    @media (max-width: 320px) {
        .cards-container {
            width: 70%;
            /* use more of the screen */
            padding: 8px;
            grid-template-columns: 1fr;
            /* single column */
            gap: 12px;
        }

        .card {
            padding: 14px;
            height: auto;
            /* let content dictate height */
            min-height: 120px;
        }
    }


}