/* BiharVyapar.in Stylesheet */

:root {
    --primary-green: #025B52;
    --primary-green-hover: #01433C;
    --accent-orange: #FE3B00;
    --accent-orange-hover: #D83200;
    --white: #FFFFFF;
    --dark-bg: #17202A;
    --light-bg: #F7F9F8;
    --body-text: #2C3E50;
    --border-color: #E5E8E8;
}

body {
    background-color: var(--light-bg);
    color: var(--body-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Custom Buttons */
.btn-orange {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white) !important;
    transition: all 0.3s ease;
}
.btn-orange:hover, .btn-orange:focus {
    background-color: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
}

.btn-green {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white) !important;
    transition: all 0.3s ease;
}
.btn-green:hover, .btn-green:focus {
    background-color: var(--primary-green-hover);
    border-color: var(--primary-green-hover);
}

.btn-outline-green {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background-color: transparent;
    transition: all 0.3s ease;
}
.btn-outline-green:hover {
    background-color: var(--primary-green);
    color: var(--white) !important;
}

/* Footer Styling */
.footer-link {
    color: #AEB6BF;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--accent-orange);
}
.hover-orange:hover {
    color: var(--accent-orange) !important;
}
.dropdown-menu-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--body-text);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: all 0.2s;
}
.dropdown-menu-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-green);
}

/* Cards */
.business-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--white);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.category-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--white);
    text-align: center;
    padding: 1.5rem 1rem;
    transition: all 0.2s;
    height: 100%;
}
.category-card:hover {
    background-color: var(--primary-green);
    color: var(--white) !important;
    transform: translateY(-3px);
}
.category-card:hover .cat-icon {
    color: var(--white) !important;
}

.blog-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--white);
    transition: box-shadow 0.2s;
    overflow: hidden;
}
.blog-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

/* Details Page styling */
.business-cover {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 12px;
}
.business-cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 2rem;
    border-radius: 0 0 12px 12px;
    color: var(--white);
}

.sticky-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1030;
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: flex;
        justify-content: space-around;
        gap: 10px;
    }
    .business-cover {
        height: 220px;
    }
}
