/* =========================================
   HOME PAGE (body.home) 
   ========================================= */

body.home main {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--background-color);
}

body.home main::before {
    display: none !important;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 90px);
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 2.5rem 3.5rem 2.5rem;
    gap: 3rem;
}

/* Colonna Sinistra: Logo */
.hero-logo {
    flex: 0 0 auto;
    width: clamp(280px, 34vw, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.25;
    mix-blend-mode: multiply;
    user-select: none;
    pointer-events: none;
}

/* Colonna Destra: Gerarchia equilibrata */
.hero-section .hero-container {
    flex: 1;
    min-width: 0;
    max-width: 820px;
    margin: 0 auto;
    min-height: 68vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 2rem;
}

.title-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}

/* Titolo principale grande in alto */
.hero-section .bigTitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 5.2vw, 4.9rem);
    color: var(--primary-color);
    border-bottom: none;
    padding-bottom: 0;
    margin: 0;
    align-self: center;
    letter-spacing: 0.5px;
    line-height: 1.08;
    text-shadow: 1px 1px 2px rgba(217, 203, 191, 0.7);
}

/* Sottotitolo "Project Lux" con filetti dorati laterali */
.hero-section .smallTitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    color: #b67b0d;
    border-bottom: none;
    padding-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 1rem auto 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-shadow: none;
}

.hero-section .smallTitle::before,
.hero-section .smallTitle::after {
    content: "";
    display: inline-block;
    width: 38px;
    height: 1px;
    background-color: #b67b0d;
    opacity: 0.75;
}

/* Frase "Tutti i consigli..." resa leggera, ariosa ed elegante */
.hero-section #subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.15rem, 1.6vw, 1.42rem);
    font-weight: 400;
    font-style: italic;
    color: #4a3f35;
    line-height: 1.8;
    letter-spacing: 0.3px;
    max-width: 680px;
    margin: 0 auto;
    align-self: center;
    text-align: center;
    background-color: transparent;
    border-top: 1px solid rgba(182, 123, 13, 0.35);
    border-bottom: 1px solid rgba(182, 123, 13, 0.35);
    border-left: none;
    border-right: none;
    padding: 1.4rem 1rem;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
}

/* Pulsanti CTA */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
    margin-bottom: 0.5rem;
}

.hero-cta-row {
    display: flex;
    width: 100%;
    gap: 1rem;
}

.hero-btn {
    font-family: 'Playfair Display', Georgia, serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-decoration: none;
    border-radius: 6px;
    text-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-cta-row .hero-btn {
    flex: 1;
}

.hero-btn-primary {
    width: 100%;
    background-color: #b67b0d;
    color: #ffffff;
    border: 2px solid #b67b0d;
}

.hero-btn-primary:hover {
    background-color: #9e690a;
    border-color: #9e690a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(182, 123, 13, 0.3);
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.75);
    color: var(--primary-color);
    border: 2px solid #b67b0d;
}

.hero-btn-secondary:hover {
    background-color: #b67b0d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(182, 123, 13, 0.22);
}

/* =========================================
   ADATTAMENTO TABLET E MOBILE
   ========================================= */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 75px);
        padding: 2rem 1.2rem 3rem 1.2rem;
        gap: 1.5rem;
    }

    .hero-logo {
        width: clamp(170px, 42vw, 240px);
    }

    .hero-section .hero-container {
        min-height: auto;
        justify-content: center;
        gap: 1.75rem;
    }

    .hero-section .bigTitle {
        width: 100%;
        font-size: clamp(2.3rem, 8.5vw, 3.6rem);
    }

    .hero-section .smallTitle {
        letter-spacing: 5px;
        gap: 0.65rem;
    }

    .hero-section .smallTitle::before,
    .hero-section .smallTitle::after {
        width: 24px;
    }

    .hero-section #subtitle {
        padding: 1.2rem 0.5rem;
        font-size: 1.1rem;
    }

    .hero-cta-group {
        max-width: 360px;
    }

    .hero-cta-row {
        flex-direction: column;
        gap: 0.85rem;
    }

    .hero-btn {
        width: 100%;
    }
}