/* Main Combined Styles - Header, Footer, and Category Pages */

/* CSS Variables (shared across all components) */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --accent-color: #8b5cf6;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --background-color: #0f172a;
    --surface-color: rgba(30, 41, 59, 0.8);
    --border-color: rgba(148, 163, 184, 0.2);
    --glass-bg: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(148, 163, 184, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* ===== GLOBAL STYLES ===== */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles - Essential for Dark Theme */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
}

/* Animated Background - Alternative to animated-background */
.animated-bg {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    z-index: -1;
    background: linear-gradient(45deg, #0f172a, #1e293b, #334155);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Floating Shapes - Additional background elements */
.floating-shapes {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    width: 200px; 
    height: 200px; 
    top: 10%; 
    left: 10%; 
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px; 
    height: 150px; 
    top: 60%; 
    right: 10%; 
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 100px; 
    height: 100px; 
    top: 30%; 
    right: 30%; 
    animation-delay: -10s;
}

/* Basic Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

code {
    background: var(--surface-color);
    color: var(--accent-color);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* Basic Link Styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-color);
}

/* Focus Indicators - Global Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Remove default focus outline and add custom one */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Ensure focus is visible even with custom outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Accessibility - Visually Hidden Class */

/* Reduced Motion Support */
/* Accessibility - Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable all animations */
    .animated-background,
    .gradient-orb,
    .floating-particles,
    .shape,
    .animated-bg,
    .floating-shapes {
        animation: none !important;
    }
    
    /* Disable button glow animations */
    .button-glow,
    .floating-shapes {
        animation: none !important;
        transition: none !important;
    }
    
    /* Disable navigation animations */
    .nav-link::after {
        transition: none !important;
    }
    
    /* Disable CTA button animations */
    .cta-button .button-glow {
        transition: none !important;
    }
    
    /* Disable form animations */
    .search-form-appear {
        animation: none !important;
    }
    
    /* Disable modal animations */
    .modal-slide-in {
        animation: none !important;
    }
    
    /* Disable heart beat animations */
    .heart-beat {
        animation: none !important;
    }
    
    /* Disable hover transforms */
    .business-card:hover,
    .category-card:hover,
    .featured-card:hover,
    .contact-card:hover,
    .action-item:hover {
        transform: none !important;
    }
    
    /* Disable gradient shifts */
    .gradient-orb {
        animation: none !important;
    }
    
    /* Disable floating animations */
    .floating-particles {
        animation: none !important;
    }
    
    /* Disable search form animations */
    .main-search-form {
        animation: none !important;
    }
    
    /* Disable sticky search animations */
    .sticky-search-wrapper {
        transition: none !important;
    }
    
    /* Disable FAQ animations */
    .faq-answer {
        transition: none !important;
    }
    
    /* Disable contact form animations */
    .contact-form {
        animation: none !important;
    }
    
    /* Disable category card animations */
    .category-card::before {
        transition: none !important;
    }
    
    /* Disable sponsor banner animations */
    .sponsor-banner::before {
        transition: none !important;
    }
    
    /* Disable social link animations */
    .social-link .social-arrow {
        transition: none !important;
    }
    
    /* Disable action button animations */
    .action-button .button-glow {
        transition: none !important;
    }
}

/* High Contrast Mode Support */
/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #ffffff;
        --text-muted: #ffffff;
        --glass-border: #ffffff;
    }
    
    .card, .business-card, .category-card, .featured-card {
        border: 2px solid var(--border-color);
    }
    
    .nav-link::after {
        background-color: #ffffff;
    }
    
    .button, .cta-button, .submit-button {
        border: 2px solid #ffffff;
    }
    
    .modal-content {
        border: 2px solid #ffffff;
    }
    
    .form-input:focus,
    .form-textarea:focus,
    .main-search-input:focus {
        border: 2px solid #ffffff;
        outline: 2px solid #ffffff;
    }
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip Navigation Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    z-index: 1000;
    transition: top 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.skip-link:hover {
    background: #000000;
}

/* Basic List Styles */
ul, ol {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Shared Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Shared Button Glow Effect */
.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.button-glow:hover {
    left: 100%;
}

/* ===== HEADER STYLES ===== */

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: -10s;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

/* Base Header Styles */
.desktop-header,
.tablet-header,
.mobile-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Desktop Header (1025px+) */
.desktop-header {
    display: none;
}

.desktop-header .logo-section {
    display: flex;
    align-items: center;
}

.desktop-header .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    gap: 1rem;
}

