/* Base styles */
:root {
    --primary-color: #D2401E;
    --secondary-color: #444444;
    --accent-color: #B33116;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding-top: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    background-color: #ffffff; /* Add background color to prevent flash */
}


html {
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.hero {
    min-height: 100vh; /* Change from height to min-height */
    background: url('../assets/hero.jpg') no-repeat center center;
    /*background: url('https://firebasestorage.googleapis.com/v0/b/vertretungen.firebasestorage.app/o/images%2Fhero.png?alt=media&_format=webp') no-repeat center center;*/
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    z-index: 1; /* Add z-index to ensure proper stacking */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    padding: 2rem;
    max-width: 1200px;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.hero-text {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(0, 0, 0, 0.5);
    animation: flyInLeft 1s ease-out;
    font-weight: 700;
    line-height: 1.1;
}

.subtitle-container {
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 2rem;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 0 0 15px rgba(0, 0, 0, 0.5);
    animation: flyInRight 1s ease-out 0.2s backwards;
    font-weight: 500;
    line-height: 1.2;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: flyInUp 1s ease-out 0.4s backwards;
    align-items: center;
}

.hero-buttons .btn {
    width: auto;
    min-width: 250px;
    padding: 1.2rem 3rem;
    background-color: rgba(210, 64, 30, 0.1);
    color: white;
    border: 2px solid #D2401E;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #D2401E;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    border-color: #D2401E;
    box-shadow: 0 8px 25px rgba(210, 64, 30, 0.25);
}

.hero-buttons .btn:hover::before {
    transform: translateX(0);
}

.hero-buttons .btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(210, 64, 30, 0.2);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #444444;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #B33116;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #D2401E;
    color: #D2401E;
}

.btn-outline:hover {
    background-color: #D2401E;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

section {
    padding: 2rem 0;
}

.welcome {
    background-color: #ffffff;
    text-align: center;
    padding-top: 2rem;
}

.welcome h2 {
    font-family: 'Playfair Display', serif;
    color: #D2401E;
    padding-bottom: 0px;
    margin-bottom: 0px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.welcome h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D2401E;
}

.about h2, .highlights h2, .info h2 {
    font-family: 'Playfair Display', serif;
    color: #D2401E;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.welcome p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
    text-align: left;
}

.about {
    background-color: white;
    margin-bottom: 0;
}

.about-flex {
    display: flex;
    gap: 3rem;
    margin: 3rem 0 0;
    align-items: center;
}

.about-text {
    flex: 3;
}

.owner-image-container {
    flex: 2;
    position: relative;
    padding-bottom: 0;
}

.owner-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    object-fit: cover;
}

.owner-image:hover {
    transform: scale(1.02);
}

.about p, .owner-story p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.owner-story h3 {
    margin: 0.5rem 0 0.25rem;
    font-family: 'Playfair Display', serif;
    color: #333;
    font-size: 1.8rem;
}

.owner-story {
    margin-bottom: 2rem;
}

.owner-story p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.highlights {
    background-color: #f5f5f5;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 10px;
    margin-top: 0;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dish {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dish:hover {
    transform: translateY(-10px);
}

.dish img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dish h3 {
    margin: 1rem 0 0.5rem;
    color: #D2401E;
}

.dish p {
    margin-bottom: 1.5rem;
    color: #666;
}

.info {
    background-color: white;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.hours-list {
    margin: 1.5rem 0;
}

.contact p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.restaurant-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.hours-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.hours-row:last-child {
    border-bottom: none;
}

.days {
    color: #333;
    font-weight: bold;
    flex: 1;
}

.times-container {
    text-align: right;
    flex: 1;
}

.time-label {
    display: block;
    color: #333;
    font-size: 0.9rem;
}

.times {
    color: #333;
    font-weight: bold;
}

.closed {
    color: rgb(183, 39, 39);
}

.owner-image-container.mobile-only {
    display: none;
}

@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        gap: 2rem;
    }
    
    .owner-image-container.desktop-only {
        display: none;
    }

    .owner-image-container.mobile-only {
        display: block;
        width: 100%;
        max-width: 500px;
        margin: 2rem auto;
    }
    
    .owner-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .day {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        height: 70vh;
    }
    
    .welcome {
        padding: 2rem 0;
    }
    
    .welcome h2 {
        font-size: 2rem;
    }
    
    .welcome p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .owner-image-container {
        max-width: 320px;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
        width: 100%;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .subtitle {
        font-size: 1.6rem;
    }
    
    .welcome h2 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
}

/* Contact section styles */
.contact a {
    color: #D2401E;
    font-weight: bold;
    text-decoration: none;
}

@keyframes flyInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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