/* ===========================================
   MOBILE-FIRST HOMEPAGE STYLES - COMPLETE
   Building on app.css with enhanced design
   =========================================== */

:root {
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --black: #000000;
    
    --font-family-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-vietnamese: 'Inter', 'Roboto', 'Noto Sans', sans-serif;
    
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    --box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    --box-shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    
    --container-max-width: 1200px;
    --header-height: 70px;
    --footer-height: 200px;
    
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ===========================================
   ENHANCED HEADER & NAVIGATION - MOBILE FIRST
   =========================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar {
    padding: 12px 0;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
}

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

/* Enhanced Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 800;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    z-index: var(--z-fixed);
}

.logo:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(-5deg);
}

.logo-text {
    display: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: var(--z-modal);
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(231, 76, 60, 0.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mobile-menu-toggle.active {
    background: var(--primary-color);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line {
    background: white;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile-First Navigation Menu */
.navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 100px 20px 40px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-modal-backdrop);
    overflow-y: auto;
}

.navbar-menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.navbar-search {
    width: 100%;
    max-width: 400px;
    order: 1;
}

.quick-search-form {
    position: relative;
    width: 100%;
}

.quick-search-input {
    width: 100%;
    padding: 16px 20px 16px 56px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-family-vietnamese);
}

.quick-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    background: white;
}

.quick-search-input::placeholder {
    color: var(--gray-500);
}

.quick-search-btn {
    position: absolute;
 /*   left: 16px; */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-search-btn:hover {
    color: var(--primary-color);
    background: rgba(231, 76, 60, 0.1);
}

.search-icon {
    width: 20px;
    height: 20px;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    order: 2;
    width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.5);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
    transform: translateY(-2px);
}

/* User Menu Mobile */
.user-menu {
    width: 100%;
    max-width: 300px;
    position: relative;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
}

.user-avatar:hover {
    border-color: var(--primary-color);
    background: rgba(231, 76, 60, 0.05);
}

.avatar-img,
.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.avatar-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.user-name {
    flex: 1;
    text-align: left;
    font-weight: 600;
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.user-menu.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    width: 100%;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 8px;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.user-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

/* ===========================================
   HERO SECTION ENHANCEMENTS - MOBILE FIRST
   =========================================== */

.hero-section {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--dark-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
    }
    33% { 
        transform: translateY(-20px) rotate(120deg) scale(1.1);
    }
    66% { 
        transform: translateY(10px) rotate(240deg) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    padding: 40px 20px;
}

.hero-text {
    margin-bottom: 40px;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff, #f8f9fa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Enhanced Hero Search */
.hero-search-container {
/*    max-width: 600px; */
    margin: 0 auto 50px;
}

.search-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.search-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.search-field,
.location-field {
    position: relative;
    flex: 1;
}

.search-input,
.location-select {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    font-size: 15px;
    color: var(--dark-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: var(--font-family-vietnamese);
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-input:focus,
.location-select:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.search-icon,
.location-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--gray-500);
    pointer-events: none;
    z-index: 2;
}

.location-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.search-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 48px;
}

.search-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.search-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Quick filters */
.quick-filters {
    margin-top: 20px;
    text-align: center;
}

.filter-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.filter-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: white;
}

/* Floating Stats */
.floating-stats {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================================
   SECTIONS ENHANCEMENT - MOBILE FIRST
   =========================================== */

.section {
    position: relative;
    padding: 60px 0;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
}

.featured-section {
    padding-top: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.title-icon {
    font-size: 0.8em;
    opacity: 0.8;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.view-all-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
   color: white;
}

.view-all-btn svg {
   width: 16px;
   height: 16px;
   transition: transform 0.3s ease;
}

.view-all-btn:hover svg {
   transform: translateX(4px);
}

/* ===========================================
  MOBILE-OPTIMIZED BUSINESS CARDS
  =========================================== */

.business-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 20px;
   margin-top: 30px;
}

.business-card {
   background: rgba(255, 255, 255, 0.95);
   backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 16px;
   overflow: hidden;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
   position: relative;
   max-width: 100%;
}

.business-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 1px;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
   z-index: 1;
}

.business-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
   border-color: rgba(231, 76, 60, 0.2);
}

.business-image-container {
   position: relative;
   aspect-ratio: 16/9;
   overflow: hidden;
}

.business-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;
}

.business-card:hover .business-image {
   transform: scale(1.05);
}

