/*
 * NavigaRent — Pagina La Flotta
 * Stesso stile della home: Cormorant + Montserrat, navy/teal
 * @package NavigaRent
 */

/* ============================================
   HERO
   ============================================ */
.nr-flotta-page { font-family: var(--nr-body); color: var(--nr-text); }

.nrf-hero {
    position: relative;
    min-height: 46vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--nr-navy) 0%, var(--nr-navy-deep) 100%);
    padding: 130px 20px 80px;
}

.nrf-hero__bg {position: absolute; inset: 0; z-index: 0;}
.nrf-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block;}
.nrf-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* 0.45 = 45% di nero */
    z-index: 1;
}


.nrf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(63,169,201,.18), transparent 52%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.04), transparent 40%);
    pointer-events: none;
}

.nrf-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    color: #fff;
}

.nrf-hero__inner h1 {
    font-family: var(--nr-display);
    font-size: clamp(2.8rem, 5.5vw, 4.6rem);
    line-height: .95;
    font-weight: 600;
    color: #fff;
    margin: 14px 0 18px;
    letter-spacing: -.025em;
}

.nrf-hero__sub {
    font-family: var(--nr-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255,255,255,.78);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   BARCA DI PUNTA
   ============================================ */
.nrf-premium-wrap {
    margin: -36px auto 0;
    padding-bottom: 60px;
}

.nrf-premium-card {
    background: #fff;
    border-radius: var(--nr-radius);
    box-shadow: var(--nr-shadow);
    border: 1px solid var(--nr-border);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

.nrf-premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(20,40,70,.16);
}

.nrf-premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--nr-teal), var(--nr-teal-dark));
    color: #fff;
    padding: 8px 22px;
    font-family: var(--nr-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 0 0 var(--nr-radius-sm) 0;
}

.nrf-premium-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.nrf-premium-img {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: var(--nr-surface-alt);
}

.nrf-premium-slider {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.nrf-premium-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.nrf-premium-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.nrf-premium-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.nrf-premium-card:hover .nrf-premium-img img { transform: scale(1.03); }

.nrf-premium-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 35, 60, 0.7);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    transition: transform .2s ease, background .2s ease;
}

.nrf-premium-slider__btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(15, 35, 60, 0.85);
}

.nrf-premium-slider__btn--prev { left: 16px; }
.nrf-premium-slider__btn--next { right: 16px; }

.nrf-premium-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.nrf-premium-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.nrf-premium-slider__dot.is-active {
    background: #fff;
    transform: scale(1.1);
}

.nrf-premium-details {
    padding: 40px 42px;
    display: flex;
    flex-direction: column;
}

.nrf-premium-details h2 {
    font-family: var(--nr-display);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 600;
    color: var(--nr-navy);
    margin: 12px 0 8px;
    line-height: 1;
}

.nrf-premium-tagline {
    font-family: var(--nr-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--nr-teal);
    display: block;
    margin-bottom: 20px;
}

.nrf-premium-text {
    font-size: 15px;
    color: var(--nr-muted);
    line-height: 1.85;
    margin-bottom: 14px;
}

/* Specifiche */
.nrf-specs-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0 30px;
    background: #fafbfd;
    border: 1px solid var(--nr-border);
    border-radius: var(--nr-radius-sm);
    padding: 20px;
}

.nrf-spec {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nrf-spec__icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--nr-teal-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nr-teal);
    flex-shrink: 0;
}

.nrf-spec__icon svg { width: 20px; height: 20px; }

.nrf-spec__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--nr-muted);
    margin-bottom: 3px;
}

.nrf-spec__val {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--nr-navy);
    line-height: 1.2;
}

/* Azioni */
.nrf-premium-actions {
    display: flex;
    gap: 14px;
    margin-top: auto;
    flex-wrap: wrap;
}

.nrf-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--nr-teal), var(--nr-teal-dark));
    color: #fff;
    font-family: var(--nr-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(63,169,201,.26);
    transition: transform .22s ease, filter .22s ease;
}

.nrf-btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }

.nrf-btn-primary--large {
    min-height: 56px;
    padding: 0 40px;
    font-size: 14px;
}

