/* Reset and variables */
:root {
    --primary-color: #EF9028;
    --secondary-color: #3A3A3C;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dish-color: #F19B3E;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding-top: 110px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Background animation only for desktop */
@media (min-width: 769px) {
    .hero-image {
        transform: scale(1.1);
        animation: zoomInOut 20s infinite alternate;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(58, 58, 60, 0.8),
        rgba(58, 58, 60, 0.4)
    );
}

/* Decorative elements */
.hero-decorator {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decorator-circle {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: rotate 30s linear infinite;
}

.decorator-circle:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
}

.decorator-circle:nth-child(2) {
    bottom: 15%;
    right: 8%;
    width: 150px;
    height: 150px;
    animation-direction: reverse;
}

.hero-container {
    position: relative;
    height: calc(100vh - 80px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    color: var(--white);
    margin-bottom: 4rem;
}

.hero-tagline {
    font-family: 'Italianno', cursive;
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInSlideUp 1s ease forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 700;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInSlideUp 1s ease forwards 0.3s;
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-size: 1.8rem;
    margin: 1rem 0 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInSlideUp 1s ease forwards 0.6s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem 0 2rem;
    opacity: 0;
    animation: fadeInSlideUp 1s ease forwards 0.9s;
    line-height: 1.6;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

/* Detail Cards */
.hero-details {
    display: flex;
    gap: 2rem;
    opacity: 0;
    animation: fadeInSlideUp 1s ease forwards 1.5s;
    margin-top: 4rem;
}

.detail-card {
    background: rgba(58, 58, 60, 0.5);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    flex: 1;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.detail-card:hover {
    transform: translateY(-8px);
    background: rgba(58, 58, 60, 0.65);
    border-color: var(--primary-color);
}

.detail-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounceIcon 2s ease infinite;
}

.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dish-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.detail-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInSlideUp 1s ease forwards 1.2s;
}

.btn {
    position: relative;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(239, 144, 40, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn:hover {
    transform: translateY(-3px);
}

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

@keyframes zoomInOut {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-image {
        position: fixed;
        height: 100vh;
        width: 100vw;
        object-position: center 20%;
        transform: scale(1.05);
        animation: none;
    }

    .hero-overlay {
        position: fixed;
        height: 100vh;
        background: linear-gradient(
            rgba(58, 58, 60, 0.85),
            rgba(58, 58, 60, 0.75)
        );
    }

    .hero-container {
        position: relative;
        z-index: 2;
        height: auto;
        min-height: calc(100vh - 80px);
        padding: 4rem 1.5rem 2rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin-bottom: 2rem;
    }

    .hero-tagline {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        display: none; /* Hide description on mobile */
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .hero-details {
        flex-direction: column;
        max-width: 280px;
        margin: 2rem auto 0;
        gap: 1rem;
    }

    .detail-card {
        padding: 1.5rem;
        background: rgba(58, 58, 60, 0.75);
    }

    .detail-icon {
        font-size: 2.4rem;
        margin-bottom: 0.8rem;
        animation: none;
    }

    .detail-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .detail-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .decorator-circle {
        display: none;
    }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
    .hero-container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}