/* ======================
   Color Palette Variables
   ====================== */

:root {
    --primary-dark: #0B1C3D;
    --primary-blue: #1E3A8A;
    --accent-orange: #FF6A00;
    --accent-light-orange: #FFA500;
    --white: #FFFFFF;
    --light-grey: #F5F7FA;
    --text-dark: #333333;
}

/* ======================
   Global Styles
   ====================== */

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

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-grey);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ======================
   Header
   ====================== */

.header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header .container {
    padding: 0 15px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    gap: 0;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Mobile Toggle */
.header-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
    z-index: 1001;
    pointer-events: auto;
}

.header-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    margin: 0 20px;
}

.nav-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.nav-items > li {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.nav-items > li > a {
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 65px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

.nav-items > li > a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-orange);
}

.nav-items > li.nav-secondary > a {
    font-size: 12px;
    opacity: 0.9;
}

/* Nav Groups - Dropdowns & Mega Menu */
.nav-group {
    position: relative;
}

.dropdown,
.mega-dropdown {
    position: absolute;
    top: 100%;
    background: var(--white);
    border-top: 3px solid var(--accent-orange);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 999;
}

.dropdown {
    left: 0;
    min-width: max-content;
    padding: 8px 0;
}

.dropdown a,
.mega-dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.2s;
}

.dropdown a:hover,
.mega-dropdown a:hover {
    background: #f8f8f8;
    color: var(--accent-orange);
}

.dropdown a.highlight {
    color: var(--accent-orange);
    font-weight: 600;
}

.mega-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-5px);
    padding: 30px 40px;
    width: min(calc(100vw - 80px), 700px);
    box-sizing: border-box;
    overflow: visible;
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-column h5 {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-orange);
}

/* Hover States */
.nav-group:hover .dropdown {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-group:hover .mega-dropdown {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CTA Section */
.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0 15px;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: auto;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.btn-cta.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

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

.btn-primary {
    background: var(--accent-orange);
    color: white;
    padding: 10px 25px;
}

.btn-primary:hover {
    background: #E55A00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* User Menu */
.nav-user .user-btn {
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 65px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s;
}

.nav-user .user-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-orange);
}

.nav-user .dropdown {
    left: auto;
    right: 0;
    min-width: 160px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-items > li > a {
        padding: 0 10px;
        font-size: 12px;
    }

    .nav-group:hover .mega-dropdown {
        grid-template-columns: repeat(3, 1fr);
    }

    .btn-cta {
        padding: 0 12px;
        font-size: 11px;
    }
}


.highlight {
    color: var(--accent-orange) !important;
    font-weight: 600;
}

/* ======================
   Main Content
   ====================== */

.main-content {
    flex: 1;
    padding: 0;
}

/* ======================
   Section Utilities
   ====================== */

.section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.section.compact {
    padding: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

/* ======================
   Search Hero Section
   ====================== */

.search-hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 40px 0 30px;
}

.search-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.smart-search-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    margin-bottom: 12px;
}

.search-input-group {
    display: flex;
}

.smart-search-form input,
.smart-search-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
}

.smart-search-form input:focus,
.smart-search-form select:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: var(--white);
}

.search-filters-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 12px !important;
    font-size: 13px !important;
    background: var(--light-grey);
    border: 1px solid #ddd !important;
}

