/* ==================================
   Base & Resets - Hero3 (Minimalist)
   ================================== */
:root {
    --primary: #000000;
    --accents: #E21836;
    --bg-white: #ffffff;
    --bg-light: #f9f9fb;
    --text-dark: #111111;
    --text-gray: #6b6b6b;
    --border-subtle: #eaeaea;
    --radius-pill: 50px;
    --radius-box: 12px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body.minimal-theme {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-narrow {
    max-width: 700px;
}

.section {
    padding: 140px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================================
   Typography Utilities
   ================================== */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-title.center {
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.subtitle.center {
    text-align: center;
}

.micro-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--accents);
    display: inline-block;
    margin-bottom: 20px;
}

.huge-text {
    font-size: 7rem;
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
    color: var(--text-dark);
}

.huge-text span {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-gray);
    margin-top: 10px;
}


/* ==================================
   Floating Header Pill
   ================================== */
.header-pill {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    transition: var(--transition);
}

.header-pill.scrolled {
    top: 10px;
    max-width: 900px;
}

.header-pill-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 25px;
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--accents);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Buttons */
.btn-minimal {
    background: var(--primary);
    color: var(--bg-white);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-minimal:hover {
    transform: scale(1.05);
    background: var(--accents);
}

.btn-minimal-dark {
    display: inline-block;
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 15px 35px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-minimal-dark:hover {
    background: var(--accents);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(226, 24, 54, 0.2);
}

.btn-text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text i {
    transition: 0.3s;
}

.btn-text:hover {
    color: var(--accents);
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* ==================================
   Hero Section
   ================================== */
.hero-minimal {
    padding-top: 160px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h2 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 450px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-image {
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slides-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}


/* ==================================
   About Grid
   ================================== */
.about-minimal-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 80px;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.clean-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.clean-list li i {
    color: var(--accents);
    font-size: 1rem;
    background: rgba(226, 24, 54, 0.1);
    padding: 8px;
    border-radius: 50%;
}

/* ==================================
   Fleet Grid
   ================================== */
.minimal-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.minimal-filters .filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    padding: 10px 25px;
    border-radius: var(--radius-pill);
    font-family: 'Inter';
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.minimal-filters .filter-btn:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.minimal-filters .filter-btn.active {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.product-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.p-card-min {
    background: var(--bg-white);
    border-radius: var(--radius-box);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.p-card-min:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.p-min-img {
    height: 250px;
    background: var(--bg-light);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.p-min-img img {
    transition: 0.5s;
    object-fit: contain;
}

.p-card-min:hover .p-min-img img {
    transform: scale(1.05);
}

.p-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.p-min-data {
    padding: 30px;
    text-align: center;
}

.p-min-data h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.p-specs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.p-specs span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.p-specs i {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.btn-min-line {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.p-card-min:hover .btn-min-line {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

/* ==================================
   Enquiry Form (Clean)
   ================================== */
.enquiry-minimal {
    background: var(--bg-light);
    padding: 80px 60px;
    border-radius: 24px;
}

.clean-form {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.box-input {
    position: relative;
}

.form-group.box-input input,
.form-group.box-input select {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-box);
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group.box-input input:focus,
.form-group.box-input select:focus {
    outline: none;
    border-color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.select-wrapper {
    margin-bottom: 20px;
}

.custom-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
}

.full-width {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
}

/* ==================================
   Footer
   ================================== */
.minimal-footer {
    background: var(--bg-light);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.f-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-links {
    display: flex;
    gap: 30px;
}

.f-links a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

.f-links a:hover {
    color: var(--text-dark);
}

.f-socials {
    display: flex;
    gap: 15px;
}

.f-socials a {
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-dark);
    transition: 0.3s;
}

.f-socials a:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

/* ==================================
   Media Queries
   ================================== */
@media (max-width: 1024px) {
    .header-pill {
        width: 95%;
        max-width: 100%;
        top: 10px;
    }

    .hero-split,
    .about-minimal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h2 {
        font-size: 4rem;
    }

    .hero-image::after {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {

    .desktop-nav,
    .btn-minimal {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-minimal {
        padding-top: 120px;
    }

    .hero-text h2 {
        font-size: 3rem;
    }

    .huge-text {
        font-size: 5rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .enquiry-minimal {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Hidden Class setup for JS Filter */
.p-card-min.hidden {
    display: none;
}

/* Side Drawer (Mobile) */
.side-drawer-minimal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 2000;
    transition: 0.4s;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.side-drawer-minimal.open {
    right: 0;
}

.close-drawer {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    font-size: 1.5rem;
    font-weight: 600;
}

.drawer-links a {
    color: var(--text-gray);
}

.drawer-links a:hover {
    color: var(--text-dark);
}

.mobile-highlight {
    color: var(--accents) !important;
    margin-top: 20px;
    font-size: 1.2rem !important;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}