/* ========================================
   FOOD DELIVERY SECTION - PREMIUM STYLE
   ======================================== */

.food-delivery-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.food-delivery-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 161, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.food-delivery-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.delivery-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ---- LEFT SIDE: DELIVERY INFORMATION ---- */

.delivery-left-grid {
    background-color: #ffffff;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.delivery-left-grid:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Section Title */
.delivery-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.delivery-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #c9a14a 0%, #f59e0b 100%);
    border-radius: 2px;
}

/* Restaurant Info Container */
.restaurant-info {
    margin-bottom: 2rem;
}

.restaurant-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.cuisine-type {
    font-size: 1rem;
    color: #8b8b8b;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Delivery Stats Grid */
.delivery-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-item .label {
    font-size: 0.85rem;
    color: #a0a0a0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item .value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Star Rating Styling */
.stat-item .value .star {
    color: #f59e0b;
    font-size: 1.2rem;
}

/* Order Now Button */
.delivery-left-grid .cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.delivery-left-grid .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transition: left 0.4s ease;
    pointer-events: none;
}

.delivery-left-grid .cta-button:hover::before {
    left: 100%;
}

.delivery-left-grid .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

.delivery-left-grid .cta-button:active {
    transform: translateY(0);
}

/* ---- RIGHT SIDE: MAP SECTION ---- */

.delivery-right-grid {
    background-color: #ffffff;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.delivery-right-grid:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(5%);
}

/* Map Fallback */
.map-fallback {
    display: none; /* Shown via JS if map fails */
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #666;
}

.map-fallback p {
    font-size: 1rem;
    margin: 1rem 0;
}

.map-fallback a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.map-fallback a:hover {
    color: #d97706;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    .food-delivery-section {
        padding: 4rem 1.5rem;
    }

    .delivery-grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .delivery-left-grid, .delivery-right-grid {
        padding: 2.5rem;
    }

    .delivery-section-title {
        font-size: 2rem;
    }

    .restaurant-name {
        font-size: 1.4rem;
    }

    .delivery-stats {
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-item .label {
        font-size: 0.8rem;
    }

    .stat-item .value {
        font-size: 1.2rem;
    }

    .map-wrapper {
        min-height: 300px;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .food-delivery-section {
        padding: 3rem 1rem;
    }

    .food-delivery-section::before,
    .food-delivery-section::after {
        display: none;
    }

    .delivery-left-grid, .delivery-right-grid {
        padding: 2rem;
        border-radius: 16px;
    }

    .delivery-section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .delivery-section-title::after {
        width: 50px;
    }

    .restaurant-name {
        font-size: 1.2rem;
    }

    .cuisine-type {
        font-size: 0.95rem;
    }

    .delivery-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .stat-item .value {
        font-size: 1.1rem;
    }

    .delivery-left-grid .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .map-wrapper {
        min-height: 250px;
    }
}