/* ============================================================
   assets/css/style.css — Lavanderia Nord Servizi
   Stile elegante, pulito e tradizionale
   Font: Cormorant Garamond (titoli) + Inter (testo)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color, #1A1A1A);
    background: var(--bg-color, #F7F5F1);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--secondary-color, #0F1E2E);
    letter-spacing: 0.2px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }

p { color: #3B4A5A; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SEZIONI BASE ===== */
.section {
    padding: 100px 0;
}
.section--alt {
    background: #FFFFFF;
}
.section--tinted {
    background: #F0ECE4;
}
.section--dark {
    background: var(--secondary-color, #0F1E2E);
    color: #E5E5E5;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #FFFFFF; }

/* Etichetta / Eyebrow */
.eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color, #1F3B5C);
    margin-bottom: 16px;
    position: relative;
    padding-left: 34px;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--primary-color, #1F3B5C);
    transform: translateY(-50%);
}
.section--dark .eyebrow { color: #9AA8B6; }
.section--dark .eyebrow::before { background: #9AA8B6; }

/* Sottotitolo / lead */
.lead {
    font-size: 1.1rem;
    color: #56646F;
    max-width: 640px;
    line-height: 1.8;
}

/* Divider decorativo */
.divider {
    width: 60px;
    height: 2px;
    background: var(--primary-color, #1F3B5C);
    margin: 20px 0 30px;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ===== PULSANTI ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
}
.btn--primary {
    background: var(--primary-color, #1F3B5C);
    color: #FFFFFF;
    border-color: var(--primary-color, #1F3B5C);
}
.btn--primary:hover {
    background: var(--secondary-color, #0F1E2E);
    border-color: var(--secondary-color, #0F1E2E);
    transform: translateY(-1px);
}
.btn--outline {
    background: transparent;
    color: var(--secondary-color, #0F1E2E);
    border-color: var(--secondary-color, #0F1E2E);
}
.btn--outline:hover {
    background: var(--secondary-color, #0F1E2E);
    color: #FFFFFF;
}
.btn--ghost-light {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.5);
}
.btn--ghost-light:hover {
    background: #FFFFFF;
    color: var(--secondary-color, #0F1E2E);
    border-color: #FFFFFF;
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFFFFF;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(15,30,46,0.85) 0%, rgba(15,30,46,0.55) 55%, rgba(15,30,46,0.35) 100%);
    z-index: 1;
}
.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}
.hero__content {
    max-width: 640px;
}
.hero__eyebrow {
    color: #C9D3DD;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-left: 34px;
    position: relative;
}
.hero__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: #C9D3DD;
    transform: translateY(-50%);
}
.hero h1 {
    color: #FFFFFF;
    font-size: 3.8rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.hero p {
    color: #D4DCE4;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}
.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   PRESENTAZIONE / ABOUT
   ============================================================ */
.presentazione {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.presentazione__text h2 { margin-bottom: 20px; }
.presentazione__text p {
    margin-bottom: 18px;
    font-size: 1.02rem;
    line-height: 1.85;
}
.presentazione__image {
    position: relative;
}
.presentazione__image img {
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(15,30,46,0.15);
}
.presentazione__image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1.5px solid var(--primary-color, #1F3B5C);
    border-radius: 2px;
    z-index: -1;
    opacity: 0.4;
}
.presentazione__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #E5E0D6;
}
.stat__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--primary-color, #1F3B5C);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}
.stat__label {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6A7887;
    font-weight: 500;
}

/* ============================================================
   SERVIZI (CARD)
   ============================================================ */
.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 50px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop largo: griglia fissa a 4 colonne → layout pulito 4+3 */
@media (min-width: 1024px) {
    .servizi-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Tablet: 2 colonne */
@media (min-width: 640px) and (max-width: 1023px) {
    .servizi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.servizio-card {
    background: #FFFFFF;
    padding: 28px 24px;
    border-radius: 2px;
    border: 1px solid #EDE8DF;
    transition: all .35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.servizio-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color, #1F3B5C);
    box-shadow: 0 25px 50px rgba(15,30,46,0.08);
}
.servizio-card__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31,59,92,0.06);
    color: var(--primary-color, #1F3B5C);
    border-radius: 50%;
    font-size: 20px;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.servizio-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.servizio-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #56646F;
}

/* Card valori (chi-siamo) - stesso stile ma centrate */
.servizi-grid .servizio-card h3 { font-size: 1.2rem; }

/* ============================================================
   ORARI (snippet home + pagina orari)
   ============================================================ */
.orari-box {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 50px;
    border: 1px solid #EDE8DF;
    box-shadow: 0 20px 50px rgba(15,30,46,0.05);
    max-width: 780px;
    margin: 0 auto;
}
.orari-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.orari-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 4px;
    border-bottom: 1px solid #F0ECE4;
    font-size: 1rem;
}
.orari-list li:last-child { border-bottom: none; }
.orari-list .giorno {
    font-weight: 600;
    color: var(--secondary-color, #0F1E2E);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
}
.orari-list .orario {
    color: #56646F;
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.orari-list li.is-today {
    background: rgba(31,59,92,0.05);
    border-left: 3px solid var(--primary-color, #1F3B5C);
    padding-left: 14px;
}
.orari-list li.is-today .giorno { color: var(--primary-color, #1F3B5C); }
.orari-list .chiuso {
    color: #A0392B;
    font-weight: 500;
    font-style: italic;
}

/* ============================================================
   GALLERIA / CAROSELLI
   ============================================================ */
.gallery-block {
    margin-bottom: 70px;
}
.gallery-block:last-child { margin-bottom: 0; }
.gallery-block__header {
    text-align: center;
    margin-bottom: 36px;
}
.gallery-block__header h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.gallery-block__header p {
    color: #7A8695;
    font-size: 0.95rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
}

/* Carosello — dimensioni desktop ridotte */
.carousel {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    background: #0F1E2E;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15,30,46,0.15);
}
.carousel__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0F1E2E;
}
.carousel__track {
    display: flex;
    height: 100%;
    transition: transform .6s cubic-bezier(0.65, 0, 0.35, 1);
}
.carousel__slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0F1E2E;
}
.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(15,30,46,0.85));
    color: #FFFFFF;
    padding: 50px 28px 18px;
    font-size: 1.05rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.3px;
}
.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--secondary-color, #0F1E2E);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .3s;
    z-index: 3;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.carousel__btn:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }
.carousel__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: all .3s;
    padding: 0;
}
.carousel__dot.active {
    background: #FFFFFF;
    width: 26px;
    border-radius: 4px;
}
.carousel__empty {
    padding: 70px 30px;
    text-align: center;
    color: #9AA8B6;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
}

/* Galleria teaser (home / chi-siamo) - griglia 4 foto */
.gallery-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    max-width: 1080px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .gallery-teaser-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   PAGINE INTERNE (Chi Siamo, Servizi, ecc.)
   ============================================================ */
.page-hero {
    background: var(--secondary-color, #0F1E2E);
    padding: 90px 0 70px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 40px;
    background: var(--primary-color, #1F3B5C);
    filter: brightness(1.5);
}
.page-hero h1 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 12px;
    font-weight: 500;
}
.page-hero p {
    color: #9AA8B6;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
}

.page-content {
    padding: 80px 0;
    background: var(--bg-color, #F7F5F1);
}
.content-box {
    background: #FFFFFF;
    padding: 55px;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(15,30,46,0.05);
    border: 1px solid #EDE8DF;
    max-width: 900px;
    margin: 0 auto;
}
.content-box h1,
.content-box h2 {
    color: var(--primary-color, #1F3B5C);
    margin-bottom: 20px;
}
.content-box h2 {
    font-size: 1.8rem;
    margin-top: 30px;
}
.content-box h2:first-child { margin-top: 0; }
.content-box p,
.content-box li {
    font-size: 1rem;
    line-height: 1.85;
    color: #3B4A5A;
    margin-bottom: 14px;
}
.content-box ul {
    padding-left: 22px;
}

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}
.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #E5E0D6;
}
.contact-info__item:last-of-type { border-bottom: none; }
.contact-info__item i {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31,59,92,0.08);
    color: var(--primary-color, #1F3B5C);
    border-radius: 50%;
    font-size: 15px;
}
.contact-info__item .label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7A8695;
    font-weight: 600;
    margin-bottom: 2px;
}
.contact-info__item .value {
    color: var(--secondary-color, #0F1E2E);
    font-weight: 500;
}
.contact-info__item .value a { color: inherit; text-decoration: none; }
.contact-info__item .value a:hover { color: var(--primary-color, #1F3B5C); }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F0ECE4;
    color: var(--secondary-color, #0F1E2E);
    border-radius: 50%;
    text-decoration: none;
    transition: all .3s;
    font-size: 15px;
}
.social-links a:hover {
    background: var(--primary-color, #1F3B5C);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.contact-form-box {
    background: #FFFFFF;
    padding: 46px;
    border-radius: 2px;
    border: 1px solid #EDE8DF;
    box-shadow: 0 20px 50px rgba(15,30,46,0.05);
}
.contact-form-box h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.contact-form-box .sub {
    color: #7A8695;
    font-size: 0.92rem;
    margin-bottom: 26px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #DFD9CC;
    border-radius: 2px;
    background: #FBFAF7;
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 14px;
    transition: all .25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, #1F3B5C);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(31,59,92,0.08);
}
.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}
.contact-form .btn { width: 100%; justify-content: center; }

.success-msg {
    background: rgba(46,204,113,0.10);
    border: 1px solid #2ecc71;
    color: #1E7B48;
    padding: 12px 18px;
    border-radius: 2px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}
.error-msg {
    background: rgba(231,76,60,0.08);
    border: 1px solid #e74c3c;
    color: #A0392B;
    padding: 12px 18px;
    border-radius: 2px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}

/* ============================================================
   CTA STRIP (Home)
   ============================================================ */
.cta-strip {
    background: var(--secondary-color, #0F1E2E);
    color: #FFFFFF;
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.cta-strip h2 {
    color: #FFFFFF;
    font-size: 2.4rem;
    margin-bottom: 14px;
}
.cta-strip p {
    color: #C9D3DD;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .section { padding: 70px 0; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    .hero { min-height: 520px; background-attachment: scroll; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1rem; }
    .presentazione { grid-template-columns: 1fr; gap: 40px; }
    .presentazione__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .stat__num { font-size: 1.8rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .content-box { padding: 30px 24px; }
    .orari-box { padding: 30px 22px; }
    .contact-form-box { padding: 30px 24px; }
    .page-hero { padding: 60px 0 50px; }
    .page-hero h1 { font-size: 2.2rem; }
    .page-hero p { font-size: 1.05rem; }
    .carousel__viewport { aspect-ratio: 4 / 3; }
    .carousel__btn { width: 40px; height: 40px; font-size: 16px; }
    .carousel__btn--prev { left: 10px; }
    .carousel__btn--next { right: 10px; }
    .carousel { max-width: 100%; }
}

@media (max-width: 480px) {
    .section { padding: 55px 0; }
    .hero { min-height: 440px; }
    .hero h1 { font-size: 1.9rem; }
    .presentazione__stats { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .orari-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .orari-list .orario { text-align: left; }
    .servizio-card { padding: 24px 20px; }
    .servizio-card__icon { width: 44px; height: 44px; font-size: 18px; margin-bottom: 14px; }
}