.card-badges {
   position: absolute;
   top: 12px;
   left: 12px;
   display: flex;
   flex-direction: column;
   gap: 6px;
   z-index: 2;
}

.badge {
   display: inline-flex;
   align-items: center;
   gap: 4px;
   padding: 4px 8px;
   border-radius: 12px;
   font-size: 9px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.2);
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge svg {
   width: 10px;
   height: 10px;
}

.featured-badge {
   background: linear-gradient(135deg, #e74c3c, #c0392b);
   color: white;
}

.verified-badge {
   background: linear-gradient(135deg, #27ae60, #2ecc71);
   color: white;
}

.favorite-btn {
   position: absolute;
   width: 44px;
   height: 44px;
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.3s ease;
   z-index: 2;
}

.favorite-btn:hover {
   background: white;
   transform: scale(1.1);
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.favorite-btn svg {
   width: 20px;
   height: 20px;
   color: var(--gray-500);
   transition: all 0.3s ease;
}

.favorite-btn.active svg {
   color: #e74c3c;
   fill: currentColor;
}

.card-content {
   padding: 16px;
}

.business-header {
   margin-bottom: 12px;
}

.business-name a {
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--dark-color);
   text-decoration: none;
   line-height: 1.3;
   transition: color 0.3s ease;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

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

.business-rating {
   display: flex;
   align-items: center;
   gap: 6px;
   margin-top: 8px;
}

.rating-stars {
   display: flex;
   gap: 1px;
}

.rating-stars svg {
   width: 14px;
   height: 14px;
}

.star.filled {
   color: #ffc107;
}

.star.half {
   color: #ffc107;
}

.star.empty {
   color: var(--gray-300);
}

.rating-text {
   font-weight: 600;
   color: var(--dark-color);
   font-size: 13px;
}

.no-rating {
   font-size: 12px;
   color: var(--gray-500);
   font-style: italic;
}

.business-info {
   display: flex;
   flex-direction: column;
   gap: 8px;
   margin-bottom: 12px;
}

.business-category,
.business-location {
   display: flex;
   align-items: center;
   gap: 6px;
   font-size: 12px;
   color: var(--gray-600);
}

.business-category svg,
.business-location svg {
   width: 14px;
   height: 14px;
   color: var(--gray-500);
   flex-shrink: 0;
}

.business-description {
   color: var(--gray-600);
   font-size: 13px;
   line-height: 1.5;
   margin-bottom: 16px;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.business-actions {
   display: flex;
   gap: 8px;
}

.view-btn,
.book-btn {
   flex: 1;
   padding: 12px 16px;
   border-radius: 10px;
   font-size: 13px;
   font-weight: 600;
   text-align: center;
   text-decoration: none;
   transition: all 0.3s ease;
   border: 2px solid transparent;
   min-height: 44px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.view-btn {
   background: rgba(0, 0, 0, 0.05);
   color: var(--gray-700);
   border-color: rgba(0, 0, 0, 0.1);
}

.view-btn:hover {
   background: rgba(0, 0, 0, 0.1);
   color: var(--dark-color);
}

.book-btn {
   background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
   color: white;
}

.book-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
   color: white;
}

/* ===========================================
  OPTIMIZED CATEGORIES GRID
  =========================================== */

.categories-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 16px;
   margin-top: 30px;
}

.category-card {
   background: rgba(255, 255, 255, 0.95);
   backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 16px;
   padding: 18px;
   text-decoration: none;
   color: var(--dark-color);
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   display: flex;
   align-items: center;
   gap: 14px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
   position: relative;
   overflow: hidden;
   min-height: 76px;
}

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

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

.category-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
   border-color: rgba(231, 76, 60, 0.3);
   color: var(--dark-color);
}

.category-icon {
   width: 46px;
   height: 46px;
   background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 18px;
   flex-shrink: 0;
   box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
   position: relative;
}

.category-icon::after {
   content: '';
   position: absolute;
   inset: 2px;
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
   border-radius: 10px;
   pointer-events: none;
}

.category-icon svg {
   color: white;
   z-index: 1;
   position: relative;
}

.category-content {
   flex: 1;
   min-width: 0;
}

.category-name {
   font-size: 1rem;
   font-weight: 600;
   margin-bottom: 4px;
   color: var(--dark-color);
   line-height: 1.3;
}

.category-count {
   font-size: 12px;
   color: var(--gray-600);
   font-weight: 500;
}

.category-arrow {
   color: var(--gray-400);
   transition: all 0.3s ease;
   opacity: 0.6;
   flex-shrink: 0;
}

.category-card:hover .category-arrow {
   opacity: 1;
   transform: translateX(4px);
   color: var(--primary-color);
}

.category-arrow svg {
   width: 18px;
   height: 18px;
}

/* ===========================================
  CITIES GRID ENHANCEMENT
  =========================================== */

.cities-section {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   color: white;
}

.cities-section .section-title,
.cities-section .section-subtitle {
   color: white;
}

.cities-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 20px;
   margin-top: 30px;
}

.city-card {
   position: relative;
   aspect-ratio: 16/10;
   border-radius: 16px;
   overflow: hidden;
   text-decoration: none;
   color: white;
   transition: all 0.3s ease;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.city-card:hover {
   transform: translateY(-6px) scale(1.02);
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
   color: white;
}

.city-image-container {
   position: relative;
   width: 100%;
   height: 100%;
   overflow: hidden;
}

.city-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;
}

.city-card:hover .city-image {
   transform: scale(1.1);
}

.city-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(
       135deg,
       rgba(0, 0, 0, 0.2) 0%,
       rgba(0, 0, 0, 0.4) 50%,
       rgba(0, 0, 0, 0.8) 100%
   );
   display: flex;
   align-items: flex-end;
   padding: 20px;
}