.desktop-header .logo-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.desktop-header .logo-text {
    display: flex;
    flex-direction: column;
}

.desktop-header .site-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-primary);
}

.desktop-header .site-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

.desktop-header .main-nav {
    display: flex;
    align-items: center;
}

.desktop-header .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.desktop-header .nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-header .nav-link:hover {
    color: var(--text-color);
    transform: translateY(-2px);
}

.desktop-header .nav-link:focus {
    color: var(--text-color);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.desktop-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.desktop-header .nav-link:hover::after {
    width: 100%;
}

.desktop-header .header-actions {
    display: flex;
    align-items: center;
}

.desktop-header .cta-button {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow-primary);
}

.desktop-header .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), 0 10px 25px rgba(102, 126, 234, 0.3);
}

.desktop-header .cta-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: var(--glow-primary), 0 0 0 4px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.desktop-header .cta-button:hover .button-glow {
    left: 100%;
}

/* Tablet Portrait Header (768px-1024px) */
.tablet-header {
    display: none;
}

.tablet-header .logo-section {
    display: flex;
    align-items: center;
}

.tablet-header .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.tablet-header .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tablet-header .main-nav {
    display: flex;
    align-items: center;
}

.tablet-header .nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.tablet-header .nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.tablet-header .nav-link:hover {
    color: var(--text-color);
    transform: translateY(-2px);
}

.tablet-header .nav-link:focus {
    color: var(--text-color);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.tablet-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.tablet-header .nav-link:hover::after {
    width: 100%;
}

/* Mobile Header (767px and below) */
.mobile-header {
    display: none;
}

.mobile-header .header-content {
    padding: 1rem 2rem;
}

.mobile-header .site-title-link {
    text-decoration: none;
    color: var(--text-color);
}

.mobile-header .site-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

/* ===== CATEGORY PAGE STYLES ===== */

/* Page Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Category Content */
.category-content {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Sponsor Section */
.sponsor-section {
    padding: 1rem 0;
    margin: 1rem 0;
    width: 100%;
    display: block;
}

.sponsor-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    display: block;
    width: 100%;
}

.sponsor-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #6366f1, #06b6d4);
    border-radius: 16px 16px 0 0;
}

.sponsor-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.sponsor-banner .sponsor-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    z-index: 2;
}

.sponsor-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.sponsor-banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.sponsor-banner-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.sponsor-banner-message {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Search Page */
.search-page {
    padding: 0 1rem;
}

.search-results {
    max-width: 100%;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Business Cards */
.business-card {
    background: var(--surface-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
    position: relative;
    border: 1px solid var(--border-color);
}

.business-card:hover {
    transform: translateY(-4px);
}

.business-card.featured {
    border: 2px solid var(--accent-color);
}

.business-card h3 {
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.business-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.business-card h3 a:hover {
    color: var(--primary-color);
}

.business-card h3 a:focus {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.business-card.featured h3 {
    padding-top: 1rem;
}

/* Business Meta */
.business-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.business-meta .location {
    font-size: 0.75rem;
    margin-top: -0.25rem;
    margin-bottom: 0.75rem;
}

/* Business Category */
.business-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-weight: 500;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--primary-color);
}

.category-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    color: var(--primary-color);
}

.category-link .category-icon {
    color: inherit;
}

.category-link .category-name {
    color: inherit;
    font-weight: 500;
}

/* Description */
.description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* ===== FOOTER STYLES ===== */

/* Footer CTA Section */
.footer-cta-container {
    margin-bottom: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.footer-cta {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.footer-cta .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-cta .cta-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.footer-cta .cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-cta .cta-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.footer-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-cta .cta-button {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow-primary);
}

.footer-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), 0 10px 25px rgba(102, 126, 234, 0.3);
}

.footer-cta .cta-button:hover .button-glow {
    left: 100%;
}

/* Main Footer */
.main-footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0 2rem 0;
}

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-color);
}

.footer-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-section .contact-icon {
    color: var(--accent-color);
    font-size: 1rem;
}

.footer-section .contact-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .contact-link:hover {
    color: var(--text-color);
}

