
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    max-width: 250px;
}

/* Mobile optimization */
@media (max-width: 640px) {
    .logo-img {
        height: 50px;
        max-width: 200px;
    }
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.breadcrumb {
    padding: 1rem 0;
    background: #f1f5f9;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 8px;
    color: #64748b;
}

/* Professional Homepage Styles */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: relative;
    width: 100%;
    z-index: 2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    padding: 3rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    margin-bottom: 3rem;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 1.1rem;
    background: transparent;
    color: #333;
    border-radius: 50px;
}

.hero-search-input::placeholder {
    color: #999;
}

.hero-search-input:focus {
    outline: none;
}

.hero-search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}



/* Cities Section */
.cities-section {
    padding: 5rem 0;
    background: white;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cities-grid .archive-link {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.cities-grid .archive-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.cities-grid .archive-link strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cities-grid .archive-link small {
    font-size: 1rem;
    opacity: 0.8;
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.view-all-container {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}



.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.listing-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.listing-title a {
    color: inherit;
    text-decoration: none;
}

.listing-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
}

.listing-address {
    color: #6b7280;
    margin-bottom: 1rem;
}

.listing-category {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.archive-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.archive-link {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.archive-link:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.listing-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.business-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.business-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    color: #ef4444;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-call {
    background: #3b82f6;
    color: white;
}

.btn-call:hover {
    background: #2563eb;
}

.btn-website {
    background: #10b981;
    color: white;
}

.btn-website:hover {
    background: #059669;
}

.listing-main {
    background: #f9fafb;
    padding: 2rem 0;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-msg {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-style: italic;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.main-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.guide-section {
    padding: 2rem;
}

.guide-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.guide-content {
    line-height: 1.8;
    color: #374151;
    font-size: 1rem;
}

.guide-content h1, .guide-content h2, .guide-content h3 {
    color: #1f2937;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.guide-content h1 {
    font-size: 1.875rem;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 0.5rem;
}

.guide-content h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #6b7280;
    padding-bottom: 0.375rem;
}

.guide-content h3 {
    font-size: 1.25rem;
    color: #059669;
}

.guide-content p {
    margin-bottom: 1.5rem;
}

.guide-content ul, .guide-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.guide-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.guide-content strong, .guide-content b {
    color: #1f2937;
    font-weight: 600;
}

.guide-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.business-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.9rem;
}

.info-item .value {
    color: #1f2937;
    font-size: 0.9rem;
}

.info-item .value a {
    color: #3b82f6;
    text-decoration: none;
}

.info-item .value a:hover {
    text-decoration: underline;
}

.status-open {
    color: #059669 !important;
    font-weight: 600;
}

.status-closed {
    color: #dc2626 !important;
    font-weight: 600;
}

.services-list {
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.9rem;
}

.hours-list {
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.9rem;
}

.hours-content {
    white-space: pre-line;
}

.hours-formatted {
    border-radius: 6px;
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    background: #fafafa;
}

.hours-row:nth-child(even) {
    background: #ffffff;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 600;
    color: #374151;
    min-width: 80px;
}

.hours-row .time {
    color: #059669;
    font-weight: 500;
    text-align: right;
}

.hours-simple {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
    line-height: 1.6;
}

.no-hours {
    color: #9ca3af;
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

.related-listings {
    background: #f8f9fa;
    padding: 2rem 0;
}

footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.search-results {
    margin-top: 2rem;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-header h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.search-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.loading {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    padding: 2rem;
}

.no-results {
    text-align: center;
    color: #6b7280;
    margin: 3rem 0;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.no-results h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-results p {
    font-size: 1.1rem;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.load-more-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    /* Homepage Mobile */
    .hero-title { 
        font-size: 2.5rem; 
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .search-form {
        flex-direction: column;
        padding: 12px;
    }
    
    .hero-search-input {
        margin-bottom: 8px;
        border-radius: 25px;
    }
    
    .hero-search-btn {
        border-radius: 25px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    /* Other Mobile Styles */
    .search-box { margin: 1rem 0; }
    nav { flex-direction: column; gap: 1rem; }
    .grid { grid-template-columns: 1fr; }
    
    .listing-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .listing-hero-info h1 {
        font-size: 2rem;
    }
    
    .listing-hero-image {
        max-width: 100%;
        order: -1;
    }
    
    .listing-info-grid {
        grid-template-columns: 1fr;
    }
    
    .search-header h1 {
        font-size: 1.8rem;
    }
    
    .business-title {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .main-layout {
        padding: 0 1rem;
    }
}
