/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Siliguri Themed Palette */
    --primary-teal: #006D77;      /* Teesta River Blue/Teal */
    --secondary-green: #83C5BE;   /* Tea Leaf Green */
    --accent-orange: #E29578;     /* Marigold/Sunset */
    --light-bg: #FDFBF7;          /* Cream Background */
    --dark-text: #2D3436;
}

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

a {
    text-decoration: none;
}

/* =========================================
   2. NAVBAR & FOOTER
   ========================================= */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.navbar-brand span {
    color: var(--accent-orange);
}

footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer a {
    color: #ccc;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--secondary-green);
}

/* =========================================
   3. UTILITY CLASSES & BUTTONS
   ========================================= */
.text-teal { color: var(--primary-teal) !important; }
.bg-teal { background-color: var(--primary-teal) !important; color: white; }

.btn-teal {
    background-color: var(--primary-teal);
    color: white;
    border: none;
    padding: 10px 30px;
}

.btn-teal:hover {
    background-color: #00565e;
    color: white;
}

.btn-search {
    background-color: var(--primary-teal);
    color: white;
    font-weight: 600;
    border: none;
}

.btn-search:hover {
    background-color: #00555d;
    color: white;
}

.btn-outline-whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.btn-outline-whatsapp:hover {
    background-color: #25D366;
    color: white;
}

/* =========================================
   4. HOMEPAGE COMPONENTS
   ========================================= */
.hero-section {
    background: linear-gradient(rgba(0, 50, 50, 0.7), rgba(0, 50, 50, 0.7)), url('https://images.unsplash.com/photo-1596131499577-96a92383842c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    border-bottom: 5px solid var(--secondary-green);
}

.search-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Partner Section */
.partner-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    max-height: 50px;
    width: auto;
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Category Cards */
.category-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--secondary-green);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 10px;
}

.category-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

/* =========================================
   5. LISTING CARDS (GRID & HORIZONTAL)
   ========================================= */
.listing-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    background: white;
    transition: all 0.3s;
    height: 100%;
}

.listing-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.listing-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #2ecc71;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.rating-badge {
    background-color: #f1c40f;
    color: #333;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Horizontal Card (Search Results) */
.listing-card-horizontal {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
    margin-bottom: 20px;
}

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

.card-img-left {
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    width: 100%;
}

.verified-badge {
    color: #2ecc71;
    font-size: 0.9rem;
}

.rating-box {
    background: #f1c40f;
    color: black;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* =========================================
   6. SEARCH & FILTERS
   ========================================= */
.filter-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.form-check-input:checked {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.page-link {
    color: var(--primary-teal);
}

.page-item.active .page-link {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

/* =========================================
   7. LISTING DETAILS PAGE
   ========================================= */
.listing-header {
    height: 350px;
    position: relative;
}

.listing-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.listing-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.contact-sidebar {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 90px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-teal);
}

.nav-pills .nav-link {
    color: #333;
}

.gallery-img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-img:hover {
    opacity: 0.8;
}

/* Sponsored Widget */
.sponsored-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #eee;
    position: sticky;
    top: 500px;
}

.sponsored-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.ad-badge {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

/* =========================================
   8. ADD BUSINESS & FORMS
   ========================================= */
.form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.badge-premium {
    background-color: #ffc107;
    color: #000;
    font-size: 0.65rem;
    vertical-align: middle;
    margin-left: 5px;
}

.plan-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-selected {
    border-color: var(--primary-teal) !important;
    background-color: #f0fdfa;
}

/* =========================================
   9. ABOUT & CONTACT PAGES
   ========================================= */
.about-hero {
    background: linear-gradient(rgba(0, 109, 119, 0.9), rgba(0, 109, 119, 0.9)), url('https://images.unsplash.com/photo-1596131499577-96a92383842c?q=80&w=2070');
    background-size: cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid var(--accent-orange);
    height: 100%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-teal);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-green);
    margin-bottom: 15px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 109, 119, 0.1);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* =========================================
   10. BLOG PAGES
   ========================================= */
.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
    background: white;
}

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

.blog-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.blog-badge {
    background-color: var(--primary-teal);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    position: absolute;
    top: 15px;
    left: 15px;
}

.blog-header-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.content-area {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sidebar-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.author-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-teal);
}