.city-content {
   position: relative;
   z-index: 1;
}

.city-name {
   font-size: 1rem;
   font-weight: 600;
   margin-bottom: 6px;
}

.city-count {
   font-size: 13px;
   opacity: 0.9;
   font-weight: 500;
}

/* ===========================================
  RECENT BUSINESSES SLIDER
  =========================================== */

.recent-section {
   background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
   position: relative;
   overflow: hidden;
}

.recent-section::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M20 20c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10-10-4.5-10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
   z-index: 0;
   animation: float 30s linear infinite;
}

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

.recent-businesses-slider {
   position: relative;
   overflow: hidden;
   margin-top: 30px;
   padding: 20px 0;
}

.slider-container {
   display: flex;
   transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
   gap: 20px;
}

.business-slide {
   flex: 0 0 100%;
   min-width: 280px;
}

.recent-business-card {
   background: rgba(255, 255, 255, 0.95);
   backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 16px;
   overflow: hidden;
   text-decoration: none;
   color: inherit;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
   position: relative;
}

.recent-business-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 1px;
   background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.recent-business-card:hover {
   transform: translateY(-6px) scale(1.02);
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
   border-color: rgba(0, 0, 0, 0.1);
   color: inherit;
}

.recent-business-card .business-image-container {
   position: relative;
   aspect-ratio: 16/10;
   overflow: hidden;
}

.recent-business-card .business-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.6s ease;
}

.recent-business-card:hover .business-image {
   transform: scale(1.1) rotate(1deg);
}

.new-badge {
   position: absolute;
   top: 12px;
   left: 12px;
   background: linear-gradient(135deg, #28a745, #20c997);
   color: white;
   padding: 6px 10px;
   border-radius: 16px;
   font-size: 10px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
   animation: pulse 2s infinite;
   z-index: 2;
   display: flex;
   align-items: center;
   gap: 4px;
}

.status-dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: currentColor;
   animation: pulse 2s infinite;
}

.recent-business-card .business-info {
   padding: 16px;
}

.recent-business-card .business-name a {
   font-size: 1rem;
   font-weight: 600;
   color: var(--dark-color);
   margin-bottom: 8px;
   line-height: 1.3;
   text-decoration: none;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

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

.business-meta {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin: 10px 0;
   font-size: 12px;
   color: var(--gray-600);
}

.recent-business-card .business-rating {
   display: flex;
   align-items: center;
   gap: 4px;
   margin-top: 8px;
}

.slider-controls {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 16px;
   margin-top: 30px;
}

.slider-btn {
   width: 48px;
   height: 48px;
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(20px);
   border: 1px solid rgba(0, 0, 0, 0.1);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.3s ease;
   color: var(--dark-color);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
   background: var(--primary-color);
   color: white;
   transform: translateY(-2px);
   box-shadow: 0 6px 25px rgba(231, 76, 60, 0.3);
}

.slider-btn:disabled {
   opacity: 0.4;
   cursor: not-allowed;
   transform: none;
   background: rgba(255, 255, 255, 0.5);
}

.slider-btn:disabled:hover {
   background: rgba(255, 255, 255, 0.5);
   color: var(--gray-400);
   transform: none;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider-btn svg {
   width: 20px;
   height: 20px;
}

/* ===========================================
  CTA SECTION ENHANCEMENT
  =========================================== */

.cta-section {
   background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #2c3e50 75%, #000000 100%);
   color: white;
   position: relative;
   overflow: hidden;
   padding: 80px 0;
}

.cta-section::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: 
       radial-gradient(circle at 20% 80%, rgba(231, 76, 60, 0.15) 0%, transparent 50%),
       radial-gradient(circle at 80% 20%, rgba(52, 73, 94, 0.15) 0%, transparent 50%);
   animation: float 20s ease-in-out infinite alternate;
   z-index: 0;
}

.cta-section::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 30c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
   z-index: 1;
}

