/* Places Pages - Libraries and Bookstores */
@import url("../components/breadcrumb.css");
@import url("../components/button.css");
@import url("../components/map-modal.css");
@import url("../components/places-grid.css");

/* Standard Header Pattern - matches books-listing and category pages */
.books-listing-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: var(--background-secondary);
    color: var(--text-color);
    border-radius: var(--radius);
    margin: 0 1rem 3rem 1rem;
    border: 1px solid var(--border-light);
}

/* Compact Header Variant - smaller padding and spacing */
.books-listing-header.compact {
    padding: 2rem;
    margin-bottom: 2rem;
}

.books-listing-header.compact h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.books-listing-header.compact .books-description {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.books-listing-header.compact .view-toggle {
    margin-top: 1.5rem;
}

.books-listing-header h1 {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.books-description {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Access Buttons */
.quick-access-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Hero Section */
.places-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 1rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.places-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-icon {
    font-size: 3rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


/* Summary Section */
.places-summary {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.summary-content {
    max-width: 1200px;
    margin: 0 auto;
}

.summary-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.summary-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
}

.summary-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.summary-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.summary-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.summary-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-card li {
    padding: 0.5rem 0;
    color: #495057;
    position: relative;
    padding-left: 1.5rem;
}

.summary-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

@media (max-width: 480px) {
    .places-hero {
        padding: 3rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}
