/*
 * Directory CSS for PepGuide.ai
 * Clinic directory and city page styles
 */

/* Clinic Hero Section */
.clinic-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.clinic-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.clinic-hero .hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .clinic-hero {
        padding: 100px 0 60px;
    }
    
    .clinic-hero h1 {
        font-size: 36px;
    }
    
    .clinic-hero .hero-subtitle {
        font-size: 18px;
    }
}

/* Search Section */
.clinic-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    color: #0f172a;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-btn {
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #0284c7;
}

.search-filters {
    display: flex;
    justify-content: center;
}

.filter-select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.filter-select option {
    background: #1e293b;
    color: white;
}

@media (max-width: 480px) {
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 0;
    }
    
    .search-btn {
        border-radius: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
}

/* City Directory */
.city-directory {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 48px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.city-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.city-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.city-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.city-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clinic-count {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.services {
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .city-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Verified Benefits Section */
.verified-benefits {
    padding: 80px 0;
}

.benefits-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 24px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #dbeafe;
    color: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 16px;
}

.benefit-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.benefit-item p {
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefits-content h2 {
        font-size: 28px;
    }
}

/* Clinic CTA Section */
.clinic-cta {
    background: #0f172a;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.feature-item strong {
    color: #0ea5e9;
    font-weight: 600;
    font-size: 14px;
}

.feature-item span {
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
}

/* City Page Specific Styles */
.city-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.city-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.city-hero .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.back-link:hover {
    color: white;
}

.back-link::before {
    content: "←";
    margin-right: 8px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .city-hero {
        padding: 100px 0 60px;
    }
    
    .city-hero h1 {
        font-size: 32px;
    }
}

/* Clinic Listings */
.clinic-listings {
    padding: 80px 0;
}

.listings-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.listings-main h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.featured-section {
    margin-bottom: 48px;
}

.featured-placeholder {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.featured-placeholder h3 {
    color: #64748b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.featured-placeholder p {
    color: #94a3b8;
    margin-bottom: 16px;
}

.all-clinics-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.clinic-placeholder {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.clinic-placeholder h3 {
    color: #64748b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.clinic-placeholder p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Claim Listing Button */
.claim-listing-btn {
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.claim-listing-btn:hover {
    background: #0284c7;
}

/* Sidebar */
.listings-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: #dbeafe;
    color: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.badge-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}

/* PepGuide Verified Badge */
.pepguide-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dbeafe;
    color: #0ea5e9;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pepguide-verified::before {
    content: "✓";
    font-weight: 700;
}

/* Related Links */
.related-links {
    margin-bottom: 16px;
}

.related-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-links li {
    margin-bottom: 8px;
}

.related-links a {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.related-links a:hover {
    color: #0284c7;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .listings-sidebar {
        position: static;
    }
}

/* Disclaimer Section */
.disclaimer-section {
    background: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Section Gray Background */
.section-gray {
    background: #f8fafc;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styles */
.btn-primary {
    background: #0ea5e9;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #0284c7;
}

.btn-secondary {
    background: transparent;
    color: #0ea5e9;
    border: 2px solid #0ea5e9;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #0ea5e9;
    color: white;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}