﻿/* =====================================================
   HOME.CSS - Home Page Styles
   ===================================================== */

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #ff6b35 0%, #d32f2f 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 60px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* ============================================
   PROMOTIONS SECTION - HOMEPAGE CARDS
   ============================================ */
.promotions-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffebee 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: 2.5rem;
        color: #d32f2f;
        margin-bottom: 10px;
    }

    .section-header p {
        color: #666;
        font-size: 1.1rem;
    }

/* ============================================
   PROMOTIONS GRID - FIXED LAYOUT
   ============================================ */
.promotions-section .promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

/* ============================================
   PROMO CARD - VERTICAL STYLE FOR HOMEPAGE
   ============================================ */
.promotions-section .promo-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    border: 3px solid #ffcc80;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

    .promotions-section .promo-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(211, 47, 47, 0.25);
        border-color: #ff9800;
    }

/* Promo Badge - Fixed Position */
.promotions-section .promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #d32f2f, #ff6b35);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
    z-index: 10;
}

/* Promo Title - Better Spacing */
.promotions-section .promo-card h3 {
    color: #d32f2f;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-right: 100px; /* Space for badge */
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Promo Description */
.promotions-section .promo-card > p:not(.promo-date) {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Promo Date - Better Styling */
.promotions-section .promo-date {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* View All Button */
.view-all-promotions {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all-promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #d32f2f;
    padding: 14px 35px;
    border: 3px solid #d32f2f;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
}

    .btn-view-all-promo:hover {
        background: #d32f2f;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(211, 47, 47, 0.35);
    }

/* ============================================
   DISHES SECTION
   ============================================ */
.dishes-section {
    padding: 60px 20px;
    background: white;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

    .section-top h2 {
        font-size: 2.5rem;
        color: #d32f2f;
        margin-bottom: 5px;
    }

    .section-top p {
        color: #666;
        font-size: 1.1rem;
    }

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 60px 20px;
    background: #1a1a1a;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ff6b35;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    color: #ff6b35;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item .label {
    color: #999;
    font-size: 0.9rem;
}

.hours-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ff6b35;
}

.hours-list {
    margin-bottom: 30px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

    .hours-item .time {
        color: #ff6b35;
        font-weight: 600;
    }

.booking-cta {
    margin-top: 30px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .promotions-section .promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .promotions-section .promo-card h3 {
        font-size: 1.2rem;
        padding-right: 90px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-image {
        order: -1;
    }

        .hero-image img {
            height: 300px;
        }

    .section-header h2,
    .section-top h2 {
        font-size: 1.8rem;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .promotions-section .promotions-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .promotions-section .promo-card {
        min-height: 200px;
        padding: 25px 20px;
    }

        .promotions-section .promo-card h3 {
            font-size: 1.25rem;
            padding-right: 85px;
            min-height: 45px;
        }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .section-header h2,
    .section-top h2 {
        font-size: 1.5rem;
    }

    .promotions-section {
        padding: 40px 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .promotions-section .promo-card {
        padding: 22px 18px;
        min-height: 180px;
    }

        .promotions-section .promo-card h3 {
            font-size: 1.15rem;
            padding-right: 75px;
            min-height: 42px;
        }

    .promotions-section .promo-badge {
        top: 12px;
        right: 12px;
        padding: 6px 14px;
        font-size: 0.9rem;
    }

    .promotions-section .promo-card > p:not(.promo-date) {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .promotions-section .promo-date {
        font-size: 0.8rem;
    }

    .btn-view-all-promo {
        width: 100%;
        justify-content: center;
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