.footer-section .business-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-disclaimer {
    margin-bottom: 1rem;
}

.disclaimer-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Header Responsive */
@media (min-width: 1035px) {
    .desktop-header {
        display: block;
    }
    
    .tablet-header {
        display: none;
    }
    
    .mobile-header {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1034px) {
    .desktop-header {
        display: none;
    }
    
    .tablet-header {
        display: block;
    }
    
    .mobile-header {
        display: none;
    }
}

@media (max-width: 767px) {
    .desktop-header {
        display: none;
    }
    
    .tablet-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
}

/* Category Page Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sponsor-banner {
        padding: 0.75rem;
        margin: 0.5rem auto;
        max-width: 500px;
    }
    
    .sponsor-banner-title {
        font-size: 1.1rem;
        padding-right: 3rem;
    }
    
    .sponsor-banner-meta {
        font-size: 0.8rem;
    }
    
    .sponsor-banner-message {
        font-size: 0.85rem;
    }
    
    .sponsor-banner .sponsor-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .business-meta {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .business-meta .location {
        text-align: left !important;
        margin-left: 0 !important;
    }
    
    .footer-cta {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .footer-cta .cta-title {
        font-size: 1.25rem;
    }
    
    .footer-cta .cta-description {
        font-size: 0.9rem;
    }
    
    .footer-cta .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-cta .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 1rem;
    }
    
    .sponsor-banner {
        padding: 0.75rem;
        max-width: 400px;
    }
    
    .sponsor-banner-title {
        font-size: 1rem;
        padding-right: 2.5rem;
    }
    
    .sponsor-banner .sponsor-badge {
        top: 0.4rem;
        right: 0.4rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
    }
    
    .business-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-cta {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .footer-cta .cta-icon {
        font-size: 2rem;
    }
    
    .footer-cta .cta-title {
        font-size: 1.125rem;
    }
}

/* ===== BUSINESS PAGE STYLES ===== */

/* Business Hero Section */
.business-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--background-color);
    margin-bottom: 1.5rem;
    border-radius: 1rem;
}

.business-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.business-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--text-color);
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
}

/* Business Header */
.business-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
}

.business-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.business-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    line-height: 1.1;
}

/* Business Badges */
.business-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    align-items: center;
}

.business-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
}

.business-hero .business-badges .business-badge.featured,
.business-hero .business-badges .featured-badge {
    background: var(--glass-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--glass-border) !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    box-shadow: var(--glass-shadow) !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    backdrop-filter: blur(10px) !important;
}

.business-badge.sponsor {
    background: var(--glass-bg);
    color: var(--text-color);
    border-color: var(--glass-border);
    position: static;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
}

.business-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.business-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Business Stats */
.business-stats-simple {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
    align-items: center;
}

