/* 
 * Kaisergarten Restaurant - Hero Sections CSS
 * Modernisierte und einheitliche Hero-Sektionen für alle Unterseiten
 */

/* Gemeinsame Hero-Styles */
.hero-section {
    position: relative;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/patterns/pattern-overlay.svg');
    background-size: 300px;
    opacity: 0.1;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem var(--spacing-md);
    animation: fadeInUp 1s ease-out;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.3);
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-content h1,
.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.hero-content h1::before,
.hero-content h2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: -1;
    border-radius: 50% / 30%;
}

.hero-content h1::after,
.hero-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--secondary-color), 0 0 5px var(--secondary-light);
}

.hero-content:hover h1::after,
.hero-content:hover h2::after {
    width: 120px;
}

.hero-content p {
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    max-width: 600px;
    margin: 0.5rem auto 1rem;
    animation: fadeInUp 1s 0.3s ease-out backwards;
    font-weight: 500;
    line-height: 1.5;
}

.hero-buttons {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s 0.5s ease-out backwards;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(4px);
}

/* Hero Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    color: var(--text-light);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Chinese Accent Elements */
.chinese-symbol {
    font-family: 'Noto Serif SC', serif;
    position: absolute;
    opacity: 0.1;
    color: var(--text-light);
    font-size: 10rem;
    z-index: 1;
}

.symbol-left {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.symbol-right {
    bottom: 10%;
    right: 5%;
    transform: rotate(15deg);
}

/* Page-specific Hero Backgrounds */
.hero-home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('../../images/hero-bg.jpg');
    height: 90vh;
}

.hero-buffet {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../../images/gallery/buffet-selection.jpg');
}

.hero-speisekarte {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../../images/gallery/dim-sum.jpg');
}

.hero-kontakt {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../../images/restaurant-interior.jpg');
}

.hero-reservierung {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../../images/gallery/restaurant-interior.jpg');
}

.hero-party {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../../images/gallery/restaurant-interior.jpg');
}

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

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .chinese-symbol {
        font-size: 7rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
    }
    
    .hero-content {
        padding: 1rem var(--spacing-md);
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.3rem;
    }
    
    .hero-content h1::before,
    .hero-content h2::before {
        top: -5px;
        left: -10px;
        right: -10px;
        bottom: -5px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
    
    .chinese-symbol {
        font-size: 5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        min-height: 35vh;
    }
    
    .hero-content {
        padding: 1rem 0.8rem;
        width: 90%;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content h1::before,
    .hero-content h2::before {
        top: -3px;
        left: -5px;
        right: -5px;
        bottom: -3px;
    }
    
    .hero-content h1::after,
    .hero-content h2::after {
        height: 2px;
        width: 60px;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .chinese-symbol {
        display: none;
    }
}

/* Reduzierte Bewegung für Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-content h1::after,
    .hero-content h2::after,
    .scroll-indicator,
    .btn-hero,
    .btn-hero i {
        transition: none !important;
        animation: none !important;
    }
}
