/* ===================================
   LOCATIONS PAGE STYLES
   Depends on master.css variables
   No image dependencies
   =================================== */

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-steel) 100%);
    padding: 100px 0 60px;
    position: relative;
}

.header-content {
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: 1rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    list-style: none;
}

.breadcrumb-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--accent-gold);
}

.breadcrumb-item.active {
    color: var(--accent-gold);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: rgba(255, 255, 255, 0.6);
    padding: 0 0.5rem;
    font-size: 1.1rem;
}

/* ===================================
   INTRO SECTION
   =================================== */
.locations-intro {
    background: var(--bg-white);
}

.section-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.lead-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(200, 162, 77, 0.1);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.trust-badge i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* ===================================
   STATS SHOWCASE
   =================================== */
.stats-showcase {
    background: var(--bg-soft);
    padding: 40px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-block {
    text-align: center;
    min-width: 140px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   PRIMARY LOCATION CARDS
   =================================== */
.primary-locations {
    background: var(--bg-white);
}

.location-card {
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 28px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-steel);
}

.location-card.featured {
    border-top: 4px solid var(--accent-gold);
}

.location-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-gold);
    color: var(--text-inverse);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-steel));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.location-icon i {
    font-size: 1.5rem;
    color: var(--text-inverse);
}

.location-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.location-address {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.location-address i {
    color: var(--accent-gold);
    width: 18px;
    margin-right: 6px;
}

.location-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.location-highlights span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-highlights i {
    color: #4ade80;
    font-size: 0.7rem;
}

.location-areas {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--bg-soft);
    border-radius: 8px;
}

.location-areas strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
}

.location-areas a {
    color: var(--secondary-steel);
    text-decoration: none;
}

.location-areas a:hover {
    color: var(--accent-gold);
}

.location-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary-navy);
    background: var(--primary-navy);
    color: var(--text-inverse);
}

/* ===================================
   ALL LOCATIONS SECTION
   =================================== */
.all-locations {
    background: var(--bg-soft);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.city-region {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.city-region:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.region-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-gold);
}

.region-header i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.region-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.city-list li {
    margin: 0;
}

.city-list a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 4px 0;
}

.city-list a:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
}

/* ===================================
   HYPERLOCAL SECTION (Bangalore Areas)
   =================================== */
.hyperlocal-section {
    background: var(--bg-white);
}

.area-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-steel);
}

.area-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.area-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.area-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.area-card a {
    font-size: 0.85rem;
    color: var(--secondary-steel);
    text-decoration: none;
    font-weight: 500;
}

.area-card a:hover {
    color: var(--accent-gold);
}

.more-areas {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-soft);
    padding: 15px 20px;
    border-radius: 10px;
    display: inline-block;
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */
.why-choose-us {
    background: var(--bg-soft);
}

.feature-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-steel));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--text-inverse);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   COVERAGE BANNER
   =================================== */
.coverage-section {
    background: var(--bg-white);
}

.coverage-banner {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-steel));
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
}

.coverage-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: 15px;
}

.coverage-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.route-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.route-list span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-inverse);
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.final-cta-section {
    background: var(--bg-dark);
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.cta-phone {
    margin-bottom: 1.5rem;
}

.cta-phone i {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-right: 10px;
}

.cta-phone a {
    color: var(--text-inverse);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.cta-phone a:hover {
    color: var(--accent-gold);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 991px) {
    .page-header {
        padding: 80px 0 50px;
    }

    .stats-grid {
        gap: 25px;
    }

    .stat-block {
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .page-title {
        font-size: 1.75rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .lead-paragraph {
        font-size: 1rem;
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stat-block {
        width: 100%;
        max-width: 200px;
    }

    .location-card {
        padding: 20px;
    }

    .location-title {
        font-size: 1.25rem;
    }

    .city-grid {
        grid-template-columns: 1fr;
    }

    .coverage-banner {
        padding: 35px 25px;
    }

    .coverage-content h2 {
        font-size: 1.5rem;
    }

    .route-list span {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .cta-phone a {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 575px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .breadcrumb {
        padding: 8px 16px;
    }

    .breadcrumb-item {
        font-size: 0.85rem;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
        padding: 12px 20px;
    }

    .location-highlights {
        flex-direction: column;
        gap: 8px;
    }

    .location-actions {
        flex-direction: column;
    }

    .location-actions .btn {
        width: 100%;
        text-align: center;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
    }

    .feature-icon i {
        font-size: 1.25rem;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.pb-0 {
    padding-bottom: 0 !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.bg-dark {
    background: var(--bg-dark);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-card,
.feature-card,
.area-card,
.city-region {
    animation: fadeInUp 0.5s ease forwards;
}

/* Staggered animation delays */
.location-card:nth-child(1) { animation-delay: 0.05s; }
.location-card:nth-child(2) { animation-delay: 0.1s; }
.location-card:nth-child(3) { animation-delay: 0.15s; }
.location-card:nth-child(4) { animation-delay: 0.2s; }
.location-card:nth-child(5) { animation-delay: 0.25s; }
.location-card:nth-child(6) { animation-delay: 0.3s; }

/* ===================================
   ACCESSIBILITY
   =================================== */
.btn:focus-visible,
.location-areas a:focus-visible,
.city-list a:focus-visible {
    outline: 2px solid var(--primary-navy);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .location-card,
    .feature-card,
    .area-card,
    .city-region {
        animation: none;
    }
    
    .location-card:hover,
    .feature-card:hover {
        transform: none;
    }
}