/* ====================================
   HANS NIES TRANSPORT
   STYLE.CSS
==================================== */

:root {
    --primary: #55613A;
    --primary-dark: #434D2D;
    --primary-light: #69784a;

    --white: #ffffff;
    --light: #f7f7f7;
    --border: #e5e5e5;

    --text: #222222;
    --text-light: #666666;

    --footer: #1d1d1d;

    --radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);

    --transition: all .3s ease;
}

/* ====================================
   RESET
==================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: #fff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ====================================
   CONTAINER
==================================== */

.container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

.section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ====================================
   TYPOGRAPHY
==================================== */

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.section-label {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem;
}

/* ====================================
   BUTTONS
==================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    border-radius: 8px;

    font-weight: 600;

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: rgba(255,255,255,.85);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* ====================================
   HEADER
==================================== */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;

    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(0,0,0,.05);
}

.header .container {
    height: 90px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text);
}

.logo span {
    color: var(--primary);
} */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 250px;
    width: 250px;
    display: block;
}

/* ====================================
   NAVIGATION
==================================== */

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    position: relative;
    font-weight: 500;
}

.nav a::after {
    content: '';

    position: absolute;

    width: 0;
    height: 2px;

    bottom: -6px;
    left: 0;

    background: var(--primary);

    transition: .3s;
}

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

/* ====================================
   MOBILE MENU
==================================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;

    background: transparent;
    border: none;

    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;

    background: var(--text);
}

/* ====================================
   HERO
==================================== */

.hero {
    position: relative;

    height: 100vh;
    min-height: 750px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-image {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.85) 0%,
            rgba(255,255,255,.65) 35%,
            rgba(255,255,255,.15) 60%,
            rgba(255,255,255,0) 100%
        );

}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

    padding-left: 20px;

}

.hero-label {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--primary);

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.hero-content h2 {
    color: var(--text);

    text-shadow: none;
}

.hero-content h2 span {
    color: var(--primary);
}

.hero p {

    max-width: 550px;

    color: white;

    font-size: 1.1rem;

    margin: 30px 0;

    line-height: 1.8;

}

/* ====================================
   USP BAR
==================================== */

.usp-bar {
    background: var(--primary);
    color: white;
}

.usp-bar .container {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 40px;

    padding: 40px 0;
}

.usp-item h3 {
    margin-bottom: 10px;
}

.usp-item p {
    color: rgba(255,255,255,.8);
    margin: 0;
}

/* ====================================
   SECTION HEADER
==================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 0;
}

/* ====================================
   ABOUT
==================================== */

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ====================================
   SERVICES
==================================== */

.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.service-card {
    background: white;

    padding: 35px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card p {
    margin-bottom: 0;
}

/* ====================================
   FLEET
==================================== */

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.fleet-card {
    background: white;

    padding: 35px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    border-top: 5px solid var(--primary);

    transition: .3s;
}

.fleet-card:hover {
    transform: translateY(-8px);
}

/* ====================================
   KOOIAAP
==================================== */

.kooiaap {
    background: var(--light);
    padding: 100px 0;
}

.kooiaap-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.cta {
    background: var(--primary);

    color: white;

    text-align: center;

    padding: 100px 0;
}

.cta h2 {
    color: white;
}

.cta p {
    color: rgba(255,255,255,.85);
}

.cta-buttons {
    margin-top: 30px;

    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ====================================
   CONTACT FORM
==================================== */

.contact-home {
    background: #ffffff;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 16px 18px;

    border: 1px solid var(--border);
    border-radius: 10px;

    font-family: inherit;
    font-size: 1rem;

    transition: var(--transition);

    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(85,97,58,.12);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 25px;
    min-height: 180px;
}

/* ====================================
   FOOTER
==================================== */

.footer {
    background: var(--footer);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;

    padding: 80px 0;
}

.footer h3,
.footer h4 {
    margin-bottom: 20px;
    color: white;
}

.footer p {
    color: rgba(255,255,255,.75);
}

.footer a {
    color: rgba(255,255,255,.75);
    transition: .3s;
}

.footer a:hover {
    color: white;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);

    padding: 25px 0;

    color: rgba(255,255,255,.65);

    font-size: .9rem;
}

/* ====================================
   ANIMATIONS
==================================== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity .8s ease;
}

.fade-in.visible {
    opacity: 1;
}

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }

}

.service-card:hover,
.fleet-card:hover {
    animation: float 2s ease infinite;
}

/* ====================================
   SCROLLBAR
==================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ====================================
   TABLET
==================================== */

@media (max-width: 1100px) {

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .fleet-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .grid-2 {
        gap: 40px;
    }

}

/* ====================================
   MOBILE NAVIGATION
==================================== */

@media (max-width: 900px) {

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav {

        position: fixed;

        top: 90px;
        right: -100%;

        width: 100%;
        height: calc(100vh - 90px);

        background: white;

        flex-direction: column;

        justify-content: flex-start;
        align-items: center;

        padding-top: 50px;

        gap: 30px;

        transition: .4s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 1.1rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .kooiaap-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}

/* ====================================
   MOBILE
==================================== */

@media (max-width: 768px) {

    .section {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: 700px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .usp-bar .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .fleet-card {
        padding: 30px;
    }

    .container {
        width: 92%;
    }

}

/* ====================================
   SMALL MOBILE
==================================== */

@media (max-width: 480px) {

    .header .container {
        height: 80px;
    }

    .nav {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .logo {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 50px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        padding: 60px 0;
    }

}

/* ====================================
   LARGE DESKTOP
==================================== */

@media (min-width: 1600px) {

    .container {
        max-width: 1400px;
    }

    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3.5rem;
    }

}

/* ====================================
   IMAGE EFFECTS
==================================== */

.about-image img,
.kooiaap-image img {

    transition: .5s ease;

}

.about-image:hover img,
.kooiaap-image:hover img {

    transform: scale(1.03);

}

/* ====================================
   CTA EFFECT
==================================== */

.cta {

    position: relative;
    overflow: hidden;

}

.cta::before {

    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(255,255,255,.05);

    top: -250px;
    right: -250px;

}

.cta::after {

    content: '';

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(255,255,255,.03);

    bottom: -175px;
    left: -175px;

}

/* ====================================
   ACCESSIBILITY
==================================== */

:focus-visible {

    outline: 3px solid var(--primary);
    outline-offset: 3px;

}

button {
    font-family: inherit;
}

.grid-2 ul {
    margin-top: 20px;
    padding-left: 0;
}

.grid-2 ul li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.contact-form select {
    width: 100%;

    padding: 16px 18px;

    border: 1px solid var(--border);
    border-radius: 10px;

    font-family: inherit;
    font-size: 1rem;

    background: white;

    transition: var(--transition);
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(85,97,58,.12);
}