/* Google Fonts loaded via HTML for better performance */

:root {
    --primary-blue: #1E3A8A;
    --primary-dark: #1a2b6d;
    --accent-orange: #F97316;
    --accent-hover: #ea580c;
    --light-bg: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

.bg-primary { background-color: var(--primary-blue) !important; }
.text-primary { color: var(--primary-blue) !important; }
.btn-primary { 
    background-color: var(--primary-blue) !important; 
    border-color: var(--primary-blue) !important;
}
.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}
.navbar-brand img {
    height: 45px;
}
.nav-link {
    font-weight: 500;
    color: var(--text-main);
    margin: 0 10px;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-orange);
}
.btn-login {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    margin-right: 15px;
}
.btn-signup {
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s;
}
.btn-signup:hover {
    background-color: var(--accent-hover);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-title span {
    color: var(--accent-orange);
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}
.search-box {
    background: var(--white);
    padding: 6px;
    border-radius: 60px;
    display: flex;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    align-items: center;
}
.search-input {
    border: none;
    box-shadow: none !important;
    padding: 10px 15px;
    font-size: 0.95rem;
    height: 45px;
}
.search-divider {
    width: 1px;
    height: 30px;
    background-color: #cbd5e1;
    margin: 0 5px;
}
.btn-search {
    background-color: var(--accent-orange);
    color: var(--white);
    border-radius: 50px;
    padding: 0 35px;
    font-weight: 700;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s;
}
.btn-search:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}
.border-end-mobile { border-right: 1px solid #cbd5e1; }
.border-top-mobile { border-top: 1px solid #cbd5e1; }
@media (min-width: 768px) {
    .border-end-mobile { border-right: 1px solid #cbd5e1; }
    .border-end-md { border-right: 1px solid #cbd5e1; }
    .border-top-mobile { border-top: none; }
}

/* Category Pills */
.category-pills {
    margin-top: 30px;
}
.cat-pill {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    margin: 0 5px 10px;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.cat-pill:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* Stats Bar */
.stats-bar {
    background-color: #1E3A8A;
    color: var(--white);
    padding: 30px 0;
}
.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}
.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section Headings */
.section-title {
    text-align: center;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    margin: 15px auto 0;
    border-radius: 3px;
}
.section-subtitle {
    text-align: center;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Category Cards */
.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-main);
    display: block;
    border: 1px solid var(--border-color);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    color: var(--text-main);
}
.cat-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}
.category-card h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Business Cards */
.business-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
}
.business-card:hover {
    transform: translateY(-5px);
}
.business-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}
.business-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}
.business-body {
    padding: 20px;
    position: relative;
}
.business-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--white);
    position: absolute;
    top: -30px;
    left: 20px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.business-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 5px;
}
.business-rating {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.business-rating span {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 5px;
}
.business-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.business-location i {
    color: var(--primary-blue);
    margin-right: 5px;
}
.business-price {
    font-weight: 600;
    color: var(--accent-orange);
}
.business-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}
.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}
.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.footer-title {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--accent-orange);
}
.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.text-blue { color: var(--primary-blue) !important; }
.text-orange { color: var(--accent-orange) !important; }
.ls-1 { letter-spacing: 1px; }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--light-bg);
    color: var(--primary-blue);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}
.social-icons a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 40px;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    .search-box {
        flex-direction: column;
        border-radius: 15px;
        padding: 10px;
        margin: 0 10px;
    }
    .search-input {
        height: 40px;
        font-size: 0.85rem;
    }
    .search-divider {
        display: none !important;
    }
    .search-box > div:not(:last-child) {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 5px;
    }
    .search-box .select2-container {
        width: 100% !important;
    }
    .search-box .select2-selection--single {
        padding-left: 0 !important;
    }
    .btn-search {
        width: 100%;
        border-radius: 10px;
        margin-top: 5px;
        height: 40px;
        font-size: 0.9rem;
    }
    .stats-bar .row > div {
        margin-bottom: 20px;
    }
    .category-slider .category-card {
        height: 140px !important;
    }
    .business-card .business-img {
        height: auto !important;
        aspect-ratio: 16/9 !important;
    }
    .business-card .business-name {
        font-size: 0.9rem !important;
        margin-top: 10px !important;
    }
    .business-card .business-location {
        font-size: 0.7rem !important;
    }
    .business-card .business-body {
        padding: 10px !important;
    }
    .business-card .badge {
        font-size: 0.6rem !important;
    }
    .business-card .business-footer {
        padding: 8px 10px !important;
    }
    .business-card .action-btn {
        width: 26px !important;
        height: 26px !important;
    }
    .business-card .action-btn i {
        font-size: 9px !important;
    }
    .business-card .bg-primary.rounded-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }
    .business-card .business-img.d-flex {
        font-size: 2.5rem !important;
    }
    .slick-arrow {
        width: 32px !important;
        height: 32px !important;
    }
    .slick-arrow i {
        font-size: 0.8rem;
    }
}