.btn-clear {
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-clear:hover {
    background: #f5f5f5;
    color: #333;
}

.search-results-info {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.result-count {
    font-size: 15px;
    font-weight: 500;
}

.result-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

/* ======================
   Hero Section
   ====================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-left {
    z-index: 10;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-search {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: grid;
    gap: 15px;
    grid-template-columns: 2fr 1fr 1fr auto;
}

.search-field {
    display: flex;
}

.hero-search input,
.hero-search select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.hero-search input:focus,
.hero-search select:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.illustration-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
}

.hero-illustration p {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}

/* ======================
   Categories Section
   ====================== */

.categories-section {
    padding: 60px 0;
    background: var(--light-grey);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.15);
}

.category-icon {
    font-size: 40px;
    display: block;
}

.category-name {
    font-weight: 600;
    font-size: 14px;
}

.category-card.view-all {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
}

.category-card.view-all:hover {
    background: #E55A00;
}

/* ======================
   Featured Section
   ====================== */

.featured-section {
    padding: 60px 0;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.business-card-link {
    text-decoration: none;
    color: inherit;
}

.business-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.business-card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.business-icon {
    font-size: 32px;
}

.business-rating {
    background: var(--accent-orange);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.business-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.business-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.business-category {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.business-location {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.business-reviews {
    color: #999;
    font-size: 12px;
    margin-top: auto;
}

/* ======================
   Services Section
   ====================== */

.services-section {
    padding: 60px 0;
    background: var(--light-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.service-link:hover {
    color: #E55A00;
}

/* ======================
   Promotion Section
   ====================== */

.promotion-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.promotion-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.promotion-content h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.promotion-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 20px;
}

.promotion-price {
    font-size: 24px;
    margin-bottom: 25px;
}

.price-highlight {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-orange);
}

.promotion-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-success {
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-success:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

.promotion-note {
    font-size: 13px;
    opacity: 0.8;
}

.promotion-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-illustration {
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ======================
   Why Choose Section
   ====================== */

.whychoose-section {
    padding: 60px 0;
}

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

.feature-item {
    text-align: center;
}

.feature-number {
    font-size: 32px;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ======================
   How It Works Section
   ====================== */

.howitworks-section {
    padding: 60px 0;
    background: var(--light-grey);
}

.howitworks-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.howitworks-path h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 35px;
    text-align: center;
}

.steps {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 15px;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    font-size: 13px;
}

.step-arrow {
    font-size: 24px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

/* ======================
   Final CTA Section
   ====================== */

.final-cta-section {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #E55A00 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
}

.btn-orange {
    background: var(--accent-orange);
    color: white;
    border: none;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

/* Utility Classes */
.mt-40 {
    margin-top: 40px;
}

.mb-30 {
    margin-bottom: 30px;
}

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

.p-30 {
    padding: 30px;
}

/* ======================
   Responsive Design
   ====================== */

@media (max-width: 1024px) {
    .search-row {
        grid-template-columns: 2fr 1fr;
    }

    .search-row .search-input-group:last-of-type {
        grid-column: 1 / -1;
    }

    .nav-group:hover .mega-dropdown {
        width: min(90vw, 1000px);
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-search {
        grid-template-columns: 1fr 1fr;
    }

    .hero-search button {
        grid-column: 1 / -1;
    }

    .promotion-wrapper {
        grid-template-columns: 1fr;
    }

    .howitworks-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .search-hero-section {
        padding: 30px 0 20px;
    }

    .search-hero-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .smart-search-form {
        padding: 15px;
    }

    .search-filters-row {
        flex-direction: column;
        gap: 10px;
    }

    .filter-select {
        width: 100%;
    }

    .btn-clear {
        width: 100%;
        text-align: center;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-search {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hero-search button {
        grid-column: auto;
    }

    .hero-illustration {
        padding: 40px;
    }

    .illustration-icon {
        font-size: 60px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .business-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .promo-illustration {
        font-size: 80px;
    }

    .promotion-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-card {
        padding: 15px;
    }

    .category-icon {
        font-size: 28px;
    }

    .category-name {
        font-size: 12px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 36px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

    .promotion-price {
        font-size: 18px;
    }

    .price-highlight {
        font-size: 32px;
    }

    .promo-illustration {
        font-size: 60px;
    }
}

.section.spacious {
    padding: 80px 0;
}

/* ======================
   Hero Section
   ====================== */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    margin: 0 0 40px 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero > .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 700px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
}

.search-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
}

.search-box input,
.search-box select {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    color: var(--text-dark);
    background-color: var(--white);
}

.search-box input::placeholder {
    color: #999;
}

.search-box input {
    flex: 1;
    min-width: 150px;
}

.search-box select {
    min-width: 120px;
    cursor: pointer;
}

.btn {
    padding: 12px 30px;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #e65c00;
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: #162d5f;
}

/* ======================
   Business Grid
   ====================== */

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.business-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, border-top-color 0.3s;
    cursor: pointer;
    border-top: 4px solid transparent;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-top-color: var(--accent-orange);
}

.business-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
}

.business-card-content {
    padding: 15px;
}

.business-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.business-card-category {
    display: inline-block;
    background: var(--light-grey);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.business-card-location {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.business-card-rating {
    font-size: 14px;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.business-card-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.business-card-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* ======================
   Business Detail Page
   ====================== */

.business-detail {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.business-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.business-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--white);
}

.business-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.business-info .rating {
    font-size: 18px;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.business-info .meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.business-info .meta-item {
    display: flex;
    gap: 10px;
}

.business-info .meta-label {
    font-weight: 600;
    min-width: 80px;
}

.business-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.business-buttons a,
.business-buttons button {
    flex: 1;
    min-width: 150px;
}

/* ======================
   Pagination
   ====================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-blue);
}

.pagination a:hover {
    background: var(--accent-orange);
    color: var(--white);
}

.pagination span.current {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
}

/* ======================
   Footer
   ====================== */

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 0 30px;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-section p {
    margin-bottom: 8px;
    color: #ddd;
}

/* ======================
   Admin Styles
   ====================== */

.admin-header {
    background: #333;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
}

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

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-bottom: 20px;
}

.admin-table th {
    background: #f0f0f0;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.admin-table tr:hover {
    background: #f9f9f9;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ======================
   Spacing & Alignment Utilities
   ====================== */

.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-50 { margin-top: 50px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }

.p-10 { padding: 10px !important; }
.p-15 { padding: 15px !important; }
.p-20 { padding: 20px !important; }
.p-30 { padding: 30px !important; }

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

.flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }
.gap-10 { gap: 10px !important; }
.gap-15 { gap: 15px !important; }
.gap-20 { gap: 20px !important; }

/* ======================
   Responsive
   ====================== */

/* ===== EXTRA SMALL DEVICES (< 375px) ===== */
@media (max-width: 374px) {
    .container {
        padding: 0 12px;
    }

    .logo h1 {
        font-size: 16px;
    }

    .header-content {
        gap: 10px;
    }

    .nav > ul > li > a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .hero {
        padding: 30px 12px;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .search-box {
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
    }

    .search-box input,
    .search-box select,
    .btn {
        padding: 9px 10px;
        font-size: 13px;
        width: 100%;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 0 20px 0;
    }

    .business-card-image {
        height: 150px;
        font-size: 36px;
    }

    .business-card-content {
        padding: 10px;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 14px;
    }

    .footer-section h3 {
        font-size: 14px;
    }

    .section {
        padding: 30px 0;
        margin-bottom: 20px;
    }
}

/* ===== SMALL DEVICES (375px - 480px) ===== */
@media (min-width: 375px) and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .hero {
        padding: 35px 15px;
        margin-bottom: 25px;
    }

    .hero h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .search-box {
        flex-direction: column;
        gap: 8px;
    }

    .search-box input,
    .search-box select,
    .btn {
        padding: 10px 12px;
        font-size: 14px;
        width: 100%;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 0 0 25px 0;
    }

    .business-card {
        border-top: 3px solid transparent;
    }

    .business-card-image {
        height: 180px;
        font-size: 40px;
    }

    .business-card-content {
        padding: 12px;
    }

    .business-detail {
        padding: 20px;
    }

    .business-header {
        flex-direction: column;
        gap: 20px;
    }

    .business-image {
        width: 100%;
        height: 250px;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    .footer-section h3 {
        font-size: 14px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 9px;
        font-size: 12px;
    }

    .section {
        padding: 40px 0;
        margin-bottom: 25px;
    }
}

/* ===== TABLETS (481px - 768px) ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        gap: 20px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .nav > ul > li > a {
        padding: 11px 15px;
        font-size: 13px;
    }

    .hero {
        padding: 45px 20px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .search-box {
        flex-direction: column;
        gap: 12px;
    }

    .search-box input,
    .search-box select {
        padding: 12px 15px;
        font-size: 15px;
        width: 100%;
    }

    .btn {
        padding: 12px 25px;
        font-size: 15px;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin: 0 0 30px 0;
    }

    .business-card-image {
        height: 190px;
        font-size: 44px;
    }

    .business-detail {
        padding: 25px;
    }

    .business-header {
        flex-direction: column;
    }

    .business-image {
        width: 100%;
        height: 280px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 11px;
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
        margin-bottom: 30px;
    }
}

/* ===== LARGE TABLETS & SMALL DESKTOPS (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .nav {
        margin: 0;
    }

    .hero {
        padding: 50px 30px;
        margin-bottom: 35px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-box {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }

    .search-box input {
        flex: 1;
        min-width: 180px;
    }

    .business-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 0 0 35px 0;
    }

    .business-card-image {
        height: 200px;
    }

    .business-detail {
        padding: 28px;
    }

    .business-header {
        flex-direction: row;
        gap: 25px;
    }

    .business-image {
        width: 280px;
        height: 280px;
        flex-shrink: 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .section {
        padding: 60px 0;
        margin-bottom: 35px;
    }
}

/* ===== MEDIUM DESKTOPS (1025px - 1440px) ===== */
@media (min-width: 1025px) and (max-width: 1440px) {
    .business-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
        margin-bottom: 40px;
    }
}

/* ===== LARGE DESKTOPS (1441px+) ===== */
@media (min-width: 1441px) {
    .container {
        max-width: 1300px;
        padding: 0 20px;
    }

    .business-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .section {
        padding: 70px 0;
        margin-bottom: 40px;
    }
}
