/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Gill Sans Light';
  src: url('../font/gill-sans/Gill Sans Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero CSS per XO Ristorante & Club */

/* ===== HERO STYLES ===== */

/* Hero principale */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('/../img/hero_bkg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero ristorante specifico */
.hero-restaurant {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/hero_risto.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero club specifico */
.hero-club {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?w=1920&h=1080&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay per migliorare la leggibilità */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(67, 61, 55, 0.3) 0%,
        rgba(61, 66, 72, 0.4) 50%,
        rgba(48, 41, 13, 0.5) 100%
    );
    z-index: 1;
}

/* Contenuto hero con logo centrato */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    color: var(--color-avorio);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo hero centrato */
.hero-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-title {
    font-size: clamp(3rem, 2.5rem + 3vw, 4.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
margin-bottom: 2rem;
line-height: 1.6;
color: white;
font-family: 'Sora', sans-serif;
font-weight: 100;
letter-spacing: 0.04em;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
animation: fadeInUp 1s ease-out 0.5s both;
text-transform: uppercase;
text-emphasis: italic;
}

.hero-description {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Logo hero */
.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-logo-img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

/* Pulsanti hero */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Quando c'è un solo bottone, centrarlo e aumentare il width */
.hero-actions:has(.hero-cta-primary:only-child) {
    justify-content: center;
}

.hero-actions .hero-cta-primary:only-child {
    min-width: 200px;
    white-space: nowrap;
    padding: 1rem 3rem;
}

.hero-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-shadow: none;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-cta-primary{
    background: #153731;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Sora', Arial, sans-serif;
    font-weight: 200;
    padding: 5px;
    border-radius: 8px;
}

.hero-cta-primary:hover {
    background: #1e4a3e;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(21, 55, 49, 0.4);
    color: white;
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Sora', Arial, sans-serif;
    font-weight: 200;
    padding: 5px;
    border-radius: 8px;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

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

/* Effetti hover per dispositivi touch */
@media (hover: none) {
    .hero-actions .btn:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
    width: 24px;
    height: 24px;
    fill: var(--color-avorio);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive per smartphone medi */
@media (max-width: 479px) {
    .hero-logo {
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-img {
        max-width: 120px;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .hero-actions .hero-cta-primary:only-child {
        min-width: 180px;
        padding: 0.8rem 2.5rem;
        font-size: 0.9rem;
    }
}

/* Responsive per mobile molto piccoli */
@media (max-width: 360px) {
    .hero-logo {
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-img {
        max-width: 100px;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .hero-actions .hero-cta-primary:only-child {
        min-width: 180px;
        padding: 0.8rem 2.5rem;
        font-size: 0.9rem;
    }
}

/* 
 * NOTE: 
 * - Le media queries responsive sono state spostate in mobile.css
 * - Questo file contiene solo gli stili base per desktop
 * - Per modifiche responsive, utilizzare mobile.css
 */