.cta-content {
   position: relative;
   z-index: 2;
}

.cta-glass-card {
   background: rgba(255, 255, 255, 0.05);
   backdrop-filter: blur(30px);
   -webkit-backdrop-filter: blur(30px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 24px;
   padding: 40px 24px;
   text-align: center;
   max-width: 800px;
   margin: 0 auto;
   box-shadow: 
       0 20px 60px rgba(0, 0, 0, 0.3),
       inset 0 1px 1px rgba(255, 255, 255, 0.1);
   position: relative;
   overflow: hidden;
}

.cta-glass-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 1px;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.cta-title {
   font-size: clamp(1.75rem, 6vw, 2.5rem);
   font-weight: 900;
   margin-bottom: 16px;
   background: linear-gradient(135deg, #ffffff, #e74c3c);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   line-height: 1.2;
}

.cta-subtitle {
   font-size: clamp(1rem, 3vw, 1.2rem);
   color: rgba(255, 255, 255, 0.8);
   margin-bottom: 30px;
   line-height: 1.6;
   max-width: 500px;
   margin-left: auto;
   margin-right: auto;
}

.cta-features {
   display: grid;
   grid-template-columns: 1fr;
   gap: 20px;
   margin-bottom: 40px;
}

.feature-item {
   display: flex;
   align-items: center;
   gap: 12px;
   justify-content: center;
   padding: 16px;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 12px;
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
}

.feature-item:hover {
   background: rgba(255, 255, 255, 0.1);
   transform: translateY(-2px);
}

.feature-icon {
   font-size: 20px;
   width: 28px;
   height: 28px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(231, 76, 60, 0.2);
   border-radius: 8px;
   flex-shrink: 0;
}

.feature-item span {
   font-weight: 500;
   color: white;
   font-size: 14px;
}

.cta-actions {
   display: flex;
   flex-direction: column;
   gap: 16px;
   justify-content: center;
   align-items: center;
}

.cta-btn {
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   padding: 14px 28px;
   border-radius: 12px;
   font-size: 15px;
   font-weight: 600;
   transition: all 0.3s ease;
   min-height: 48px;
   min-width: 200px;
}

.cta-btn.primary {
   background: linear-gradient(135deg, #e74c3c, #c0392b);
   border: none;
   color: white;
   box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.cta-btn.primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
   color: white;
}

.cta-btn.secondary {
   background: transparent;
   border: 2px solid rgba(255, 255, 255, 0.3);
   color: white;
}

.cta-btn.secondary:hover {
   background: rgba(255, 255, 255, 0.1);
   border-color: rgba(255, 255, 255, 0.5);
   transform: translateY(-2px);
   color: white;
}

.cta-btn svg {
   width: 16px;
   height: 16px;
}

/* ===========================================
  TRUST SECTION ENHANCEMENT
  =========================================== */

.trust-section {
   background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
   border-top: 1px solid rgba(0, 0, 0, 0.05);
   border-bottom: 1px solid rgba(0, 0, 0, 0.05);
   position: relative;
   overflow: hidden;
}

.trust-section::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e74c3c' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M20 20c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10-10-4.5-10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
   z-index: 0;
}

.trust-indicators {
   display: grid;
   grid-template-columns: 1fr;
   gap: 20px;
   position: relative;
   z-index: 1;
   margin-top: 30px;
}

.trust-item {
   background: rgba(255, 255, 255, 0.8);
   backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 16px;
   padding: 24px 20px;
   text-align: center;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
   position: relative;
   overflow: hidden;
}

.trust-item::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 2px;
   background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
   transition: left 0.6s ease;
}

.trust-item:hover::before {
   left: 100%;
}

.trust-item:hover {
   transform: translateY(-6px);
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
   background: rgba(255, 255, 255, 0.95);
}

.trust-icon {
   width: 60px;
   height: 60px;
   background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
   border-radius: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 24px;
   margin: 0 auto 20px;
   box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
   transition: all 0.3s ease;
   position: relative;
}

.trust-icon::after {
   content: '';
   position: absolute;
   inset: 3px;
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
   border-radius: 13px;
   pointer-events: none;
}

.trust-item:hover .trust-icon {
   transform: scale(1.1) rotate(5deg);
   box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.trust-text {
   position: relative;
   z-index: 1;
}

.trust-text h4 {
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--dark-color);
   margin-bottom: 8px;
   line-height: 1.3;
}

.trust-text p {
   color: var(--gray-600);
   font-size: 13px;
   line-height: 1.5;
   font-weight: 500;
}

.trust-badges {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 20px;
   margin-top: 40px;
   flex-wrap: wrap;
}

.trust-badge {
   display: flex;
   align-items: center;
   gap: 6px;
   padding: 8px 16px;
   background: rgba(255, 255, 255, 0.9);
   border: 1px solid rgba(0, 0, 0, 0.1);
   border-radius: 20px;
   font-size: 12px;
   font-weight: 600;
   color: var(--dark-color);
   transition: all 0.3s ease;
}

.trust-badge:hover {
   background: white;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
   transform: translateY(-2px);
}

.badge-icon {
   width: 16px;
   height: 16px;
   background: var(--primary-color);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 8px;
   font-weight: 700;
}

.security-banner {
   background: linear-gradient(90deg, var(--success-color), #20c997);
   color: white;
   padding: 12px 0;
   text-align: center;
   font-size: 13px;
   font-weight: 600;
   margin-top: 30px;
   border-radius: 8px;
   position: relative;
   overflow: hidden;
}

.security-banner::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
   animation: shimmer 3s infinite;
}

@keyframes shimmer {
   0% { left: -100%; }
   100% { left: 100%; }
}

/* ===========================================
  RESPONSIVE DESIGN ENHANCEMENTS
  Mobile-first breakpoints for 2025
  =========================================== */

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
   .container {
       padding: 0 16px;
   }
   
   .logo-text {
       display: none;
   }
   
   .hero-section {
       min-height: 80vh;
       padding: 20px 0;
   }
   
   .hero-content {
       padding: 20px 16px;
   }
   
   .search-glass-card {
       padding: 20px;
       border-radius: 16px;
   }
   
   .search-container {
       gap: 10px;
   }
   
   .search-input,
   .location-select {
       padding: 12px 14px 12px 44px;
       font-size: 14px;
   }
   
   .search-btn {
       padding: 12px 20px;
       font-size: 14px;
       min-height: 44px;
   }
   
   .floating-stats {
       bottom: -40px;
   }
   
   .stats-grid {
       grid-template-columns: 1fr;
       gap: 16px;
       padding: 20px;
       margin: 0 16px;
   }
   
   .stat-item {
       padding: 16px 0;
       border-bottom: 1px solid rgba(0, 0, 0, 0.08);
   }
   
   .stat-item:last-child {
       border-bottom: none;
   }
   
   .section {
       padding: 50px 0;
   }
   
   .featured-section {
       padding-top: 90px;
   }
   
   .section-header {
       margin-bottom: 30px;
   }
   
   .business-grid {
       gap: 16px;
   }
   
   .business-card {
       border-radius: 14px;
   }
   
   .card-content {
       padding: 14px;
   }
   
   .categories-grid {
       gap: 12px;
   }
   
   .category-card {
       padding: 16px;
       gap: 12px;
       min-height: 68px;
   }
   
   .category-icon {
       width: 40px;
       height: 40px;
       font-size: 16px;
       border-radius: 10px;
   }
   
   .cities-grid {
       gap: 16px;
   }
   
   .slider-container {
       gap: 16px;
   }
   
   .slider-controls {
       gap: 12px;
       margin-top: 25px;
   }
   
   .slider-btn {
       width: 44px;
       height: 44px;
   }
   
   .slider-btn svg {
       width: 18px;
       height: 18px;
   }
   
   .cta-section {
       padding: 60px 0;
   }
   
   .cta-glass-card {
       padding: 30px 20px;
       border-radius: 20px;
   }
   
   .cta-features {
       gap: 16px;
   }
   
   .feature-item {
       padding: 14px;
       gap: 10px;
   }
   
   .feature-icon {
       font-size: 18px;
       width: 24px;
       height: 24px;
   }
   
   .cta-actions {
       gap: 12px;
   }
   
   .cta-btn {
       width: 100%;
       max-width: 280px;
       padding: 12px 24px;
       font-size: 14px;
   }
   
   .trust-indicators {
       gap: 16px;
   }
   
   .trust-item {
       padding: 20px 16px;
   }
   
   .trust-icon {
       width: 52px;
       height: 52px;
       font-size: 20px;
       margin-bottom: 16px;
   }
   
   .trust-badges {
       gap: 12px;
       margin-top: 30px;
   }
   
   .trust-badge {
       font-size: 11px;
       padding: 6px 12px;
   }
   
   .business-actions {
       flex-direction: column;
       gap: 8px;
   }
   
   .view-btn,
   .book-btn {
       width: 100%;
   }
}

