/* ============================================
   DELIVERY ZONE SECTION — delivery-zone.css
   Cleanify Laundry | Satellite, Ahmedabad
   ============================================ */

.delivery-zone-section {
    padding: 6rem 2rem;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

/* Decorative background blobs */
.delivery-zone-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107,70,193,0.06) 0%, transparent 70%);
    top: -200px; right: -150px;
    pointer-events: none;
}
.delivery-zone-section::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147,51,234,0.05) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    pointer-events: none;
}

[data-theme="dark"] .delivery-zone-section {
    background: linear-gradient(135deg, rgba(15,8,32,0.98) 0%, rgba(26,15,46,0.95) 100%);
}

/* ── Inner layout: 2-column ── */
.delivery-zone-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* ============================================
   LEFT COLUMN
   ============================================ */
.dz-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Badge */
.dz-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(107,70,193,0.12), rgba(147,51,234,0.12));
    border: 1.5px solid rgba(107,70,193,0.25);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    width: fit-content;
    letter-spacing: 0.3px;
}
.dz-badge i { font-size: 0.95rem; }

/* Title */
.dz-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}
.dz-title-accent {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.dz-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

/* ── Pincode Checker ── */
.dz-checker {
    background: var(--secondary-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px var(--shadow-color);
}
[data-theme="dark"] .dz-checker {
    background: rgba(167,139,250,0.06);
    border-color: rgba(167,139,250,0.2);
}

.dz-checker-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dz-checker-label i { color: var(--accent-color); font-size: 1rem; }

.dz-checker-row {
    display: flex;
    gap: 0.6rem;
}

.dz-input {
    flex: 1;
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: var(--primary-bg);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.dz-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(107,70,193,0.12);
}
.dz-input::placeholder { color: var(--text-secondary); }
[data-theme="dark"] .dz-input {
    background: rgba(26,15,46,0.8);
    border-color: rgba(167,139,250,0.2);
}

.dz-check-btn {
    padding: 0.8rem 1.4rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(107,70,193,0.35);
}
.dz-check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107,70,193,0.5);
}

.dz-result {
    margin-top: 0.8rem;
    font-size: 0.88rem;
    font-weight: 600;
    min-height: 22px;
    line-height: 1.5;
    transition: all 0.3s ease;
}
.dz-result.success { color: #16a34a; }
.dz-result.error   { color: #dc2626; }

/* ── Stats Row ── */
.dz-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(107,70,193,0.07), rgba(147,51,234,0.05));
    border: 1.5px solid rgba(107,70,193,0.15);
    border-radius: 16px;
}

.dz-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.dz-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.dz-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 3px;
    text-align: center;
}
.dz-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* ============================================
   RIGHT COLUMN
   ============================================ */
.dz-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dz-areas-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dz-areas-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

/* Areas grid */
.dz-areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.dz-area-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--secondary-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    cursor: default;
    transition: all 0.3s ease;
}
[data-theme="dark"] .dz-area-chip {
    background: rgba(167,139,250,0.05);
    border-color: rgba(167,139,250,0.12);
}

.dz-area-chip:hover {
    border-color: var(--accent-color);
    background: rgba(107,70,193,0.06);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107,70,193,0.12);
}

.dz-area-chip i {
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 10px;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(107,70,193,0.3);
}

/* HQ chip — highlighted */
.dz-area-chip.dz-area-hq {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(107,70,193,0.08), rgba(147,51,234,0.06));
    grid-column: 1 / -1;
}
.dz-area-chip.dz-area-hq i {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    box-shadow: 0 4px 14px rgba(91,33,182,0.4);
}
.dz-area-chip.dz-area-hq .dz-area-name {
    font-size: 1rem;
}

.dz-area-chip > div {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.dz-area-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dz-area-pin {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Note */
.dz-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}
.dz-note i { color: var(--accent-color); }
.dz-note a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}
.dz-note a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ============================================
   HERO VIDEO BACKGROUND
   ============================================ */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: blur(0px) saturate(1.3);
}
[data-theme="dark"] .hero-bg-video { opacity: 0.1; }

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-bg-rgb, 255,255,255), 0.82) 0%,
        rgba(var(--primary-bg-rgb, 255,255,255), 0.65) 100%
    );
}
[data-theme="dark"] .hero-video-overlay {
    background: linear-gradient(
        135deg,
        rgba(15,8,32,0.88) 0%,
        rgba(26,15,46,0.82) 100%
    );
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .delivery-zone-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .dz-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .delivery-zone-section { padding: 4rem 1.5rem; }
    .dz-title { font-size: 1.9rem; }
    .dz-stats { gap: 1rem; padding: 1rem; }
    .dz-stat-num { font-size: 1.25rem; }
    .dz-areas-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
}

@media (max-width: 480px) {
    .dz-title { font-size: 1.6rem; }
    .dz-areas-grid { grid-template-columns: 1fr; }
    .dz-area-chip.dz-area-hq { grid-column: 1; }
    .dz-checker-row { flex-direction: column; }
    .dz-check-btn { width: 100%; justify-content: center; }
    .dz-stats { flex-direction: column; gap: 0.75rem; }
    .dz-stat-divider { width: 60px; height: 1px; }
}

/* Chip highlight on pincode match */
.dz-chip-highlight {
    border-color: #16a34a !important;
    background: rgba(22,163,74,0.08) !important;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.15) !important;
    transform: translateY(-3px) !important;
    transition: all 0.4s ease !important;
}
.dz-chip-highlight i {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
}