/* ==========================================================================
   FLEETS COMMON DETAIL STYLES
   Description: Unified premium styling for individual caravan fleet pages
   ========================================================================== */

:root {
    --gold: #dfa91b;
    --gold-light: #f4d03f;
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* --- FLEET HEADER (HERO) --- */
.fleet-header {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-color: #fdfdfa; /* Cream background matching home page */
    padding-top: 160px; /* Offset for dynamic navbar */
    padding-bottom: 80px;
    overflow: hidden;
}

.fleet-header-bg {
    display: none; /* Deactivated background image in favor of clean grid + right side mockup */
}

.fleet-header::before {
    display: none; /* Deactivated dark overlay */
}

.fleet-header .container {
    position: relative;
    z-index: 3;
}

/* --- BREADCRUMBS --- */
.fleet-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.fleet-breadcrumb a {
    color: #556b62; /* Theme dark green-gray */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.fleet-breadcrumb a:hover {
    color: var(--gold);
}

.fleet-breadcrumb span {
    color: rgba(7, 60, 41, 0.2);
}

.fleet-breadcrumb .current {
    color: #dfa91b;
    font-weight: 600;
}

/* --- HERO CONTENT --- */
.fleet-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #073c29; /* Theme dark green */
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.fleet-hero-content h1 span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(to right, #073c29, #dfa91b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
    letter-spacing: 0px;
}

.fleet-tagline {
    font-size: 1.1rem;
    color: #556b62;
    max-width: 600px;
    margin-bottom: 35px;
    border-left: 3px solid var(--gold);
    padding-left: 20px;
}

/* --- SPEC PILLS --- */
.fleet-spec-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.spec-item {
    background: #ffffff;
    border: 1px solid rgba(223, 169, 27, 0.25);
    padding: 10px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #073c29;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(7, 60, 41, 0.03);
}

.spec-item i {
    color: #dfa91b;
    font-size: 1.1rem;
}

.spec-item:hover {
    background: #f4f7f2;
    border-color: #073c29;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(7, 60, 41, 0.08);
}

/* --- CTA BUTTONS --- */
.fleet-hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-premium {
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-premium-gold {
    background: var(--gold);
    color: #000 !important;
    border: none;
}

.btn-premium-gold:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-premium-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-premium-outline:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
    background: rgba(223, 169, 27, 0.05);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .fleet-header {
        padding-top: 120px;
        min-height: 60vh;
        text-align: center;
    }

    .fleet-breadcrumb {
        justify-content: center;
    }

    .fleet-tagline {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-top: 3px solid var(--gold);
        padding-left: 0;
        padding-top: 15px;
    }

    .fleet-spec-bar {
        justify-content: center;
    }

    .fleet-hero-btns {
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .fleet-hero-content h1 {
        font-size: 2.2rem;
    }

    .spec-item {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* --- FEATURE SECTION --- */
/* --- FEATURE SECTION --- */
.premium-feature-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #073c29 0%, #031c13 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle white grid pattern for dark green section */
.premium-feature-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
}

.premium-feature-section .container {
    position: relative;
    z-index: 2;
}

.section-title-wrapper h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b !important;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(223, 169, 27, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(223, 169, 27, 0.5);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 35px rgba(3, 28, 19, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    width: 74px;
    height: 74px;
    background: rgba(223, 169, 27, 0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--gold);
    color: #073c29;
    transform: rotateY(360deg);
}

.feature-card h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.25rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- ABOUT FLEET SECTION --- */
.about-fleet-section {
    padding: 120px 0;
    background: #ffffff;
    color: #333333;
    position: relative;
}

.about-fleet-content h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: #073c29;
    line-height: 1.2;
}

.about-fleet-content h2 .text-gold {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b !important;
}

.about-fleet-content p {
    color: #556b62;
    line-height: 1.8;
    margin-bottom: 22px;
    font-size: 1.05rem;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    background: #f4f7f2;
    border: 1px solid rgba(7, 60, 41, 0.15);
    color: #073c29;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.about-fleet-img-wrapper {
    position: relative;
    padding: 15px 30px 30px 15px;
}

.about-fleet-img-wrapper::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(223, 169, 27, 0.4);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.about-fleet-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(7, 60, 41, 0.08);
    z-index: 2;
}

.about-fleet-img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.about-fleet-img-wrapper:hover::before {
    transform: translate(-10px, -10px);
    border-color: #dfa91b;
}

.about-fleet-img-wrapper:hover .about-fleet-img-box img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .about-fleet-section {
        padding: 60px 0;
        text-align: center;
    }

    .about-fleet-content h2 {
        font-size: 2.2rem;
    }

    .about-fleet-img-wrapper {
        margin-top: 40px;
        padding: 10px 20px 20px 10px;
    }

    .about-fleet-img-wrapper::before {
        top: 20px;
        left: 20px;
    }
}

/* --- PREMIUM GALLERY SECTION --- */
.fleet-gallery-section {
    padding: 120px 0;
    background-color: #fdfdfa;
    position: relative;
    overflow: hidden;
}

.fleet-gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      linear-gradient(to right, #f4ecd8 1px, transparent 1px),
      linear-gradient(to bottom, #f4ecd8 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.fleet-gallery-section .container {
    position: relative;
    z-index: 2;
}

.btn-g-premium {
    background: #073c29;
    color: #ffffff !important;
    border: 1px solid #073c29;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(7, 60, 41, 0.15);
}

.btn-g-premium:hover {
    background: #0d5c3f;
    border-color: #0d5c3f;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(7, 60, 41, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
    border: 1px solid rgba(7, 60, 41, 0.08);
    box-shadow: 0 10px 30px rgba(7, 60, 41, 0.03);
}

/* Elegant gold inner border on hover */
.gallery-item::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(223, 169, 27, 0.5);
    border-radius: 16px;
    opacity: 0;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    transform: scale(0.9);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 60, 41, 0.85) 0%, rgba(7, 60, 41, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-overlay i {
    color: #dfa91b;
    font-size: 2.2rem;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Specific Mosaic Spans */
.it-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.it-4 {
    grid-column: span 2;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .it-1 {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .it-1, .it-4 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* --- GALLERY MODAL (LIGHTBOX) --- */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.modal-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(223, 169, 27, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--gold);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .it-1 {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .it-1,
    .it-4 {
        grid-column: span 1;
    }
}

/* --- WHY CHOOSE US SECTION --- */
.fleet-why-section {
    padding: 120px 0;
    background: #ffffff;
    color: #333333;
    position: relative;
}

.fleet-why-section h2 {
    color: #073c29;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.fleet-why-section h2 .text-gold {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b !important;
}

.why-card {
    background: #ffffff;
    border: 1px solid rgba(7, 60, 41, 0.08);
    padding: 40px 30px;
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    box-shadow: 0 10px 30px rgba(7, 60, 41, 0.02);
}

.why-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(7, 60, 41, 0.06);
    color: #073c29;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.why-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #073c29;
    font-size: 1.2rem;
}

.why-card p {
    color: #556b62;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.why-card:hover {
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(7, 60, 41, 0.08);
    transform: translateY(-8px);
    border-color: rgba(223, 169, 27, 0.4);
}

.why-card:hover .why-icon-wrap {
    background: var(--gold);
    color: #073c29;
    transform: rotate(360deg);
}

/* --- LEAD GENERATION SECTION --- */
.fleet-lead-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #073c29 0%, #031c13 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern */
.fleet-lead-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
}

.fleet-lead-section .container {
    position: relative;
    z-index: 2;
}

.lead-content h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
}

.lead-content h2 .text-gold {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #dfa91b !important;
}

.lead-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.lead-points {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.lead-points li {
    color: #ffffff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 1.05rem;
}

.lead-points li i {
    width: 28px;
    height: 28px;
    background: #dfa91b;
    color: #073c29;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    padding: 13px 18px;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 0;
    outline: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    -webkit-appearance: none;
    appearance: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 3px rgba(223, 169, 27, 0.15) !important;
}

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

.lead-form select option {
    background: #1a1a1a;
    color: #fff;
}

.lead-form select {
    color: rgba(255, 255, 255, 0.6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23dfa91b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 40px;
}

.lead-form textarea {
    height: 110px;
    resize: none;
}

.btn-submit {
    width: 100%;
    background: var(--gold);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.btn-submit:hover {
    background: #fff;
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .lead-content {
        text-align: center;
        margin-bottom: 50px;
    }

    .lead-content h2 {
        font-size: 2.2rem;
    }

    .lead-points {
        display: inline-block;
        text-align: left;
    }
}