/* Villa Lorelei - CSS Styles */
/* Colori autentici MamyLucia dal sito principale */

:root {
    /* Palette colori originali MamyLucia */
    --primary-color: #F5C332;      /* Giallo dorato principale ($c5) */
    --primary-alt: #fdc418;        /* Giallo alternativo usato nel sito */
    --secondary-color: #231E41;    /* Blu scuro principale ($c1) */
    --accent-color: #6F6F87;       /* Grigio ($c2) */
    --text-dark: #231E41;          /* Testo scuro ($c1) */
    --text-light: #6F6F87;         /* Testo chiaro ($c2) */
    --white: #FFFFFF;              /* Bianco ($c4) */
    --bg-light: #F2F3F5;           /* Sfondo chiaro ($c3) */
    --bg-warm: #F9FAFC;            /* Sfondo caldo ($c6) */
    --shadow-light: rgba(35, 30, 65, 0.1);
    --shadow-medium: rgba(35, 30, 65, 0.15);
    --transition: all 0.3s ease;
}

/* Reset e base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-light) 100%);
    min-height: 100vh;
}

.villa-lorelei-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.villa-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container .villa-logo {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
}

.mamylucia-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mamylucia-mini-logo {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
}

/* Main Content */
.villa-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.welcome-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.villa-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-alt));
    margin: 0 auto 30px;
    border-radius: 2px;
}

.villa-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.villa-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    margin-bottom: 50px;
}

.feature-item {
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border-radius: 15px;
}

.feature-item:hover {
    background: rgba(245, 195, 50, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Redirect Section */
.redirect-section {
    margin-top: 40px;
}

.redirect-notice {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-alt));
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(245, 195, 50, 0.3);
}

.redirect-notice i {
    font-size: 1.2rem;
}

#countdown {
    font-weight: 700;
    font-size: 1.1rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.villa-btn-primary,
.villa-btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.villa-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-alt));
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(245, 195, 50, 0.4);
    font-weight: 700;
}

.villa-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 195, 50, 0.6);
    color: var(--secondary-color);
}

.villa-btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.villa-btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer */
.villa-footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    border-top: 1px solid rgba(245, 195, 50, 0.2);
}

.footer-brand p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-alt));
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    font-weight: 700;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(245, 195, 50, 0.4);
    background: var(--secondary-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .villa-title {
        font-size: 2.5rem;
    }
    
    .villa-subtitle {
        font-size: 1.4rem;
    }
    
    .welcome-section {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .mamylucia-branding {
        justify-content: center;
        margin-top: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .villa-btn-primary,
    .villa-btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .villa-title {
        font-size: 2rem;
    }
    
    .feature-item {
        margin-bottom: 30px;
    }
    
    .redirect-notice {
        font-size: 0.9rem;
        padding: 12px 20px;
        text-align: center;
    }
}

/* Animation di entrata */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-section {
    animation: fadeInUp 0.8s ease-out;
}

.feature-item {
    animation: fadeInUp 0.8s ease-out;
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

/* Fallback per i loghi se non sono disponibili */
.villa-logo,
.mamylucia-mini-logo {
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
}

.villa-logo::before {
    content: "Villa Lorelei";
    font-size: 18px;
}

.mamylucia-mini-logo::before {
    content: "MamyLucia";
    font-size: 14px;
} 