/**
 * Hero Section Styles
 * Napul'è Restaurant Theme
 *
 * @package Napule_Restaurant
 */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-primary);
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: var(--spacing-xl);
}

/* Mobile: Hero-Content weiter unten */
@media (max-width: 768px) {
    .hero-content {
        padding-top: calc(var(--spacing-xl) + 80px); /* Abstand nach oben */
    }
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

/* Hero Info */
.hero-info {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-white);
    font-size: var(--font-size-base);
}

.hero-info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: var(--spacing-lg);
        padding-top: calc(var(--spacing-xl) + 80px); /* Weniger Abstand */
    }
    
    .hero-title {
        font-size: var(--font-size-4xl); /* Größer */
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base); /* Größer */
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center; /* Zentriert die Buttons */
    }
    
    .hero-actions .btn {
        width: 85%; /* Schmaler als 100% */
        font-size: var(--font-size-base); /* Größere Schrift */
        padding: var(--spacing-md) var(--spacing-lg); /* Mehr Padding für größere Buttons */
    }
    
    .hero-info {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
        margin-top: var(--spacing-lg);
    }
    
    .hero-info-item {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl); /* Etwas kleiner auf sehr kleinen Screens */
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .hero-actions .btn {
        width: 90%; /* Etwas schmaler */
    }
    
    .hero-info-item {
        font-size: 0.75rem;
    }
    
    .hero-info-item svg {
        width: 16px;
        height: 16px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-actions {
    animation-delay: 0.6s;
}

.hero-info {
    animation-delay: 0.8s;
}

/* Weekly Specials in Hero */
.hero-weekly-specials {
    margin-top: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    animation-delay: 1s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.weekly-specials-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.weekly-specials-label {
    display: inline-block;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
}

.weekly-specials-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin: 0;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.weekly-specials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
}

.weekly-special-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.weekly-special-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.weekly-special-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.weekly-special-item:hover::before {
    opacity: 1;
}

.weekly-special-name {
    font-size: var(--font-size-sm);
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.weekly-special-price {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}

/* Responsive Weekly Specials */
@media (max-width: 768px) {
    .hero-weekly-specials {
        margin-top: var(--spacing-xl);
        padding: var(--spacing-lg);
        max-width: 90%;
    }
    
    .weekly-specials-label {
        font-size: 0.65rem;
    }
    
    .weekly-specials-title {
        font-size: var(--font-size-base);
    }
    
    .weekly-specials-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .weekly-special-item {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .weekly-special-name {
        font-size: 0.8rem;
    }
    
    .weekly-special-price {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .hero-weekly-specials {
        padding: var(--spacing-md);
    }
    
    .weekly-specials-header {
        margin-bottom: var(--spacing-md);
    }
    
    .weekly-specials-title {
        font-size: var(--font-size-sm);
    }
    
    .weekly-specials-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .weekly-special-item {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .weekly-special-name {
        font-size: 0.75rem;
    }
    
    .weekly-special-price {
        font-size: var(--font-size-lg);
    }
}
