/* ========================================
   FILE: home.css
   DESCRIZIONE: Stili per la sezione iniziale (Hero) del sito. Include
   il titolo principale, la status line con il pallino animato della 
   disponibilità e i collegamenti social.
   ======================================== */

/* ========================================
   HERO LAYOUT & TESTO
   ======================================== */
#home {
    gap: 1rem;
    margin-top: 200px;
    justify-content: center;
}

#home h1 {
    font-size: 4rem;
    font-weight: 700;
}

.highlight {
    color: #1877F2;
}

#home .subtitle {
    font-size: 1.5rem;
    color: #000;
    margin-top: 0rem;
}

#home .description {
    font-size: 1.1rem;
    color: #000;
    max-width: auto;
    line-height: 1.8;
    font-weight: 600;
}

.inline-link {
    color: #1877F2;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.inline-link:hover {
    opacity: 0.7;
}

/* ========================================
   STATUS LINE E ANIMAZIONE PALLINO VERDE
   ======================================== */
.status-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: #000;
    margin-top: 0.5rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color:#000;
    font-weight: 600;
}

.separator {
    color: #ddd;
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
    position: relative;
    margin-left: 0.5rem;
}

/* Base del pallino verde */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-out infinite;
}

/* Le onde che si espandono dal pallino */
.pulse-dot::before,
.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #10b981;
    top: 0;
    left: 0;
    opacity: 0;
}

.pulse-dot::before {
    animation: ripple 2s ease-out infinite;
}

.pulse-dot::after {
    animation: ripple 2s ease-out 1s infinite;
}

/* Animazioni chiave */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* ========================================
   SOCIAL LINKS
   ======================================== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
    padding-right: 10px;
}

.social-links a:hover {
    color: #1877F2;
}

/* ========================================
   RESPONSIVE (MOBILE)
   ======================================== */
@media (max-width: 768px) {
    #home {
        margin-top: 100px;
        gap: 0.7rem;
    }

    #home h1 {
        font-size: 2.75rem;
        letter-spacing: 0.001em;
        line-height: 1.15;
    }

    #home .subtitle {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    #home .description {
        font-size: 1.15rem;
    }

    .status-line {
        font-size: 0.85rem; 
        gap: 0.5rem; 
        margin-bottom: 0.5rem; 
    }

    .location {
        font-size: 1.05rem;
    }
    
    .availability {
        font-size: 1.05rem;
    }

    .pulse-dot {
        width: 6px; 
        height: 6px;
    }
}