/* =============================================
   locations.css — Bhai Pizza Hut Locations Page
   Mobile-first: 0-575px -> 576 -> 768 -> 992 -> 1200
   ============================================= */

/* ===== HERO (40vh) ===== */
.locations-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E1A0F 0%, #4A2815 50%, #2E1A0F 100%);
    overflow: hidden;
    padding: 120px 0 60px;
    margin-top: 0;
}

.locations-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(204, 0, 0, 0.15) 0%, transparent 60%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.locations-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb__list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb__item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb__item a:hover {
    color: var(--accent);
}

.breadcrumb__item + .breadcrumb__item::before {
    content: '/';
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__item--active {
    color: var(--accent);
}

.locations-hero__title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.locations-hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-family: var(--font-body);
}

/* ===== ACTIVE NAV LINK ===== */
.nav-link--active {
    color: var(--primary) !important;
}

.nav-link--active::after {
    width: 100% !important;
}

/* ===== BRANCH CARD MAP EMBED ===== */
.branch-card__map {
    width: 100%;
    margin-top: 16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.branch-card__map iframe {
    display: block;
}

.branch-card__map-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

@media (min-width: 576px) {
    .branch-card__map-placeholder {
        height: 250px;
    }
}

/* ===== BRANCH CARDS GRID ===== */
.branches-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.branch-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 16px 16px 0 0;
}

.branch-card--hq::before {
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

.branch-card__badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--accent);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 35px;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

.branch-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(204, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.branch-card--hq .branch-card__icon {
    background: rgba(255, 213, 0, 0.15);
    color: var(--accent);
}

.branch-card__body {
    margin-bottom: 20px;
    width: 100%;
}

.branch-card__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.branch-card__address {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.branch-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.branch-card__action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
    min-height: 44px;
}

.branch-card__action i {
    font-size: 1rem;
}

.branch-card__action:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.branch-card__action--wa {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #1a8a4a;
}

.branch-card__action--wa:hover {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.branch-card__action--map {
    background: rgba(66, 133, 244, 0.08);
    border-color: rgba(66, 133, 244, 0.25);
    color: #1a5bb5;
}

.branch-card__action--map:hover {
    background: #4285F4;
    color: var(--white);
    border-color: #4285F4;
}

/* ===== ORDER NUMBERS SECTION ===== */
.order-numbers-section {
    background: var(--white);
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 60px 0;
}

.phone-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 750px;
    margin: 0 auto;
}

.phone-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 24px 28px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.phone-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.phone-card--primary {
    border-left: 5px solid #25D366;
}

.phone-card--primary:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.03);
}

.phone-card--secondary {
    border-left: 5px solid var(--primary);
}

.phone-card--secondary:hover {
    border-color: var(--primary);
    background: rgba(204, 0, 0, 0.03);
}

.phone-card--tertiary {
    border-left: 5px solid var(--accent);
}

.phone-card--tertiary:hover {
    border-color: var(--accent);
    background: rgba(255, 213, 0, 0.03);
}

.phone-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.phone-card--primary .phone-card__icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.phone-card--secondary .phone-card__icon {
    background: rgba(204, 0, 0, 0.1);
    color: var(--primary);
}

.phone-card--tertiary .phone-card__icon {
    background: rgba(255, 213, 0, 0.15);
    color: #c4a000;
}

.phone-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-card__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.phone-card__number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.phone-card--primary .phone-card__number {
    color: #1a8a4a;
}

.order-numbers-cta {
    margin-top: 40px;
}

/* ===== DELIVERY INFO BOX ===== */
.delivery-info-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.delivery-info-box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.delivery-info-box__header {
    background: var(--text-dark);
    color: var(--white);
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.delivery-info-box__header i {
    font-size: 2.5rem;
    color: var(--accent);
}

.delivery-info-box__header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.delivery-info-box__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
}

.delivery-info-item {
    background: var(--white);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.delivery-info-item:hover {
    background: var(--bg-light);
}

.delivery-info-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 auto 14px;
}

.delivery-info-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.delivery-info-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
    margin: 0 auto;
}

.delivery-info-item strong {
    color: var(--text-dark);
}

/* ===== RESPONSIVE: 576px (large mobile / small tablet) ===== */
@media (min-width: 576px) {
    .locations-hero__title {
        font-size: 3.5rem;
    }

    .locations-hero__subtitle {
        font-size: 1.4rem;
    }

    .branch-card {
        padding: 35px 30px;
    }

    .phone-card {
        padding: 28px 32px;
    }

    .delivery-info-box__header {
        padding: 35px 32px;
    }

    .delivery-info-box__header h2 {
        font-size: 2rem;
    }
}

/* ===== RESPONSIVE: 768px (tablet) ===== */
@media (min-width: 768px) {
    .locations-hero {
        min-height: 40vh;
        padding: 130px 0 70px;
    }

    .locations-hero__title {
        font-size: 4rem;
    }

    .locations-hero__subtitle {
        font-size: 1.5rem;
    }

    .branches-section {
        padding: 80px 0;
    }

    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .branch-card {
        text-align: left;
        align-items: flex-start;
    }

    .branch-card__actions {
        justify-content: flex-start;
    }

    .phone-cards-grid {
        gap: 24px;
    }

    .phone-card__number {
        font-size: 1.8rem;
    }

    .delivery-info-box__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-info-box__header i {
        font-size: 3rem;
    }

    .delivery-info-box__header h2 {
        font-size: 2.2rem;
    }
}

/* ===== RESPONSIVE: 992px (small desktop) ===== */
@media (min-width: 992px) {
    .locations-hero {
        min-height: 40vh;
        padding: 140px 0 80px;
    }

    .locations-hero__title {
        font-size: 4.5rem;
    }

    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .order-numbers-section {
        padding: 80px 0;
    }

    .phone-cards-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .delivery-info-section {
        padding: 80px 0;
    }

    .delivery-info-box__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== RESPONSIVE: 1200px (large desktop) ===== */
@media (min-width: 1200px) {
    .locations-hero__title {
        font-size: 5rem;
    }

    .branches-section {
        padding: 100px 0;
    }

    .branch-grid {
        gap: 32px;
        max-width: 1100px;
    }

    .branch-card {
        padding: 40px 32px;
    }
}

/* ===== ANIMATION ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-card {
    animation: fadeInUp 0.6s ease forwards;
}

.branch-card:nth-child(2) { animation-delay: 0.1s; }
.branch-card:nth-child(3) { animation-delay: 0.2s; }
.branch-card:nth-child(4) { animation-delay: 0.3s; }
.branch-card:nth-child(5) { animation-delay: 0.4s; }
.branch-card:nth-child(6) { animation-delay: 0.5s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .branch-card {
        animation: none;
    }
}
