/* ===== Noleggio Hero ===== */
.noleggio-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.noleggio-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.noleggio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.2) 30%,
        rgba(0, 0, 0, 0.65) 70%,
        rgba(0, 0, 0, 0.92) 100%
    );
}

.noleggio-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 48px 60px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.noleggio-badge {
    background: rgba(56, 178, 172, 0.15) !important;
    border-color: #38b2ac !important;
    color: #4fd1c5 !important;
}

.noleggio-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 16px 0;
    color: var(--color-white);
}

.noleggio-hero-content > p {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--color-gray-300);
    margin-bottom: 28px;
    max-width: 550px;
}

.noleggio-hero-content .hero-cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

/* ===== Intro ===== */
.noleggio-intro {
    background: var(--color-dark);
}

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

.noleggio-intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray-300);
    margin-bottom: 16px;
}

.noleggio-intro-text strong {
    color: var(--color-white);
}

.noleggio-intro-image img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ===== Rental Types ===== */
.noleggio-types {
    background: var(--color-dark-alt);
}

.noleggio-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.noleggio-type-card {
    background: var(--color-gray-900);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
}

.noleggio-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.noleggio-type-featured {
    border-color: rgba(56, 178, 172, 0.4);
    background: linear-gradient(to bottom, rgba(56, 178, 172, 0.08), var(--color-gray-900));
}

.noleggio-type-featured:hover {
    border-color: rgba(56, 178, 172, 0.6);
}

.type-label {
    position: absolute;
    top: -12px;
    left: 28px;
    padding: 4px 14px;
    background: #38b2ac;
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

.noleggio-type-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 6px;
}

.type-duration {
    font-size: 0.9rem;
    color: #4fd1c5;
    font-weight: 500;
    margin-bottom: 24px;
}

.type-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.type-features li {
    font-size: 0.9rem;
    color: var(--color-gray-300);
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
}

.type-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(56, 178, 172, 0.5);
}

.noleggio-type-featured .type-features li::before {
    background: #38b2ac;
}

.type-btn {
    width: 100%;
    justify-content: center;
}

/* ===== Why Choose Us ===== */
.noleggio-why {
    background: var(--color-dark);
}

.noleggio-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--color-gray-900);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 36px 28px;
    transition: var(--transition);
}

.why-card:hover {
    border-color: rgba(56, 178, 172, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.why-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(56, 178, 172, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray-400);
}

/* ===== CTA ===== */
.noleggio-cta-section {
    background: var(--color-dark-alt);
}

.cta-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .noleggio-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .noleggio-hero {
        height: 60vh;
        min-height: 400px;
    }

    .noleggio-hero-content {
        padding: 0 24px 40px;
    }

    .noleggio-hero-content .hero-cta {
        flex-direction: column;
    }

    .noleggio-hero-content .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .noleggio-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .noleggio-types-grid {
        grid-template-columns: 1fr;
    }

    .noleggio-why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PUBLIC FLEET SHOWCASE ===== */
.noleggio-fleet { background: #f7f7f5; }
.noleggio-fleet .section-title { color: #0f1115; text-shadow: none; }
.noleggio-fleet .section-subtitle { color: #555; }
.public-fleet-loading,
.public-fleet-empty {
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-size: 15px;
}
.public-fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 24px;
}
.public-fleet-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15,17,21,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.public-fleet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(15,17,21,0.14);
}
.public-fleet-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e9e9e7;
    overflow: hidden;
}
.public-fleet-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.public-fleet-img-placeholder::before {
    content: "Foto non disponibile";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
}
.public-fleet-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
}
.public-fleet-badge-ok   { background: rgba(37,211,102,0.92); color: #fff; }
.public-fleet-badge-busy { background: rgba(240,185,87,0.95); color: #1a1a1a; }
.public-fleet-photo-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.public-fleet-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.public-fleet-model {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 22px;
    font-weight: 700;
    color: #0f1115;
    line-height: 1.1;
}
.public-fleet-version {
    font-size: 13px;
    color: #666;
    min-height: 16px;
}
.public-fleet-specs {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    font-size: 12.5px;
    color: #444;
}
.public-fleet-specs strong {
    display: block;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    font-weight: 600;
}
.public-fleet-price {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 800;
    color: #d4a853;
}
.public-fleet-price span {
    font-size: 13px;
    font-weight: 500;
    color: #888;
    margin-left: 2px;
}
.public-fleet-cta {
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    background: #0f1115;
    color: #fff;
    padding: 11px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.public-fleet-cta:hover { background: #25D366; }
.public-fleet-cta-wrap {
    position: relative;
    margin-top: 10px;
}
.public-fleet-cta-wrap .public-fleet-cta {
    width: 100%;
    margin-top: 0;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.public-fleet-cta-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    bottom: calc(100% + 6px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(15,17,21,0.18);
    overflow: hidden;
    z-index: 10;
    border: 1px solid rgba(15,17,21,0.08);
}
.public-fleet-cta-menu.open { display: block; }
.public-fleet-cta-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #0f1115;
    transition: background 0.15s ease;
}
.public-fleet-cta-opt:hover { background: #f4f1ea; }
.public-fleet-cta-opt + .public-fleet-cta-opt { border-top: 1px solid rgba(15,17,21,0.06); }
.public-fleet-cta-wa svg { color: #25D366; }
.public-fleet-cta-email svg { color: #d4a853; }

/* Lightbox */
.public-fleet-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.public-fleet-lightbox-inner {
    max-width: 1000px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.public-fleet-lightbox-inner img#public-fleet-lightbox-img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
}
.public-fleet-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0 8px;
}
.public-fleet-lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}
.public-fleet-lightbox-thumbs img {
    height: 64px;
    width: auto;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}
.public-fleet-lightbox-thumbs img:hover,
.public-fleet-lightbox-thumbs img.active { opacity: 1; }