/* Large Mobile (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
   .logo-text {
       display: inline;
       font-size: 1.2rem;
   }
   
   .shape-1 {
       width: 100px;
       height: 100px;
   }
   
   .shape-2 {
       width: 70px;
       height: 70px;
   }
   
   .shape-3 {
       width: 85px;
       height: 85px;
   }
   
   .search-container {
       grid-template-columns: 1fr 1fr;
       gap: 14px;
   }
   
   .search-btn {
       grid-column: 1 / -1;
   }
   
   .stats-grid {
       grid-template-columns: repeat(3, 1fr);
       padding: 28px;
   }
   
   .categories-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .business-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .cities-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .slider-container {
       gap: 18px;
   }
   
   .business-slide {
       flex: 0 0 calc(50% - 9px);
   }
   
   .cta-features {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .trust-indicators {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .cta-actions {
       flex-direction: row;
       justify-content: center;
   }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) {
   .mobile-menu-toggle {
       display: none;
   }
   
   .navbar-menu {
       position: static;
       width: auto;
       height: auto;
       background: transparent;
       backdrop-filter: none;
       display: flex;
       flex-direction: row;
       align-items: center;
       justify-content: flex-end;
       gap: 30px;
       padding: 0;
       transform: none;
       opacity: 1;
       visibility: visible;
       transition: none;
       z-index: auto;
       overflow: visible;
   }
   
   .navbar-search {
       order: 0;
       width: auto;
       max-width: 300px;
   }
   
   .quick-search-input {
       font-size: 14px;
       padding: 10px 16px 10px 40px;
   }
   
   .navbar-nav {
       flex-direction: row;
       gap: 20px;
       order: 0;
       width: auto;
   }
   
   .nav-link {
       padding: 8px 16px;
       font-size: 14px;
       min-width: auto;
       justify-content: flex-start;
       border: none;
       background: transparent;
   }
   
   .user-menu {
       width: auto;
       max-width: none;
       position: relative;
   }
   
   .user-avatar {
       width: auto;
       padding: 8px 12px;
       border: none;
       border-radius: 8px;
       font-size: 14px;
       background: transparent;
   }
   
   .user-dropdown {
       position: absolute;
       top: 100%;
       right: 0;
       width: 220px;
       margin-top: 8px;
       z-index: var(--z-dropdown);
   }
   
   .hero-section {
       min-height: 85vh;
   }
   
   .search-container {
       grid-template-columns: 2fr 1fr auto;
       gap: 16px;
   }
   
   .search-btn {
       width: auto;
       padding: 14px 28px;
       min-width: 120px;
   }
   
   .quick-filters {
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 16px;
       margin-top: 20px;
   }
   
   .filter-label {
       margin-bottom: 0;
   }
   
   .filter-tags {
       justify-content: flex-start;
   }
   
   .stats-grid {
       grid-template-columns: repeat(3, 1fr);
       padding: 32px;
       max-width: 700px;
   }
   
   .categories-grid {
       grid-template-columns: repeat(3, 1fr);
   }
   
   .business-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .cities-grid {
       grid-template-columns: repeat(3, 1fr);
   }
   
   .business-slide {
       flex: 0 0 calc(33.333% - 14px);
   }
   
   .cta-features {
       grid-template-columns: repeat(3, 1fr);
   }
   
   .trust-indicators {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .business-info {
       flex-direction: row;
       justify-content: space-between;
       align-items: center;
   }
   
   .business-category,
   .business-location {
       margin: 0;
   }
}

/* Desktop (1025px - 1279px) */
@media (min-width: 1025px) {
   .hero-section {
       min-height: 100vh;
   }
   
   .navbar-search {
       max-width: 400px;
   }
   
   .search-container {
       grid-template-columns: 3fr 2fr auto;
   }
   
   .categories-grid {
       grid-template-columns: repeat(4, 1fr);
   }
   
   .business-grid {
       grid-template-columns: repeat(3, 1fr);
   }
   
   .cities-grid {
       grid-template-columns: repeat(3, 1fr);
   }
   
   .business-slide {
       flex: 0 0 calc(25% - 15px);
   }
   
   .trust-indicators {
       grid-template-columns: repeat(4, 1fr);
   }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
   .business-grid {
       grid-template-columns: repeat(4, 1fr);
   }
   
   .categories-grid {
       grid-template-columns: repeat(4, 1fr);
   }
   
   .business-slide {
       flex: 0 0 calc(20% - 16px);
   }
}