.stat-simple {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-simple .stat-number {
    font-weight: 600;
    color: var(--text-color);
}

.stat-simple .stat-label {
    color: var(--text-muted);
}

.like-stat-simple {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.like-stat-simple:hover {
    color: var(--primary-color);
}

.like-stat-simple:focus {
    color: var(--primary-color);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    border-radius: 0.25rem;
    padding: 0.25rem;
    margin: -0.25rem;
}

.like-stat-simple.liked {
    color: #ef4444;
}

.like-stat-simple.liked .stat-number {
    color: #ef4444;
}

.heart-icon {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.like-stat-simple:hover .heart-icon {
    transform: scale(1.1);
}

.like-stat-simple.liked .heart-icon {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Business Content Grid */
.business-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Business Cards */
.business-main-card,
.business-social-card,
.business-actions-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.business-description {
    padding: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Business Contact Grid */
.business-contact-grid {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.contact-value {
    font-size: 0.875rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--primary-dark);
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.contact-action:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.contact-action:focus {
    background: var(--primary-dark);
    transform: translateY(-1px);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.contact-button i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.contact-button:hover i {
    transform: scale(1.1);
}

/* Business Hours */
.business-hours {
    padding: 1rem;
}

.hours-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.hours-day:last-child {
    border-bottom: none;
}

.hours-day.closed {
    opacity: 0.6;
}

.day-name {
    font-weight: 500;
    color: var(--text-color);
}

.day-hours {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Business Actions */
.actions-grid {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
}

.action-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.125rem;
    font-size: 0.875rem;
}

.action-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.action-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.action-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.action-button.secondary {
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}

.action-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--surface-color);
    margin: 15% auto;
    padding: 0;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.close {
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close:hover {
    color: var(--text-color);
}

.close:focus {
    color: var(--text-color);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    border-radius: 0.25rem;
    padding: 0.25rem;
    margin: -0.25rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin: 0 0 1.5rem 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-button.primary {
    background: var(--primary-color);
    color: white;
}

.modal-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.modal-button.primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.modal-button.secondary {
    background: var(--card-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.modal-button.secondary:hover {
    background: var(--surface-color);
    transform: translateY(-1px);
}

.modal-button.secondary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    background: var(--surface-color);
    transform: translateY(-1px);
}

/* Business Page Responsive Design */
@media (max-width: 768px) {
    .business-hero {
        min-height: 30vh;
    }
    
    .business-title {
        font-size: 2rem;
    }
    
    .business-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .business-stats-simple {
        justify-content: flex-start;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .business-hero-content {
        padding: 0 1rem;
    }
    
    .business-content-grid {
        padding: 0 0.5rem;
    }
    
    .business-title {
        font-size: 1.75rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-item {
        flex-direction: column;
        text-align: center;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 98%;
    }
    
    .modal-header h3 {
        font-size: 1.125rem;
    }
}

/* ===== SEARCH PAGE STYLES ===== */

/* Sticky Search Bar */
.sticky-search-wrapper {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: top 0.3s ease;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    /* Prevent touch events from going through */
    pointer-events: none;
}

.sticky-search-wrapper.sticky {
    top: 0;
    opacity: 1;
    visibility: visible;
    /* Ensure it creates a proper overlay */
    pointer-events: auto;
    /* Add a subtle backdrop to prevent content showing through */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
}

.sticky-search-wrapper .search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Re-enable pointer events for the search container */
    pointer-events: auto;
}

.sticky-search-wrapper .main-search-form {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 0.25rem;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sticky-search-wrapper .main-search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sticky-search-wrapper .main-search-form:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.sticky-search-wrapper .main-search-form:focus-within::before {
    opacity: 1;
}

.sticky-search-wrapper .main-search-input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 1.25rem 0 0 1.25rem;
    outline: none;
    background: transparent;
    color: var(--text-color);
    /* Prevent iOS zoom on focus */
    font-size: 16px;
    /* Ensure proper touch handling */
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    /* Enhanced styling */
    transition: all 0.3s ease;
    position: relative;
}

.sticky-search-wrapper .main-search-input::placeholder {
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.sticky-search-wrapper .main-search-input:focus::placeholder {
    opacity: 0.5;
    transform: translateX(4px);
}

.sticky-search-wrapper .main-search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 2px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.sticky-search-wrapper .main-search-input:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.sticky-search-wrapper .search-submit {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #334155 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    border-radius: 0 1.25rem 1.25rem 0;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.sticky-search-wrapper .search-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sticky-search-wrapper .search-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.sticky-search-wrapper .search-submit:hover::before {
    left: 100%;
}

.sticky-search-wrapper .search-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

/* Search Content */
.search-content {
    padding: 2rem 0;
    text-align: center;
}

.search-form-container {
    max-width: 600px;
    margin: 2rem auto 0;
}

.search-form {
    margin-bottom: 1rem;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-button {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Search Suggestions */
.search-suggestions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.suggestion-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.suggestion-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    background: rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.suggestion-link:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

/* Search Results */
.search-results {
    margin-top: 2rem;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.search-query {
    color: var(--text-muted);
    font-size: 1rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-results-actions {
    display: flex;
    justify-content: center;
}

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

.page-link {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.page-link:hover {
    background: var(--primary-dark);
}

.page-link.active {
    background: var(--primary-dark);
    font-weight: 600;
}

.page-info {
    color: var(--text-muted);
}

/* Search Page Specific Styling */
.search-page .results-grid .business-card .business-meta .location {
    font-size: 0.75rem !important;
    margin-top: -0.25rem !important;
    margin-bottom: 0.75rem !important;
}

.search-page .business-card .business-meta .location {
    font-size: 0.75rem !important;
    margin-top: -0.25rem !important;
    margin-bottom: 0.75rem !important;
}

.search-page .business-card .business-meta span[class*="location"],
.search-page .business-card .business-meta .business-location {
    font-size: 0.75rem !important;
    margin-top: -0.25rem !important;
    margin-bottom: 0.75rem !important;
}

.search-page .results-grid .business-card .business-meta .location,
.search-page .search-results .business-card .business-meta .location,
.search-page .business-card .business-meta .location {
    font-size: 0.75rem !important;
    margin-top: -0.25rem !important;
    margin-bottom: 0.75rem !important;
    color: var(--text-muted) !important;
}

/* Search Strategy Message */
.search-strategy-message {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.search-strategy-message h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.search-original-query {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.search-original-query small {
    opacity: 0.7;
}

/* Search Page Responsive Design */
@media (max-width: 768px) {
    .sticky-search-wrapper .main-search-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .sticky-search-wrapper .search-submit {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.9rem !important;
        height: auto !important;
        min-width: 44px !important;
        max-width: 120px !important;
    }
    
    .search-suggestions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .suggestion-label {
        font-size: 0.8rem;
    }
    
    .suggestion-link {
        font-size: 0.8rem;
    }
    
    .search-content .search-container {
        padding: 0 1rem;
    }
    
    .search-content .main-search-form {
        flex-direction: row !important;
        gap: 0 !important;
        align-items: stretch !important;
    }
    
    .search-content .main-search-input {
        flex: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        border-radius: 1.25rem 0 0 1.25rem !important;
        font-size: 16px !important;
        -webkit-appearance: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .search-content .search-submit {
        flex: 0 0 auto !important;
        min-width: 80px !important;
        max-width: none !important;
        width: auto !important;
        border-radius: 0 1.25rem 1.25rem 0 !important;
        white-space: nowrap !important;
    }
    
    .search-page {
        padding: 0 1rem;
    }
    
    .search-results {
        max-width: 100%;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .search-strategy-message {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .search-strategy-message h2 {
        font-size: 1.125rem;
    }
    
    .business-meta {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .business-meta .location {
        text-align: left !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .sticky-search-wrapper .search-container {
        padding: 0 1rem;
    }
    
    .sticky-search-wrapper .main-search-input {
        padding: 0.75rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .sticky-search-wrapper .search-submit {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.875rem !important;
        min-width: 70px !important;
    }
    
    .hero .main-search-input {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.875rem !important;
    }
    
    .hero .search-submit {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.875rem !important;
        min-width: 70px !important;
    }
    
    .search-content {
        padding: 1rem 0;
    }
    
    .search-content .main-search-input {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.875rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        border-radius: 1.25rem 0 0 1.25rem !important;
    }
    
    .search-content .search-submit {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.875rem !important;
        min-width: 70px !important;
        max-width: none !important;
        width: auto !important;
        border-radius: 0 1.25rem 1.25rem 0 !important;
        white-space: nowrap !important;
    }
    
    .search-suggestions {
        margin-top: 1rem;
    }
    
    .results-header h2 {
        font-size: 1.25rem;
    }
    
    .search-query {
        font-size: 0.875rem;
    }
    
    .no-results {
        padding: 2rem 1rem;
    }
    
    .no-results-icon {
        font-size: 3rem;
    }
    
    .no-results h3 {
        font-size: 1.25rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .page-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* ===== FAQ PAGE STYLES ===== */

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

.faq-section {
    margin-bottom: 3rem;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.faq-section .section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question:focus {
    background: rgba(255, 255, 255, 0.05);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.faq-question.active {
    background: rgba(255, 255, 255, 0.1);
}

.question-text {
    flex: 1;
    margin-right: 1rem;
}

.question-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-question.active .question-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* FAQ Answers */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer.active {
    max-height: 1000px;
    padding: 1.5rem 3rem;
}

.faq-answer p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: var(--text-color);
    padding-left: 1rem;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 2.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--text-color);
}

.faq-answer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Highlight Classes */
.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.price-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .faq-content {
        padding: 0 1rem;
    }
    
    .faq-section .section-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 1rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .faq-answer.active {
        padding: 0.8rem 2rem;
    }
    
    .faq-answer ul {
        padding-left: 2rem;
    }
} 

/* ===== CONTACT PAGE STYLES ===== */

/* Search Section */
.search-section {
    background: var(--surface-color);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.search-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Alert Messages */
.alert {
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid;
}

.alert.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

.alert.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert p {
    margin: 0;
    font-weight: 500;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.contact-card .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form-container {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--card-color);
    color: var(--text-color);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--surface-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input:hover,
.form-textarea:hover {
    border-color: var(--primary-light);
}

.form-input.error,
.form-textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-button:hover:not(:disabled) {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-button .button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover:not(:disabled) .button-glow {
    left: 100%;
}

/* Contact Page Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-card {
        flex: 1;
        min-width: 250px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding: 2rem 0;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-subtitle {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-header .section-title {
        font-size: 2rem;
    }
    
    .contact-header .section-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .search-title {
        font-size: 1.75rem;
    }
    
    .contact-header .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .contact-card .contact-icon {
        font-size: 2rem;
    }
    
    .submit-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
    }
} 

/* ===== TERMS & CONDITIONS PAGE STYLES ===== */

/* Legal Container */
.legal-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    line-height: 1.6;
}

/* Typography */
.legal-container h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.legal-container h2 {
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.375rem;
}

.legal-container h3 {
    color: var(--text-muted);
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.125rem;
}

.legal-container p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-container ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-container li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Last Updated Notice */
.last-updated {
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem;
    border-radius: 0.375rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact Info Section - Terms & Conditions Page */
.legal-container .contact-info {
    background: rgba(16, 185, 129, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.legal-container .contact-info h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.legal-container .contact-info p {
    color: var(--text-color);
}

.legal-container .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-container .contact-info a:hover {
    text-decoration: underline;
}

/* Highlight Box */
.highlight-box {
    background: rgba(245, 158, 11, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.highlight-box p {
    color: var(--text-color);
    margin: 0;
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Terms Page Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        margin: 1rem;
        padding: 1.5rem;
    }
} 

/* ===== HOMEPAGE STYLES ===== */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 5rem 0 3rem 0;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* HERO GRADIENT TITLE */
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-primary);
}

/* HERO BLOBS */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
    opacity: 0.18;
    background: radial-gradient(circle, #60a5fa 0%, #6366f1 60%, transparent 100%);
}

.hero-blob.blob1 {
    width: 340px; 
    height: 340px; 
    left: -120px; 
    top: 60px;
}

.hero-blob.blob2 {
    width: 220px; 
    height: 220px; 
    right: 10vw; 
    top: 180px;
    background: radial-gradient(circle, #a5b4fc 0%, #06b6d4 70%, transparent 100%);
}

/* HERO SUBTITLE */
.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: var(--text-muted);
}

/* HERO SEARCH BAR */
.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-search-form {
    display: flex;
    gap: 0;
    max-width: 600px;
    width: 100%;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 0.25rem;
    box-shadow: var(--card-shadow);
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: searchFormAppear 0.6s ease-out;
}

@keyframes searchFormAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.main-search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.main-search-form:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.main-search-form:focus-within::before {
    opacity: 1;
}

.main-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 1.25rem 0 0 1.25rem;
    outline: none;
    background: transparent;
    color: var(--text-color);
    box-shadow: none;
    /* Prevent iOS zoom on focus */
    font-size: 16px;
    /* Ensure proper touch handling */
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    /* Enhanced styling */
    transition: all 0.3s ease;
    position: relative;
}

.main-search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    outline: none;
}

.main-search-input:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.main-search-input::placeholder {
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.main-search-input:focus::placeholder {
    opacity: 0.5;
    transform: translateX(4px);
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #334155 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    border-radius: 0 1.25rem 1.25rem 0;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.search-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.search-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.search-submit:hover::before {
    left: 100%;
}

.search-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

/* Business Grid Layout */
.business-grid,
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Business Cards */
.business-card {
    background: var(--surface-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
    position: relative;
    border: 1px solid var(--border-color);
}

.business-card:hover {
    transform: translateY(-4px);
}

.business-card.featured {
    border: 2px solid var(--accent-color);
}

/* Featured businesses on homepage - smaller city text and no category */
.featured-section .business-card .business-meta .location {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -0.25rem;
    margin-bottom: 0.75rem;
}

.featured-section .business-card .business-meta .category {
    display: none;
}

.featured-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.business-card.featured h3 {
    padding-top: 1rem;
}

.business-card h3 {
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.business-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.business-card h3 a:hover {
    color: var(--primary-color);
}

.business-card h3 a:focus {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Business Meta Information */
.business-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.business-category,
.business-location {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

/* Category page and search results business cards - smaller city text and better spacing */
.results-grid .business-card .business-meta .location {
    font-size: 0.75rem;
    margin-top: -0.25rem;
    margin-bottom: 0.75rem;
}

/* Business category styling - same size as city, positioned after description */
.business-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Business Description */
.business-description {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 0.5rem;
}

.description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
    border-color: var(--primary-color);
}

.category-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
    border-color: var(--primary-color);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: var(--glow-shadow), 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.category-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.category-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.featured-card {
    position: relative;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
    border-color: var(--accent-color);
}

/* Homepage Responsive Design */
@media (max-width: 768px) {
    .business-grid,
    .results-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .business-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
} 

/* Mobile adjustments for main search form */
@media (max-width: 768px) {
    .main-search-form {
        flex-direction: row !important;
        gap: 0;
        align-items: stretch;
    }
    
    .main-search-input {
        flex: 1;
        min-width: 0;
        padding: 1rem 1rem;
        font-size: 1rem;
        border-radius: 1.25rem 0 0 1.25rem;
    }
    
    .search-submit {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 0 1.25rem 1.25rem 0;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 80px;
        max-width: none;
    }
    
    .sticky-search-wrapper .main-search-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .sticky-search-wrapper .search-submit {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        height: auto !important;
        min-width: 80px !important;
        max-width: none !important;
        white-space: nowrap !important;
    }
    
    /* Sticky search behavior - only show when scrolling past hero */
    .sticky-search-wrapper {
        /* Keep original behavior - hidden by default */
        top: -100px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        position: fixed !important;
        pointer-events: none !important;
    }
    
    .sticky-search-wrapper.sticky {
        top: env(safe-area-inset-top, 0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding-top: calc(1rem + env(safe-area-inset-top, 0)) !important;
        pointer-events: auto !important;
        /* Ensure it blocks all touch events */
        z-index: 9999 !important;
    }
    
    .sticky-search-wrapper .search-container {
        pointer-events: auto !important;
    }
    
    /* Ensure proper spacing when sticky search is visible */
    body.sticky-search-active {
        padding-top: calc(80px + env(safe-area-inset-top, 0)) !important;
    }
    
    /* Adjust hero search for mobile */
    .hero .main-search-form {
        flex-direction: row !important;
        gap: 0 !important;
        align-items: stretch !important;
        max-width: 600px !important;
        width: 100% !important;
    }
    
    .hero .main-search-input {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        border-radius: 1.25rem 0 0 1.25rem !important;
    }
    
    .hero .search-submit {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 80px !important;
        max-width: none !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        height: auto !important;
        border-radius: 0 1.25rem 1.25rem 0 !important;
        white-space: nowrap !important;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 7vw, 4rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Improve touch targets */
    .sticky-search-wrapper .search-container {
        padding: 0 1rem;
    }
    
    .sticky-search-wrapper .main-search-form {
        min-height: 48px;
    }
    
    .sticky-search-wrapper .main-search-input,
    .sticky-search-wrapper .search-submit {
        min-height: 48px;
    }
    
    /* Prevent iOS zoom on search inputs */
    .sticky-search-wrapper .main-search-input,
    .hero .main-search-input {
        font-size: 16px !important;
        -webkit-appearance: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

.sticky-search-wrapper .main-search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    outline: none;
}

/* ===== SHARE BUTTONS ===== */
.share-section {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    margin-left: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.share-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.share-button:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--glass-shadow);
}

.share-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.share-button:active {
    transform: translateY(0);
}

.share-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.share-text {
    font-weight: 500;
}

/* Platform-specific colors */
.share-button.facebook:hover {
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-button.twitter:hover {
    border-color: #1da1f2;
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.share-button.whatsapp:hover {
    border-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.share-button.email:hover {
    border-color: #ea4335;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.share-button.copy:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.share-button.copy.copied {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.share-button.copy.copied .share-text {
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-button {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .share-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .share-button {
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: inherit;
}

.share-icon i {
    font-size: 14px;
    line-height: 1;
}