.nrf-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    background: transparent;
    color: var(--nr-navy);
    font-family: var(--nr-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1.5px solid hsl(210 20% 82%);
    text-decoration: none;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.nrf-btn-secondary:hover {
    background: var(--nr-navy);
    border-color: var(--nr-navy);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   ALTRE BARCHE
   ============================================ */
.nrf-secondary {
    background:
        radial-gradient(circle at top left, rgba(63,169,201,.07), transparent 24%),
        linear-gradient(180deg, #fbfcfd 0%, #f4f7fb 100%);
    padding: 72px 0 80px;
}

.nrf-secondary__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.nrf-secondary__header h2 {
    font-family: var(--nr-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--nr-navy);
    margin: 10px 0 12px;
    line-height: .98;
}

.nrf-secondary__header p {
    font-size: 15px;
    color: var(--nr-muted);
    margin: 0;
    line-height: 1.7;
}

.nrf-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.nrf-boat-card {
    background: #fff;
    border-radius: var(--nr-radius);
    overflow: hidden;
    border: 1px solid var(--nr-border);
    box-shadow: var(--nr-shadow-soft);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    display: flex;
    flex-direction: column;
}

.nrf-boat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(20,40,70,.14);
    border-color: rgba(63,169,201,.3);
}

.nrf-boat-card__img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    height: unset;
    overflow: hidden;
}

.nrf-boat-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}

.nrf-boat-card:hover .nrf-boat-card__img { transform: scale(1.04); }

.nrf-boat-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--nrf-badge-color, var(--nr-teal));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.nrf-boat-card__content {
    padding: 28px 30px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nrf-boat-card__content h3 {
    font-family: var(--nr-display);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 600;
    color: var(--nr-navy);
    margin: 0 0 8px;
    line-height: 1;
    transition: color .22s ease;
}

.nrf-boat-card:hover .nrf-boat-card__content h3 { color: var(--nr-teal); }

.nrf-boat-card__tagline {
    font-family: var(--nr-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--nr-teal);
    display: block;
    margin-bottom: 14px;
}

.nrf-boat-card__text {
    font-size: 14px;
    color: var(--nr-muted);
    line-height: 1.8;
    margin: 0 0 20px;
}

.nrf-boat-card__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    border-top: 1px solid var(--nr-border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.nrf-boat-card__specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--nr-text);
    transition: transform .22s ease;
}

.nrf-boat-card:hover .nrf-boat-card__specs li { transform: translateX(4px); }

.nrf-boat-card__specs svg {
    width: 18px;
    height: 18px;
    color: var(--nr-teal);
    flex-shrink: 0;
}

.nrf-boat-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: transparent;
    color: var(--nr-navy);
    font-family: var(--nr-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid hsl(210 20% 82%);
    transition: background .22s ease, border-color .22s ease, color .22s ease;
}

.nrf-boat-card__cta:hover {
    background: var(--nr-navy);
    border-color: var(--nr-navy);
    color: #fff;
}

/* ============================================
   CTA FINALE
   ============================================ */
.nrf-final-cta {
    background: linear-gradient(135deg, var(--nr-navy) 0%, var(--nr-navy-deep) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nrf-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(63,169,201,.15), transparent 55%);
    pointer-events: none;
}

.nrf-final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
}

.nrf-final-cta h2 {
    font-family: var(--nr-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 600;
    color: #fff;
    margin: 12px 0 14px;
    line-height: .96;
}

.nrf-final-cta p {
    font-size: 15px;
    color: rgba(255,255,255,.75);
    line-height: 1.75;
    margin: 0 0 32px;
}

.nrf-final-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nrf-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 32px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-family: var(--nr-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.28);
    transition: background .22s ease, transform .22s ease;
}

.nrf-btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nrf-premium-body { grid-template-columns: 1fr; }
    .nrf-premium-img { min-height: 360px; }
    .nrf-premium-details { padding: 32px; }
}

@media (max-width: 768px) {
    .nrf-hero { padding: 120px 20px 64px; min-height: auto; }
    .nrf-hero__bg {position: absolute; inset: 0; z-index: 0;}
    .nrf-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.45;}
.nrf-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* 0.45 = 45% di nero */
    z-index: 1;
}
    .nrf-premium-wrap { padding-bottom: 48px; }
    .nrf-premium-img { min-height: 280px; }
    .nrf-specs-grid { grid-template-columns: 1fr; }
    .nrf-secondary { padding: 56px 0 64px; }
    .nrf-secondary-grid { grid-template-columns: 1fr; gap: 20px; }
    .nrf-boat-card__img-wrap { height: 260px; }
    .nrf-premium-details { padding: 24px 22px; }
    .nrf-premium-actions { flex-direction: column; }
    .nrf-btn-primary, .nrf-btn-secondary { width: 100%; }
    .nrf-final-cta__actions { flex-direction: column; }
    .nrf-btn-primary--large, .nrf-btn-ghost { width: 100%; }
}

@media (max-width: 480px) {
    .nrf-boat-card__img-wrap { height: 220px; }
}