/* ===========================================
  ANIMATION ENHANCEMENTS
  =========================================== */

@keyframes fadeInUp {
   from {
       opacity: 0;
       transform: translateY(30px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

@keyframes fadeInDown {
   from {
       opacity: 0;
       transform: translateY(-20px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

@keyframes slideInLeft {
   from {
       opacity: 0;
       transform: translateX(-30px);
   }
   to {
       opacity: 1;
       transform: translateX(0);
   }
}

@keyframes slideInRight {
   from {
       opacity: 0;
       transform: translateX(30px);
   }
   to {
       opacity: 1;
       transform: translateX(0);
   }
}

.fade-in-up {
   opacity: 0;
   transform: translateY(30px);
   transition: all 0.6s ease;
}

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

.scale-in {
   opacity: 0;
   transform: scale(0.8);
   transition: all 0.6s ease;
}

.scale-in.visible {
   opacity: 1;
   transform: scale(1);
}

.slide-in-left {
   opacity: 0;
   transform: translateX(-30px);
   transition: all 0.8s ease;
}

.slide-in-left.visible {
   opacity: 1;
   transform: translateX(0);
}

.slide-in-right {
   opacity: 0;
   transform: translateX(30px);
   transition: all 0.8s ease;
}

.slide-in-right.visible {
   opacity: 1;
   transform: translateX(0);
}

/* ===========================================
  ACCESSIBILITY ENHANCEMENTS
  =========================================== */

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}

.skip-link {
   position: absolute;
   top: -40px;
   left: 6px;
   background: var(--primary-color);
   color: white;
   padding: 8px;
   text-decoration: none;
   border-radius: 4px;
   z-index: 1000;
   transition: top 0.3s;
}

.skip-link:focus {
   top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
   .business-card,
   .category-card,
   .city-card,
   .trust-item {
       border: 2px solid var(--dark-color);
   }
   
   .search-glass-card {
       border: 2px solid rgba(255, 255, 255, 0.8);
   }
   
   .stats-grid {
       border: 2px solid rgba(0, 0, 0, 0.2);
   }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
   * {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
   
   .floating-shapes {
       display: none;
   }
   
   .shape {
       animation: none;
   }
}

/* ===========================================
  PRINT STYLES
  =========================================== */

@media print {
   .hero-section {
       min-height: auto;
       background: none !important;
       color: black !important;
       page-break-inside: avoid;
   }
   
   .floating-shapes,
   .floating-stats {
       display: none !important;
   }
   
   .business-card,
   .category-card {
       break-inside: avoid;
       box-shadow: none !important;
       border: 1px solid #ddd !important;
   }
   
   .section {
       padding: 40px 0 !important;
   }
   
   .mobile-menu-toggle,
   .slider-controls,
   .cta-actions {
       display: none !important;
   }
}

/* ===========================================
  UTILITY CLASSES
  =========================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.border-radius { border-radius: var(--border-radius); }
.border-radius-lg { border-radius: var(--border-radius-lg); }

.shadow { box-shadow: var(--box-shadow); }
.shadow-lg { box-shadow: var(--box-shadow-lg); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

.user-select-none { user-select: none; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }