
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --accent-orange: rgba(255, 99, 71, 0.774);
    /* #f97316   #cccccc*/
    --light-gray: #eaeef1;
    /* #f8fafc */
    --border-gray: #e2e8f0;
    --text-dark: #1e293b;
    --text-gray: #64748b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 50px 0 35px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.search-filter-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 40px;
}

.nav-tabs {
    border-bottom: none;
    background: var(--light-gray);
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: var(--text-gray);
    font-weight: 600;
    padding: 15px 25px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: white;
    color: var(--primary-blue);
    border-bottom: 3px solid var(--accent-orange);
}

.tab-content {
    padding: 25px;
}

.btn-primary {
    background: var(--primary-blue);
    /* border: none; */
    /* padding: 12px 30px; */
    font-weight: 600;
    /* border-radius: 8px; */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    /* padding: 8px 20px; */
    /* border-radius: 6px; */
}

.card {
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.business-card {
    margin-bottom: 25px;
}

.business-card .card-body {
    padding: 20px;
}

.business-rating {
    color: #f97316;
    /* #fbbf24 #ffae00 */
}

.business-category {
    background: var(--accent-orange);
    color: #000000da;
    padding: 2px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
    text-decoration: none;
}

.business-category:hover {
    background: tomato;
    color: #000000;
}

.business-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.feature-tag {
    background: var(--light-gray);
    color: var(--text-gray);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
}

.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
}

.business-detail-header {
    background: var(--light-gray);
    padding: 40px 0;
}

.business-gallery {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.business-info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-gray);
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon {
    width: 20px;
    color: var(--primary-blue);
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-size: 20px;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.reddit {
    background: #FF4500;
}

.social-link.envelope {
    background: #6c757d;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: #e4405f;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.tiktok {
    background: #000000;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.yelp {
    background: #d32323;
}

.social-link.google {
    background: #4285f4;
}

.social-link.website {
    background: var(--text-gray);
}

.working-hours-table {
    background: white;
    border-radius: 8px;
}

.working-hours-table th {
    background: var(--light-gray);
    border: none;
    padding: 12px 15px;
    font-weight: 600;
}

.working-hours-table td {
    border: none;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-gray);
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-gray);
}

.blog-post-header {
    padding: 60px 0;
    background: var(--light-gray);
}

.blog-post-meta {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 20px 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.page-current {
    display: block;
}

.page-hidden {
    display: none;
}

.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 20px;
}

.popular-location {
    border-radius: 20px;
    background-color: #f1c40f;
    border-color: #f1c40f;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin: 0;
}

.user-review {
    border-bottom: 1.5px solid #c2c2c2;
}

.user-review:last-child {
    border-bottom: none;
}

.related-items h6 {
    color: #1e40af;
}

.related-items:hover h6 {
    color: rgb(248, 47, 12);
}

#map {
    height: 400px;
    width: 100%;
}

.clamp-lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;          /* Limit to 1 line */
    -webkit-box-orient: vertical;   /* Vertical box */
    overflow: hidden;               /* Hide overflow */
    text-overflow: ellipsis;        /* Add ... */
}

.clamp-2-lines {
    -webkit-line-clamp: 2;          /* Limit to 2 lines */
}

.clamp-3-lines {
    -webkit-line-clamp: 3;          /* Limit to 3 lines */
}

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

    .search-filter-tabs {
        margin-top: 20px;
    }

    .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 20px 15px;
    }
}