/**
 * all-locations.css - All Locations Page Specific Styles
 * Holiday Lights Decor - Multi-Franchise Template
 * 
 * Loaded via: $page_css = ['all-locations.css']
 * Dependencies: main.css (global), pages-common.css (shared components)
 * 
 * @version 10.0.0 (INTERSTATE)
 */


/* ==========================================================================
   LOCATIONS HERO
   ========================================================================== */

.locations-hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, #1a3260 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.locations-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 50% 60%, rgba(255,255,255,0.08), transparent),
        radial-gradient(2px 2px at 85% 35%, rgba(255,255,255,0.06), transparent);
    pointer-events: none;
}

.locations-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.locations-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.locations-hero .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features span {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}


/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */

.locations-section {
    padding: 4.5rem 0;
}

.locations-section.gray {
    background: var(--light);
}

.locations-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.locations-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}


/* ==========================================================================
   STATES GRID
   ========================================================================== */

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.state-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.state-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.state-card.current {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb, 200, 16, 46), 0.12);
}

.state-header {
    background: linear-gradient(135deg, var(--dark), #1a3260);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.state-card.current .state-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #a0102e));
}

.state-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.state-header .state-abbr {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.current-badge {
    background: var(--gold);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.state-content {
    padding: 1.5rem;
}

.state-detail {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.state-detail strong {
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}

.state-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 1rem;
}

.state-regions span {
    background: var(--light);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-light);
    border: 1px solid #e5e7eb;
}

.state-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.state-stats span::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: 700;
}

.state-action {
    margin-top: 1rem;
}

.state-action .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.state-action .btn svg {
    width: 16px;
    height: 16px;
}


/* ==========================================================================
   ADVANTAGES GRID
   ========================================================================== */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.advantage-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.advantage-item h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.advantage-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}


/* ==========================================================================
   NETWORK STATS BAR
   ========================================================================== */

.network-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.network-stat {
    text-align: center;
}

.network-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.network-stat .label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}


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

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .locations-hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .states-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .network-stats {
        gap: 1.5rem;
    }
    
    .locations-section {
        padding: 3rem 0;
    }
}