/**
 * Location Engine Styles
 * Styles for State, City, and Location pages
 */

/* ===============================================
   Container & Layout
   =============================================== */
.le-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-engine-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===============================================
   Hero Section (Mockup Style)
   =============================================== */
.le-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 60px 20px;
}

.le-hero.without-background{
    min-height: 200px;
}

.le-hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.le-hero-media {
    margin-bottom: 30px;
}

.le-play-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

.le-play-button:hover {
    transform: scale(1.1);
}

.with-background .le-hero-title {
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* ===============================================
   Content Blocks (Overview & Services)
   =============================================== */
.le-content-block {
    /* max-width: 900px; */
    margin: 0 auto;
}

.le-content-block h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

.le-content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 15px 0;
}

/* ===============================================
   Card Grid (3 Columns - Mockup Style)
   =============================================== */
.le-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.le-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px 15px;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.le-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

span.location-count {
    font-size: initial;
    font-family: Helvetica Neue, Arial, Noto Sans, sans-serif;
}

.le-card-description {
    color: #666;
}

/* ===============================================
   No Results Message
   =============================================== */
.le-no-results {
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 40px 20px;
}

/* ===============================================
   Responsive Design
   =============================================== */
@media (max-width: 992px) {
    .le-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .le-hero-title {
        font-size: 36px;
    }
    
    .le-content-block h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .le-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .le-hero {
        min-height: 250px;
        padding: 40px 20px;
    }
    
    .le-hero-title {
        font-size: 28px;
    }
    
    .le-section {
        padding: 40px 0;
    }
    
    .le-content-block h2 {
        font-size: 24px;
    }
    
    .le-card {
        padding: 20px;
    }
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: #6c757d;
}



/* ===============================================
   Sections
   =============================================== */
.le-section {
    padding: 40px 0;
}
.le-section.le-services{
    padding-bottom: 0;
}
.le-section h2 {
    font-size: 2rem;
    margin: 0 0 30px 0;
    color: #2c3e50;
}

.le-content-block h2 {
    margin-top: 0;
}

.le-content-block h3 {
    color: #2c3e50;
    margin-top: 25px;
}



/* ===============================================
   Location Detail Page
   =============================================== */
.le-location-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 30px;
}

.le-info-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.le-info-card h2 {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.le-info-item {
    margin-bottom: 20px;
}

.le-info-item:last-child {
    margin-bottom: 0;
}

.le-info-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.le-info-item p {
    margin: 0;
    color: #555;
}

.le-phone-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.le-phone-link:hover {
    text-decoration: underline;
}

/* Hours Table */
.le-hours-table {
    width: 100%;
    border-collapse: collapse;
}

.le-hours-table tr {
    border-bottom: 1px solid #eee;
}

.le-hours-table td {
    padding: 12px 5px;
}

.le-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.le-day-hours {
    text-align: right;
    color: #28a745;
    font-weight: 500;
}

.le-day-hours.closed {
    color: #dc3545;
}

/* Map Card */
.le-map-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

/* CTA Buttons */
.le-location-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

/* Services Grid */
.le-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.le-service-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.le-service-item h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.le-service-item p {
    margin: 0;
    color: #555;
}

/* ===============================================
   Buttons
   =============================================== */
.le-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.le-btn-primary {
    background: #667eea;
    color: #fff;
}

.le-btn-primary:hover {
    background: #5568d3;
    color: #fff;
    text-decoration: none;
}

.le-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.le-btn-secondary:hover {
    background: #5a6268;
    color: #fff;
    text-decoration: none;
}

.le-btn-accent {
    background: #28a745;
    color: #fff;
}

.le-btn-accent:hover {
    background: #218838;
    color: #fff;
    text-decoration: none;
}

.le-btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.le-btn svg {
    width: 20px;
    height: 20px;
}

/* ===============================================
   Map Info Window
   =============================================== */
.le-map-info {
    padding: 10px;
    max-width: 250px;
}

.le-map-info h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #2c3e50;
}

.le-map-info p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #555;
}

.le-map-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.le-map-info a:hover {
    text-decoration: underline;
}

/* ===============================================
   Responsive Design
   =============================================== */
@media (max-width: 768px) {
    .le-hero-title,
    .le-hero-simple h1 {
        font-size: 1.8rem;
    }
    
    .le-hero-subtitle,
    .le-hero-simple p {
        font-size: 1rem;
    }
    
    .le-section h2 {
        font-size: 1.5rem;
    }
    
    .le-location-grid {
        grid-template-columns: 1fr;
    }
    
    .le-map-card {
        position: static;
    }
    
    .le-location-actions {
        flex-direction: column;
    }
    
    .le-btn {
        width: 100%;
    }
    
    .le-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .le-container {
        padding: 0 15px;
    }
    
    .le-hero {
        min-height: 250px;
    }
    
    .le-hero-title,
    .le-hero-simple h1 {
        font-size: 1.5rem;
    }
    
    .le-content-block,
    .le-info-card {
        padding: 20px;
    }
    
    .breadcrumb-list {
        font-size: 0.9rem;
    }
}

/* ===============================================
   Map Section
   =============================================== */
.le-map-section {
    text-align: center;
    padding: 40px 0;
}

/* ===============================================
   Print Styles
   =============================================== */
@media print {
    .le-breadcrumbs,
    .le-location-cta,
    .le-location-actions,
    .le-btn {
        display: none;
    }
    
    .le-hero,
    .le-hero-simple,
    .le-location-hero {
        background: none;
    }
    
    .le-hero-title,
    .le-hero-subtitle,
    .le-location-hero h1,
    .le-location-subtitle {
        text-shadow: none;
    }
}
