/* Hero Section */
.hero-section {
    width: 100%;
}

/* Contact Info at the top center */
.hero-contact-info {
    text-align: center;
    padding: 0.5rem 0;
    background-color: transparent;
    position: relative;
}

/* Mobile logo hidden by default; shown on mobile in media queries */
.hero-logo-mobile {
    display: none;
    width: clamp(200px, 20vw, 140px);
    height: auto;
    margin: 0 auto 8px;
    position: relative;
    left: 3%;
}

.hero-phone {
    font-size: 1.2rem;
    font-weight: bold;
    color: #BC6743;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    /* left: 3%; */
    /* transform: translate(-50%, -50%); */
}

.hero-hours {
    font-size: 1rem;
    color: #BC6743;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    /* left: 3%; */
}

/* Background Image Container with full width and padding */
.hero-background-container {
    width: 100%;
    height: 700px;
    /* Increased height for full image visibility */
    background-image: url('/MC homepage Image png.png');
    background-size: contain;
    /* Changed to contain to show full image */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Buttons positioned over the background image */
.hero-btn {
    position: relative;
    top: -120px;
    left: -20px;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn.order-online-btn {
    background-color: #fffbeee4 !important;
    color: #BC6743 !important;
    border: 2px solid #d4a017 !important;
}

.hero-btn.order-online-btn:hover {
    background-color: #d4a017 !important;
    color: black !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero-btn.allergens-btn {
    background-color: #fffbeee4 !important;
    color: #BC6743 !important;
    border: 2px solid #d4a017 !important;
}

.hero-btn.allergens-btn:hover {
    background-color: #d4a017 !important;
    color: black !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* New View Menu button - same styling as others */
.hero-btn.view-menu-btn {
    background-color: #fffbeee4 !important;
    color: #BC6743 !important;
    border: 2px solid #d4a017 !important;
}

.hero-btn.view-menu-btn:hover {
    background-color: #d4a017 !important;
    color: black !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-contact-info {
        padding: 0.5rem 0;
    }

    .hero-logo-mobile {
        display: block;
    }

    .hero-phone {
        font-size: 1.1rem;
    }

    .hero-hours {
        font-size: 0.9rem;
    }

    .hero-background-container {
        height: 500px;
        padding: 0 1rem;
        gap: 1.5rem;
        flex-direction: column;
        /* Stack buttons vertically on mobile/tablet */
    }

    .hero-btn {
        padding: 0.4rem 1.5rem;
        font-size: 0.9rem;
        width: clamp(220px, 80vw, 200px);
        left: 0;
        /* center alignment for stacked layout */
        top: -50px;
    }
}

/* Mobile-only alternate hero structure base styles */
.hero-section-mobile {
    display: none;
    width: 100%;
}

.hero-section-mobile .hero-background-container {
    background-image: none;
    height: auto;
    padding: 0 1rem;
    gap: 0.75rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section-mobile .hero-btn {
    top: 0;
    left: 0;
    width: clamp(220px, 80vw, 280px);
    padding: 0.4rem 1.5rem;
}

.hero-image-mobile {
    display: none;
    padding: 0 1rem;
}

.hero-image-mobile img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 480px) {

    /* Show mobile hero, hide desktop hero */
    .hero-section {
        display: none !important;
    }

    .hero-section-mobile {
        display: block !important;
        padding: 0 0.75rem;
    }

    /* Mobile contact layout */
    .hero-section-mobile .hero-contact-info {
        text-align: center;
        padding: 0.25rem 0;
    }

    .hero-section-mobile .hero-logo-mobile {
        display: block;
        width: clamp(120px, 32vw, 170px);
        margin: 8px auto 12px;
    }

    .hero-section-mobile .hero-phone {
        font-size: 1rem;
        font-weight: 700;
        color: #BC6743;
        margin-bottom: 0.25rem;
        letter-spacing: 0.5px;
    }

    .hero-section-mobile .hero-hours {
        font-size: 0.85rem;
        color: #BC6743;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Mobile buttons container (no background image) */
    .hero-section-mobile .hero-background-container {
        background: none !important;
        background-image: none !important;
        height: auto !important;
        padding: 0 0.75rem !important;
        margin-top: 6px;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }

    /* Mobile buttons styling */
    .hero-section-mobile .hero-btn {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: clamp(240px, 88vw, 320px);
        max-width: 480px;
        padding: 0.6rem 1.1rem;
        font-size: 0.95rem;
        font-weight: 700;
        border-radius: 12px;
        margin: 0.4rem 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .hero-section-mobile .order-online-btn,
    .hero-section-mobile .allergens-btn,
    .hero-section-mobile .view-menu-btn {
        background-color: #fffbeee4 !important;
        color: #BC6743 !important;
        border: 2px solid #d4a017 !important;
    }

    .hero-section-mobile .hero-btn:hover {
        background-color: #d4a017 !important;
        color: black !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    /* Mobile hero image below buttons */
    .hero-image-mobile {
        display: block !important;
        padding: 0 0.75rem;
        margin-top: 8px;
    }

    .hero-image-mobile img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}