* {
    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;
}

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

/* Header */
.navbar {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-header, .location-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.search-header h1, .location-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.search-form {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-input, .search-select {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.search-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.search-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Business Cards */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.business-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.business-card h3 a, .business-item h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
}

.business-card h3 a:hover {
    color: #e74c3c;
}

.business-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-size: 2rem;
    color: #ccc;
}

.item-content {
    flex: 1;
}

.view-details {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.view-details:hover {
    background: #c0392b;
}

.rating {
    color: #f39c12;
    font-weight: 500;
}

.address, .location, .phone, .website, .services {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

/* Business Detail Page */
.business-detail {
    padding: 2rem 0;
}

.business-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.services-section, .amenities-section, .payment-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-section h3, .amenities-section h3, .payment-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
}

.page-btn {
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.page-btn:hover {
    background: #2980b9;
}

.page-info {
    font-weight: 500;
    color: #666;
}

/* Business Detail Page Redesign */
.business-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.business-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.business-gallery .main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.business-info-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #f39c12;
    font-size: 1.2rem;
}

.rating-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    color: #2980b9;
}

.hours-info {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.hours-info h3 {
    margin: 0 0 0.5rem 0;
    color: #27ae60;
}

.business-content {
    padding: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.info-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.info-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-section, .highlights-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.map-section h3, .highlights-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.nearby-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.nearby-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.nearby-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.nearby-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.nearby-image {
    height: 150px;
    overflow: hidden;
}

.nearby-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nearby-content {
    padding: 1.5rem;
}

.nearby-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1rem;
}

.nearby-content h3 a:hover {
    color: #3498db;
}

.nearby-content .rating {
    color: #f39c12;
    margin: 0.5rem 0;
}

.nearby-content .address {
    color: #666;
    font-size: 0.9rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #2980b9;
}

.breadcrumbs span {
    color: #666;
}

/* FAQ Section */
.main-content .faq-section {
    background: white !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    margin-bottom: 2rem !important;
}

.main-content .faq-section h2 {
    color: #2c3e50 !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.8rem !important;
    border-bottom: 2px solid #3498db !important;
    padding-bottom: 0.5rem !important;
}

.faq-list .faq-item {
    border-bottom: 1px solid #e9ecef !important;
    padding: 1.5rem 0 !important;
}

.faq-list .faq-item:last-child {
    border-bottom: none !important;
}

.faq-item .faq-question {
    color: #2c3e50 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 600 !important;
}

.faq-item .faq-answer {
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Category Tags */
.categories {
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Single Page Business Layout */
.sticky-nav {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 2px solid #e9ecef;
    z-index: 100;
    padding: 1rem 0;
}

.sticky-nav .container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.sticky-nav a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.sticky-nav a:hover {
    color: #3498db;
    background: #f8f9fa;
}

.business-hero {
    padding: 3rem 0;
    background: #f8f9fa;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.image-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.image-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #3498db;
}

.hero-right h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.2rem;
    color: #ddd;
}

.star.filled {
    color: #f39c12;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-secondary:hover {
    background: #2980b9;
}

.btn-outline {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-outline:hover {
    background: #2c3e50;
    color: white;
}

/* Sections */
.about-section,
.services-section,
.amenities-section,
.faq-section,
.location-section {
    padding: 3rem 0;
}

.about-section {
    background: white;
}

.services-section {
    background: #f8f9fa;
}

.amenities-section {
    background: white;
}

.faq-section {
    background: #f8f9fa;
}

.location-section {
    background: white;
}

.section-content {
    margin-bottom: 2rem;
}

.section-content h2,
.services-section h2,
.amenities-section h2,
.faq-section h2,
.location-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.highlights-card {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #27ae60;
    margin: 2rem 0;
}

.services-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.demographics-card {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.amenity-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.amenity-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3498db;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    background: #f8f9fa;
}

.faq-answer.show {
    display: block;
}

/* Location */
.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

#map {
    height: 400px;
    border-radius: 12px;
}

.location-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.location-details h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sticky-nav .container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-right h1 {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .business-header {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .business-info-header h1 {
        font-size: 2rem;
    }
    
    .additional-info {
        grid-template-columns: 1fr;
    }
}

/* Sections */
.featured, .locations, .results, .location-businesses {
    padding: 3rem 0;
}

.state-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.state-link {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #2c3e50;
    text-align: center;
    transition: background 0.3s;
}

.state-link:hover {
    background: #e9ecef;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .search-form {
        flex-direction: column;
        align-items: center;
    }
    
    .search-input, .search-select {
        width: 100%;
        max-width: 300px;
    }
}