﻿/* =========================================================
   GUEST HOME HERO
   Pagina introduttiva per utenti non autenticati
   ========================================================= */

.guest-hero {
    position: relative;
    min-height: calc(100vh - 120px);
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    box-sizing: border-box;
    overflow: hidden;
    background-image: url('/guest-home.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.guest-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(22, 26, 23, 0.30), rgba(22, 26, 23, 0.18) );
}

.guest-hero-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(231, 237, 231, 0.9);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    padding: 48px 56px;
    box-sizing: border-box;
}

.guest-hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.guest-hero-title {
    margin: 0;
    color: #111411;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.guest-hero-subtitle {
    margin: 24px auto 0;
    max-width: 720px;
    color: #394239;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 500;
}

.guest-hero-note {
    margin: 14px auto 0;
    max-width: 660px;
    color: #677267;
    font-size: 16px;
    line-height: 1.6;
}

.guest-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.guest-btn {
    min-width: 180px;
    height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

    .guest-btn:hover {
        transform: translateY(-1px);
    }

.guest-btn-primary {
    background: #3FB44C;
    color: #ffffff;
    border: 1px solid #3FB44C;
    box-shadow: 0 10px 22px rgba(63, 180, 76, 0.22);
}

    .guest-btn-primary:hover {
        background: #37a343;
        border-color: #37a343;
        color: #ffffff;
    }

.guest-btn-secondary {
    background: #ffffff;
    color: #1f241f;
    border: 1px solid #dbe4db;
    box-shadow: 0 8px 18px rgba(20, 28, 21, 0.06);
}

    .guest-btn-secondary:hover {
        background: #f8faf8;
        border-color: #cfd8cf;
        color: #1f241f;
    }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
    .guest-hero-title {
        font-size: 48px;
    }

    .guest-hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .guest-hero {
        min-height: calc(100vh - 96px);
        padding: 28px 18px;
    }

    .guest-hero-card {
        padding: 36px 28px;
        border-radius: 22px;
    }

    .guest-hero-title {
        font-size: 38px;
    }

    .guest-hero-subtitle {
        font-size: 18px;
        margin-top: 18px;
    }

    .guest-hero-note {
        font-size: 15px;
    }
}

@media (max-width: 768px) {

    .guest-hero {
        min-height: 380px;
        margin: 16px auto;
        padding: 18px;
    }

    .guest-hero-title {
        font-size: 28px;
    }

    .guest-hero-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .guest-hero {
        align-items: flex-start;
        padding-top: 28px;
    }

    .guest-hero-card {
        padding: 28px 20px;
    }

    .guest-hero-title {
        font-size: 30px;
        line-height: 1.12;
    }

    .guest-hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .guest-hero-note {
        font-size: 14px;
        line-height: 1.5;
    }

    .guest-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .guest-btn {
        width: 100%;
        min-width: 0;
    }
}
