/* ========================================
   SeekGhana Modern UI - Premium Ghana Theme
   ======================================== */

/* SeekGhana Modern Color Palette */
:root {
    /* Primary Brand Colors */
    --primary-color: #e00707;        /* Bold Red - Main brand color */
    --primary-dark: #b00505;         /* Darker red for gradients */
    --primary-light: #ff3333;        /* Light red for accents */
    
    /* Complementary Colors */
    --accent-gold: #ffa500;          /* Gold - complements red beautifully */
    --accent-amber: #ff8800;         /* Warm amber accent */
    --accent-dark: #1a1a2e;          /* Deep navy/black for contrast */
    
    /* Ghana National Colors */
    --ghana-red: #CE1126;            /* Official Ghana flag red */
    --ghana-gold: #FCD116;           /* Official Ghana flag gold */
    --ghana-green: #006B3F;          /* Official Ghana flag green */
    
    /* Neutral Colors */
    --dark-text: #2c3e50;            /* Main text color */
    --gray-text: #6c757d;            /* Secondary text */
    --light-gray: #f8f9fa;           /* Light backgrounds */
    --white: #ffffff;                /* Pure white */
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(224, 7, 7, 0.08);
    --shadow-md: 0 4px 16px rgba(224, 7, 7, 0.12);
    --shadow-lg: 0 8px 32px rgba(224, 7, 7, 0.15);
    --shadow-glow: 0 0 20px rgba(224, 7, 7, 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Modern Font System - Plus Jakarta Sans Only */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   MODERN TYPOGRAPHY - PLUS JAKARTA SANS ONLY
   ======================================== */

/* Apply Plus Jakarta Sans to everything */
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.015em; /* Adjusted for Plus Jakarta Sans */
}

/* Apply Plus Jakarta Sans to headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

/* Specific heading weights */
h1, .h1 { 
    font-weight: 800; 
    font-size: 2.5rem;
}

h2, .h2 { 
    font-weight: 700;
    font-size: 2rem;
}

h3, .h3 { 
    font-weight: 600;
    font-size: 1.5rem;
}

h4, .h4 { 
    font-weight: 600;
    font-size: 1.25rem;
}

h5, .h5, h6, .h6 { 
    font-weight: 600;
    font-size: 1rem;
}

/* Buttons use Plus Jakarta Sans */
button, .btn, 
.btn-modern, .btn-all-categories,
.nav-cta-button, .quick-filter-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.005em;
}

/* Navigation uses Plus Jakarta Sans */
.site-navbar,
.site-navbar .site-menu a,
.site-mobile-menu {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Category names use Plus Jakarta Sans */
.modern-category-name,
.caption {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Listing titles use Plus Jakarta Sans */
.modern-listing-title,
.listing h2, .listing h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* Body text uses Inter */
p, span, div, 
.modern-listing-location,
.modern-listing-time,
.modern-section-subtitle {
    font-family: var(--font-body);
}

/* Badges and labels use Plus Jakarta Sans */
.modern-listing-badge,
.modern-category-badge,
.badge-modern, .badge-ghana,
.filter-chip {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.015em;
}

/* Form elements use Inter */
input, textarea, select {
    font-family: var(--font-body);
    font-weight: 400;
}

/* Links use Inter */
a {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Footer headings use Plus Jakarta Sans */
.site-footer h2,
.site-footer h3,
.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    
    body {
        font-size: 15px;
    }
}

/* ========================================
   MODERN CATEGORY CARDS - PREMIUM MINIMALIST
   ======================================== */

.modern-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px; /* Tighter, more compact */
    padding: 32px; /* More compact padding */
    margin-top: -80px; /* Less overlap, cleaner */
    position: relative;
    z-index: 20;
    background: #fff;
    border-radius: 20px; /* Softer corners */
    box-shadow: 0 4px 40px rgba(0,0,0,0.06); /* Softer shadow */
}

@media (max-width: 576px) {
    .modern-categories-grid {
        /* Horizontal scrollable chips on mobile */
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        gap: 12px;
        padding: 24px 20px 24px 20px;
        margin-top: -80px;
        position: relative;
    }
    
    /* Hide scrollbar for Chrome, Safari and Opera */
    .modern-categories-grid::-webkit-scrollbar {
        display: none;
    }
    
    /* Gradient fade effect on right side to show more content */
    .modern-categories-grid::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 60px;
        background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
        pointer-events: none;
        z-index: 1;
    }
    
    /* Compact horizontal category chips */
    .modern-category-card {
        flex: 0 0 90px; /* Smaller width */
        min-width: 90px;
        scroll-snap-align: start;
        padding: 16px 10px; /* Reduced padding */
        position: relative;
        z-index: 0;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Last card gets extra right padding to show it's cut off */
    .modern-category-card:last-child {
        margin-right: 40px;
    }
    
    .modern-category-icon {
        width: 40px !important; /* Smaller icon */
        height: 40px !important;
        font-size: 20px !important; /* Smaller icon size */
        margin-bottom: 8px !important; /* Less spacing */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .modern-category-icon i {
        font-size: 20px !important;
    }
    
    .modern-category-icon img {
        width: 40px !important;
        height: 40px !important;
        object-fit: cover !important;
    }
    
    .modern-category-name {
        font-size: 11px !important; /* Slightly smaller text */
        line-height: 1.2 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* Show all categories in horizontal scroll (not limited to 4) */
    .modern-category-card:nth-child(n+5) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .modern-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .modern-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 993px) {
    .modern-categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.modern-category-card {
    background: #fff;
    padding: 24px 16px; /* Compact, minimalist */
    border-radius: 14px; /* Slightly tighter corners */
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.04); /* Subtle border */
    position: relative;
    overflow: hidden;
}

.modern-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ghana-red), var(--ghana-gold), var(--ghana-green));
    opacity: 0;
    transition: var(--transition-smooth);
}

.modern-category-card:hover {
    transform: translateY(-4px); /* Minimal, premium lift */
    box-shadow: 0 8px 32px rgba(0,0,0,0.08); /* Softer, tighter shadow */
    border-color: rgba(224, 7, 7, 0.15); /* Subtle red border */
}

.modern-category-card:hover::before {
    opacity: 1;
}

.modern-category-icon {
    width: 56px; /* Compact, minimalist size */
    height: 56px;
    margin: 0 auto 12px; /* Tighter spacing */
    border-radius: 14px; /* Cleaner corners */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa; /* Flat, cleaner */
    transition: var(--transition-smooth);
    position: relative;
}

.modern-category-card:hover .modern-category-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scale(1.05); /* Subtle, minimal transform */
}

.modern-category-icon i {
    font-size: 28px; /* Compact, minimalist */
    color: #2c3e50; /* Subtle, not too dark */
    transition: var(--transition-smooth);
}

.modern-category-card:hover .modern-category-icon i {
    color: #fff;
    transform: scale(1.05); /* Minimal transform */
}

.modern-category-icon img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.modern-category-name {
    font-size: 14px; /* Compact, clean */
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.modern-category-card:hover .modern-category-name {
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .modern-category-icon {
        width: 56px;
        height: 56px;
    }
    
    .modern-category-icon i {
        font-size: 28px;
    }
    
    .modern-category-name {
        font-size: 12px;
    }
}

/* ========================================
   MODERN LISTING CARDS - PREMIUM MINIMALIST
   ======================================== */

.modern-listing-card {
    background: #fff;
    border-radius: 16px; /* Softer corners */
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04); /* Much softer shadow */
    border: 1px solid rgba(0,0,0,0.04); /* Subtle border */
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-listing-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08); /* Softer hover */
    transform: translateY(-4px);
    border-color: rgba(224, 7, 7, 0.1); /* Subtle red hint */
}

.modern-listing-image {
    position: relative;
    height: 180px; /* Compact and refined */
    overflow: hidden;
}

.modern-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.modern-listing-card:hover .modern-listing-image img {
    transform: scale(1.05);
}

.modern-listing-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95); /* Clean white badge */
    backdrop-filter: blur(10px);
    color: var(--primary-color); /* Red text instead */
    padding: 4px 10px; /* Smaller, more refined */
    border-radius: 14px;
    font-size: 10px; /* Smaller font */
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(224, 7, 7, 0.1);
}

.modern-listing-content {
    padding: 18px; /* Refined, compact */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-listing-title {
    font-size: 15px; /* Smaller, more refined */
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-listing-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.modern-listing-title a:hover {
    color: var(--primary-color);
}

.modern-listing-location {
    font-size: 12px; /* Smaller, more refined */
    color: #6c757d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.modern-listing-location i {
    font-size: 12px;
}

.modern-listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px; /* Compact */
    border-top: 1px solid rgba(0,0,0,0.05); /* Very subtle */
    margin-top: auto;
}

.modern-listing-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-listing-user img {
    width: 28px; /* Smaller, more refined */
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.modern-listing-user-info {
    display: flex;
    flex-direction: column;
}

.modern-listing-user-name {
    font-size: 11px; /* Smaller */
    font-weight: 600;
    color: var(--dark-text);
}

.modern-listing-time {
    font-size: 10px; /* Smaller */
    color: #6c757d;
}

.modern-listing-status {
    font-size: 10px; /* Smaller, more subtle */
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.modern-listing-status.open {
    background: #d4edda;
    color: #155724;
}

.modern-listing-status.closed {
    background: #f8d7da;
    color: #721c24;
}

/* ========================================
   MODERN PRICE BADGE
   ======================================== */

.modern-price-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--ghana-green), #00804d);
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 6px;
    white-space: nowrap;
}

/* ========================================
   MODERN LISTING CARD (For Category/Listings Pages)
   ======================================== */

.modern-listing-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    margin-bottom: 24px;
    height: 100%;
}

.modern-listing-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: rgba(224, 7, 7, 0.1);
}

.modern-listing-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.modern-listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.modern-listing-card:hover .modern-listing-card-image img {
    transform: scale(1.05);
}

.modern-listing-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Featured listing special styling */
.modern-listing-card.modern-featured-listing {
    border: 1px solid rgba(255, 165, 0, 0.15);
    background: linear-gradient(to bottom, rgba(255, 165, 0, 0.02), transparent);
}

.modern-listing-card.modern-featured-listing:hover {
    border-color: rgba(255, 165, 0, 0.25);
    box-shadow: 0 8px 32px rgba(255, 165, 0, 0.12);
}

.modern-listing-badge-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber)) !important;
    color: white !important;
    font-weight: 600;
    padding: 6px 12px;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    border-radius: 8px;
}

.modern-listing-badge-gold i {
    margin-right: 4px;
}

/* Responsive for listing cards */
@media (max-width: 991px) {
    .modern-listing-card-image {
        height: 180px;
    }
    
    .modern-listing-card-content {
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .modern-listing-card-image {
        height: 220px;
    }
    
    .modern-listing-card {
        margin-bottom: 20px;
    }
}

/* ========================================
   COMPACT RECENT LISTINGS - PREMIUM MINIMALIST
   ======================================== */
/* Map container baseline to ensure map renders on categories pages */
#mapid-box {
    min-height: 500px; /* ensure visible even before JS sets height */
}

@media (max-width: 991px) {
    #mapid-box {
        min-height: 360px;
    }
}

.modern-listing-horizontal {
    display: flex;
    gap: 16px; /* Compact gap */
    background: #fff;
    border-radius: 16px; /* Softer */
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04); /* Softer shadow */
    border: 1px solid rgba(0,0,0,0.04); /* Subtle border */
    transition: var(--transition-smooth);
    margin-bottom: 20px; /* Slightly less space for compact feel */
}

.modern-listing-horizontal:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08); /* Softer */
    transform: translateY(-2px); /* Changed from translateX for cleaner feel */
    border-color: rgba(224, 7, 7, 0.1);
}

.modern-listing-horizontal-image {
    flex: 0 0 150px; /* More compact */
    height: 120px; /* Smaller, refined */
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

/* Tablet responsiveness for Recent Listings */
@media (max-width: 991px) and (min-width: 768px) {
    .modern-listing-horizontal-image {
        flex: 0 0 140px;
        height: 110px;
    }
}

/* Mobile responsiveness - Stack vertically */
@media (max-width: 767px) {
    .modern-listing-horizontal {
        flex-direction: column;
    }
    
    .modern-listing-horizontal-image {
        flex: 0 0 auto;
        height: 160px; /* Taller when stacked */
        width: 100%;
    }
}

/* Small mobile optimization */
@media (max-width: 576px) {
    .modern-listing-horizontal-image {
        height: 150px; /* Slightly smaller on very small screens */
    }
}

.modern-listing-horizontal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.modern-listing-horizontal:hover .modern-listing-horizontal-image img {
    transform: scale(1.05);
}

.modern-listing-horizontal-content {
    flex: 1;
    padding: 16px; /* Compact but comfortable */
    display: flex;
    flex-direction: column;
}

.modern-listing-horizontal .modern-listing-title {
    font-size: 14px; /* Slightly smaller for compact feel */
    margin-bottom: 6px;
}

.modern-listing-horizontal .modern-listing-location {
    margin-bottom: 8px; /* Tighter spacing */
    font-size: 11px;
}

.modern-listing-horizontal .modern-rating {
    margin-bottom: 6px;
}

.modern-listing-horizontal .modern-listing-footer {
    padding-top: 10px;
    margin-top: 6px;
}

.modern-listing-horizontal .modern-listing-user img {
    width: 24px; /* Smaller avatar */
    height: 24px;
}

.modern-listing-horizontal .modern-listing-user-name {
    font-size: 10px;
}

.modern-listing-horizontal .modern-listing-time {
    font-size: 9px;
}

.modern-listing-horizontal .modern-listing-status {
    font-size: 9px;
    padding: 2px 6px;
}

/* Nearby Listings Specific (Horizontal Variant) - Fully Responsive */
.modern-nearby-card {
    height: auto;
}

.modern-nearby-card .modern-listing-horizontal-image {
    flex: 0 0 160px; /* Slightly narrower */
    height: 130px; /* More compact */
}

/* Tablet responsiveness (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .modern-nearby-card .modern-listing-horizontal-image {
        flex: 0 0 140px; /* Slightly smaller on tablets */
        height: 120px;
    }
    
    .modern-nearby-card .modern-listing-horizontal-content {
        padding: 14px;
    }
}

/* Mobile responsiveness (< 768px) */
@media (max-width: 767px) {
    .modern-nearby-card {
        flex-direction: column; /* Stack vertically */
    }
    
    .modern-nearby-card .modern-listing-horizontal-image {
        flex: 0 0 auto;
        width: 100%;
        height: 180px; /* Taller on mobile when stacked */
    }
    
    .modern-nearby-card .modern-listing-horizontal-content {
        padding: 18px;
    }
}

/* Small mobile (< 576px) */
@media (max-width: 576px) {
    .modern-nearby-card .modern-listing-horizontal-image {
        height: 160px;
    }
    
    .modern-nearby-card .modern-listing-horizontal-content {
        padding: 16px;
    }
    
    .modern-nearby-card .modern-listing-title {
        font-size: 15px; /* Slightly larger on small screens for readability */
    }
}

.modern-nearby-card .modern-listing-horizontal-content {
    padding: 16px; /* Compact padding */
}

.modern-nearby-card .modern-listing-title {
    font-size: 14px; /* Smaller for compact view */
    margin-bottom: 6px;
}

.modern-nearby-card .modern-listing-location {
    font-size: 11px;
    margin-bottom: 8px;
}

.modern-nearby-card .modern-rating {
    margin-bottom: 8px;
}

.modern-nearby-card .modern-listing-footer {
    padding-top: 10px;
    margin-top: 8px;
}

.modern-nearby-card .modern-listing-user img {
    width: 24px; /* Even smaller avatar */
    height: 24px;
}

.modern-nearby-card .modern-listing-user-name {
    font-size: 10px;
}

.modern-nearby-card .modern-listing-time {
    font-size: 9px;
}

.modern-nearby-card .modern-listing-status {
    font-size: 9px;
    padding: 2px 6px;
}

/* Inline category badge for Nearby listings (moved from image) */
.modern-category-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(224, 7, 7, 0.08);
    border: 1px solid rgba(224, 7, 7, 0.15);
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.modern-category-badge-inline:hover {
    background: rgba(224, 7, 7, 0.12);
    border-color: rgba(224, 7, 7, 0.25);
    color: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.modern-category-badge-inline i {
    font-size: 9px;
}

/* Distance Badge - Shows km/meters away */
.distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(0, 107, 63, 0.1), rgba(0, 107, 63, 0.08)); /* Ghana green tint */
    border: 1px solid rgba(0, 107, 63, 0.2);
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: var(--ghana-green);
    margin-left: 6px;
    white-space: nowrap;
}

.distance-badge::before {
    content: '•';
    margin-right: 2px;
    color: var(--ghana-green);
}

/* Distance color coding (optional) */
.distance-close {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.12), rgba(40, 167, 69, 0.08));
    border-color: rgba(40, 167, 69, 0.25);
    color: #28a745;
}

.distance-medium {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 193, 7, 0.08));
    border-color: rgba(255, 193, 7, 0.25);
    color: #ffc107;
}

.distance-far {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.12), rgba(108, 117, 125, 0.08));
    border-color: rgba(108, 117, 125, 0.25);
    color: #6c757d;
}

/* ========================================
   SECTION HEADERS - PREMIUM MINIMALIST
   ======================================== */

.modern-section-header {
    text-align: center;
    margin-bottom: 50px; /* More space */
}

.modern-section-title {
    font-size: 36px; /* Slightly larger */
    font-weight: 700;
    color: #1a1a2e; /* Darker, more premium */
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.modern-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px; /* More space */
    left: 50%;
    transform: translateX(-50%);
    width: 50px; /* Smaller, more refined */
    height: 3px; /* Thinner */
    background: var(--primary-color); /* Simple red, not gradient */
    border-radius: 2px;
}

.modern-section-subtitle {
    font-size: 15px;
    color: #6c757d;
    font-weight: 400; /* Lighter */
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Left-aligned variant */
.modern-section-header.text-left {
    text-align: left;
}

.modern-section-header.text-left .modern-section-title::after {
    left: 0;
    transform: translateX(0);
}

/* ========================================
   MODERN BUTTONS
   ======================================== */

.btn-modern {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(224, 7, 7, 0.25);
}

.btn-modern-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 7, 7, 0.35);
    color: #fff;
}

.btn-modern-ghana {
    background: linear-gradient(135deg, var(--ghana-red) 0%, var(--ghana-gold) 50%, var(--ghana-green) 100%);
    color: #fff;
}

.btn-modern-ghana:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

/* ========================================
   FEATURED LISTINGS - PREMIUM MINIMALIST CAROUSEL
   ======================================== */

.modern-featured-card {
    background: #fff;
    border-radius: 20px; /* Softer corners */
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); /* Soft shadow */
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-featured-card:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.1); /* Premium hover */
    transform: translateY(-6px);
    border-color: rgba(224, 7, 7, 0.12);
}

.modern-featured-image {
    height: 200px; /* Compact and refined */
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.modern-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.modern-featured-card:hover .modern-featured-image img {
    transform: scale(1.05); /* Subtler zoom */
}

.modern-featured-content {
    padding: 20px; /* Refined, not excessive */
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Featured badge - Premium Gold - Refined */
.modern-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--accent-gold);
    padding: 4px 10px; /* Smaller, more refined */
    border-radius: 16px;
    font-size: 10px; /* Smaller font */
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 165, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Featured star icon */
.featured-star {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.featured-star i {
    color: var(--accent-gold);
    font-size: 18px;
}

.modern-featured-title {
    font-size: 17px; /* More refined */
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.modern-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.modern-featured-title a:hover {
    color: var(--primary-color);
}

.modern-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.modern-featured-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px; /* Smaller, cleaner */
    color: #6c757d;
}

.modern-featured-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modern-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px; /* Reduced */
}

/* Featured listing user avatar - Fix distortion */
.modern-featured-card .modern-listing-user img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover; /* Prevents distortion */
    object-position: center;
}

.modern-featured-card .modern-listing-user-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-text);
}

.modern-featured-card .modern-listing-time {
    font-size: 10px;
    color: #6c757d;
}

/* ========================================
   MODERN BLOG CARDS - PREMIUM MINIMALIST
   ======================================== */

.modern-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-blog-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: rgba(224, 7, 7, 0.1);
}

.modern-blog-image {
    height: 200px; /* Compact blog image */
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.modern-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.modern-blog-card:hover .modern-blog-image img {
    transform: scale(1.05);
}

.modern-blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-blog-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-blog-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.modern-blog-title a:hover {
    color: var(--primary-color);
}

.modern-blog-meta {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 12px;
}

.modern-blog-meta a {
    color: var(--primary-color);
    font-weight: 600;
}

.modern-blog-excerpt {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   RATINGS & REVIEWS
   ======================================== */

.modern-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.modern-rating-stars {
    color: var(--ghana-gold);
    font-size: 14px;
}

.modern-rating-count {
    font-size: 13px;
    color: #6c757d;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

.spacing-y-modern {
    padding: 80px 0; /* More breathing room */
}

@media (max-width: 768px) {
    .spacing-y-modern {
        padding: 50px 0; /* More space on mobile too */
    }
    
    .modern-section-title {
        font-size: 28px; /* Slightly larger */
    }
    
    .modern-section-subtitle {
        font-size: 14px;
    }
}

/* Premium spacing utility */
.py-premium {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .py-premium {
        padding: 60px 0;
    }
}

/* ========================================
   GHANA PRIDE ACCENTS
   ======================================== */

.ghana-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, 
        var(--ghana-red) 0%, 
        var(--ghana-red) 33%, 
        var(--ghana-gold) 33%, 
        var(--ghana-gold) 66%, 
        var(--ghana-green) 66%, 
        var(--ghana-green) 100%
    );
}

.ghana-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-text);
    border-left: 3px solid var(--ghana-gold);
}

/* ========================================
   IMPROVED HOVER EFFECTS
   ======================================== */

.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* ========================================
   CATEGORY BADGES IN LISTINGS
   ======================================== */

.modern-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #e9ecef;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-text);
    margin-right: 6px;
    margin-bottom: 6px;
    transition: var(--transition-smooth);
}

.modern-category-badge:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(224, 7, 7, 0.3);
}

.modern-category-badge i {
    font-size: 10px;
}

/* ========================================
   LOADING & ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   ALL CATEGORIES BUTTON
   ======================================== */

.all-categories-btn-wrapper {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 20px;
}

.btn-all-categories {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(224, 7, 7, 0.3);
}

.btn-all-categories:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(224, 7, 7, 0.45);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    text-decoration: none;
}

.btn-all-categories i {
    font-size: 16px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Spacing Utilities */
.mb-modern {
    margin-bottom: 40px;
}

.mt-modern {
    margin-top: 40px;
}

.py-modern {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .py-modern {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Text Utilities */
.text-ghana {
    background: linear-gradient(90deg, var(--ghana-red), var(--ghana-gold), var(--ghana-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-modern {
    color: var(--primary-color);
}

/* Container Utilities */
.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Utilities */
.card-modern {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.card-modern:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Badge Utilities */
.badge-ghana {
    background: linear-gradient(135deg, var(--ghana-red), var(--ghana-gold));
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(224, 7, 7, 0.25);
}

/* Divider with Ghana Colors */
.divider-ghana {
    height: 4px;
    background: linear-gradient(90deg, 
        var(--ghana-red) 0%, 
        var(--ghana-red) 33%, 
        var(--ghana-gold) 33%, 
        var(--ghana-gold) 66%, 
        var(--ghana-green) 66%, 
        var(--ghana-green) 100%
    );
    margin: 30px 0;
}

/* Icon Utilities */
.icon-ghana {
    color: var(--ghana-gold);
}

.icon-primary {
    color: var(--primary-color);
}

/* Hover Glow Effect */
.hover-glow {
    transition: var(--transition-smooth);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(224, 7, 7, 0.4);
}

/* Pulse Animation for Important Elements */
@keyframes pulse-ghana {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(206, 17, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(206, 17, 38, 0);
    }
}

.pulse-ghana {
    animation: pulse-ghana 2s infinite;
}

/* Featured/New Badge */
.badge-new {
    position: relative;
    overflow: visible;
}

.badge-new::after {
    content: 'NEW';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--ghana-red);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
}

/* Gradient Text Effect */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-fire {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-amber), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Status Indicators */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.status-dot.online {
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
}

.status-dot.offline {
    background: #dc3545;
}

.status-dot.away {
    background: #ffc107;
}

/* Loading Skeleton (for future use) */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive Image */
.img-modern {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Ghana Pride Footer */
.ghana-footer-accent {
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--ghana-red), var(--ghana-gold), var(--ghana-green)) 1;
}

/* ========================================
   STICKY NAVIGATION
   ======================================== */

/* Base navbar - optimize for smooth transitions */
.site-navbar {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Preparing state - positions navbar while invisible to prevent layout shift flicker */
.site-navbar-preparing {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1230px) {
    .site-navbar-preparing {
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .site-navbar-preparing {
        max-width: 100%;
        left: 0;
        transform: translateX(0);
    }
}

.site-navbar-sticky {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
    padding: 10px 30px;
    border-radius: 0 0 4px 4px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 1230px) {
    .site-navbar-sticky {
        max-width: calc(100% - 30px);
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .site-navbar-sticky {
        max-width: 100%;
        left: 0;
        transform: translateX(0);
        border-radius: 0;
        padding: 10px 15px;
        will-change: transform;
        transform: translate3d(0, 0, 0);
    }
}

/* Prevent animation from replaying after initial transition */
.site-navbar-sticky.no-animation {
    animation: none;
}

@keyframes slideDown {
    0% {
        transform: translateX(-50%) translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    @keyframes slideDown {
        0% {
            transform: translateX(0) translateY(-10px);
            opacity: 0;
        }
        100% {
            transform: translateX(0) translateY(0);
            opacity: 1;
        }
    }
}

.navbar-spacer {
    height: 80px;
}

/* Compact Search in Sticky Nav */
.sticky-search-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 8px 16px;
    max-width: 400px;
    transition: var(--transition-smooth);
}

.sticky-search-compact:hover {
    background: #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sticky-search-compact input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.sticky-search-compact .search-icon {
    color: var(--primary-color);
    font-size: 16px;
}

/* List Your Business CTA in Nav */
.nav-cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(224, 7, 7, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(224, 7, 7, 0.4);
    color: #fff;
    text-decoration: none;
}

.nav-cta-button i {
    font-size: 14px;
}

/* Mobile Nav Adjustments */
@media (max-width: 991px) {
    .sticky-search-compact {
        max-width: 100%;
        margin: 10px 0;
    }
    
    .nav-cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   FILTER CHIPS SYSTEM
   ======================================== */

.filter-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px 0;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(224, 7, 7, 0.1), rgba(176, 5, 5, 0.1));
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-text);
    transition: var(--transition-smooth);
    cursor: pointer;
    user-select: none;
}

.filter-chip:hover {
    background: linear-gradient(135deg, rgba(224, 7, 7, 0.15), rgba(176, 5, 5, 0.15));
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(224, 7, 7, 0.2);
}

.filter-chip-remove {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-chip-remove:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.filter-chip-icon {
    color: var(--primary-color);
    font-size: 12px;
}

/* Clear All Filters Button */
.clear-all-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-text);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.clear-all-filters:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(224, 7, 7, 0.05);
}

/* Results Count */
.results-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.results-count-number {
    color: var(--primary-color);
    font-size: 18px;
}

/* Filter Sidebar Modern Cards */
.filter-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
}

.filter-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}

.filter-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.filter-card-toggle {
    font-size: 14px;
    color: var(--gray-text);
    transition: var(--transition-smooth);
}

.filter-card.collapsed .filter-card-toggle {
    transform: rotate(180deg);
}

.filter-card-body {
    transition: var(--transition-smooth);
}

.filter-card.collapsed .filter-card-body {
    display: none;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.quick-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.quick-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(224, 7, 7, 0.05);
}

.quick-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(224, 7, 7, 0.3);
}

.quick-filter-btn i {
    font-size: 12px;
}

/* Price Range Slider Styling */
.price-range-slider {
    padding: 20px 0;
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
}

.price-range-track {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    position: relative;
}

.price-range-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 3px;
    position: absolute;
}

/* Sort Dropdown */
.sort-dropdown-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sort-dropdown-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(224, 7, 7, 0.1);
}

.sort-dropdown-modern i {
    color: var(--primary-color);
}

/* Map Toggle Button */
.map-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.map-toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(224, 7, 7, 0.05);
}

.map-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: #fff;
}

.map-toggle-btn i {
    font-size: 16px;
}

/* Mobile Filter Button */
.mobile-filter-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(224, 7, 7, 0.4);
    border: none;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
}

.mobile-filter-btn:active {
    transform: translateX(-50%) scale(0.95);
}

/* ========================================
   ADDITIONAL COLOR UTILITIES
   ======================================== */

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.bg-gradient-fire {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-amber), var(--accent-gold));
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--accent-dark), #2d2d44);
}

/* Text Colors */
.text-primary-red {
    color: var(--primary-color);
}

.text-accent-gold {
    color: var(--accent-gold);
}

.text-accent-amber {
    color: var(--accent-amber);
}

/* Button Variants */
.btn-accent-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: var(--transition-smooth);
}

.btn-accent-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4);
    color: #fff;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(224, 7, 7, 0.3);
}

/* Card Accent Variants */
.card-accent-border {
    border-left: 4px solid var(--primary-color);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.card-gold-accent {
    border-left: 4px solid var(--accent-gold);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Alert/Notification Variants */
.alert-primary {
    background: linear-gradient(135deg, rgba(224, 7, 7, 0.1), rgba(176, 5, 5, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 8px;
    color: var(--dark-text);
}

.alert-gold {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 136, 0, 0.1));
    border-left: 4px solid var(--accent-gold);
    padding: 16px 20px;
    border-radius: 8px;
    color: var(--dark-text);
}

/* Icon Color Variants */
.icon-red {
    color: var(--primary-color);
}

.icon-gold {
    color: var(--accent-gold);
}

.icon-amber {
    color: var(--accent-amber);
}

/* Hover Effects with New Colors */
.hover-red:hover {
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.hover-gold:hover {
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

/* Fire Glow Effect (Red + Gold) */
.fire-glow {
    box-shadow: 0 0 30px rgba(224, 7, 7, 0.3), 0 0 60px rgba(255, 165, 0, 0.2);
}

/* Featured/Premium Badge with Gold */
.badge-premium {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

/* Link Styles */
.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.link-primary:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.link-gold {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.link-gold:hover {
    color: var(--accent-amber);
    text-decoration: underline;
}

/* ========================================
   MOBILE ENHANCEMENTS - GHANA FOCUS
   ======================================== */

/* 1. Mobile Bottom Navigation Bar */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
        display: flex;
        justify-content: space-around;
        padding: 8px 0 10px;
        z-index: 1000;
        border-top: 1px solid #e0e0e0;
    }
    
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #6c757d;
        text-decoration: none;
        padding: 6px 12px;
        transition: var(--transition-smooth);
        min-width: 60px;
        flex: 1;
    }
    
    .mobile-bottom-nav .nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
        transition: var(--transition-smooth);
    }
    
    .mobile-bottom-nav .nav-item span {
        font-size: 11px;
        font-weight: 500;
        transition: var(--transition-smooth);
    }
    
    .mobile-bottom-nav .nav-item.active {
        color: var(--primary-color);
    }
    
    .mobile-bottom-nav .nav-item.active i {
        transform: scale(1.1);
    }
    
    /* Add padding to body so content doesn't hide behind nav */
    body {
        padding-bottom: 70px !important;
    }
    
    /* Add padding to footer too */
    .site-footer {
        padding-bottom: 70px;
    }
}

/* 2. Near Me Button - Outlined Style */
.mobile-quick-actions {
    margin-top: 20px;
    text-align: center;
}

.btn-near-me {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-near-me i {
    font-size: 16px;
    animation: pulse 2s infinite;
}

.btn-near-me:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(224, 7, 7, 0.25);
}

.btn-near-me:active {
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 3. Call/WhatsApp Quick Action Buttons */
.mobile-quick-contact {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

@media (min-width: 769px) {
    .mobile-quick-contact {
        display: none; /* Only show on mobile */
    }
}

.btn-quick-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: 1px solid;
}

.btn-quick-action.call {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-quick-action.call:hover {
    background: var(--primary-color);
    color: white;
}

.btn-quick-action.whatsapp {
    background: #169a47;
    color: white;
    border-color: #169a47;
}

.btn-quick-action.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* WhatsApp button - Deeper green for better visibility */
.btn-whatsapp {
    background: #169a47 !important;
    border-color: #169a47 !important;
    color: white !important;
}

.btn-whatsapp:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: white !important;
}

.btn-quick-action.directions {
    background: white;
    color: #4285F4;
    border-color: #4285F4;
}

.btn-quick-action.directions:hover {
    background: #4285F4;
    color: white;
}

.btn-quick-action i {
    font-size: 11px;
}

/* Compact version for listing cards - Ultra Minimalist */
.listing-quick-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Desktop - Ultra subtle and small */
@media (min-width: 769px) {
    .listing-quick-actions {
        gap: 6px;
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .listing-quick-actions .btn-quick-action {
        padding: 5px 10px;
        font-size: 10px;
        opacity: 0.75;
        border-width: 1px;
        font-weight: 500;
    }
    
    .listing-quick-actions .btn-quick-action:hover {
        opacity: 1;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    }
    
    .listing-quick-actions .btn-quick-action i {
        font-size: 10px;
    }
}

/* Mobile - Small but readable */
@media (max-width: 768px) {
    .listing-quick-actions {
        gap: 6px;
        margin-top: 8px;
    }
    
    .listing-quick-actions .btn-quick-action {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .listing-quick-actions .btn-quick-action i {
        font-size: 11px;
    }
}

/* Ensure footer doesn't have negative margin on mobile */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 0 !important;
    }
}

/* 4. Popular Search Chips (Smart Autocomplete) */
.popular-searches-all {
    margin-top: 20px;
    text-align: center;
}

.popular-label {
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    display: inline-block;
    margin-right: 8px;
}

.search-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.search-chip {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
}

.search-chip:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-chip:active {
    transform: translateY(0);
}

/* Desktop specific styling */
@media (min-width: 769px) {
    .popular-searches-all {
        margin-top: 24px;
    }
    
    .popular-label {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .search-chips {
        display: inline-flex;
    }
    
    .search-chip {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .search-chip:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .popular-searches-all {
        text-align: left;
        margin-top: 16px;
    }
    
    .popular-label {
        display: block;
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .search-chips {
        display: flex;
        justify-content: flex-start;
    }
    
    .search-chip {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Removed arrow hint - using gradient fade instead for cleaner look */


/* ========================================
   MODERN PRICING PAGE STYLES
   ======================================== */

/* Pricing Card Container */
.pricing-card-modern {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.pricing-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(224, 7, 7, 0.15);
    border-color: rgba(224, 7, 7, 0.1);
}

/* Popular Plan Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #ffa500 0%, #ff8800 100%);
    color: white;
    padding: 6px 45px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* Current Plan Badge */
.current-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #006B3F 0%, #004d2d 100%);
    color: white;
    padding: 6px 45px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0, 107, 63, 0.3);
}

/* Popular Plan Styling */
.pricing-card-modern.popular-plan {
    border: 2px solid #ffa500;
    box-shadow: 0 8px 32px rgba(255, 165, 0, 0.2);
    transform: scale(1.05);
}

.pricing-card-modern.popular-plan:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 16px 48px rgba(255, 165, 0, 0.25);
}

/* Current Plan Styling */
.pricing-card-modern.current-plan {
    border: 2px solid #006B3F;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff8 100%);
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #f8f9fa;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 20px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 700;
    color: #e00707;
    margin-right: 4px;
}

.plan-price .amount {
    font-size: 56px;
    font-weight: 900;
    color: #2c3e50;
    line-height: 1;
    letter-spacing: -2px;
}

.plan-price .period {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
    margin-left: 6px;
}

/* Listing Summary */
.listing-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

.listing-count {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.listing-count strong {
    font-size: 28px;
    font-weight: 800;
    color: #e00707;
}

.listing-breakdown {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

/* Pricing Features */
.pricing-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: #006B3F;
    font-size: 16px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.5;
    font-weight: 500;
}

/* Popular plan feature icons */
.popular-plan .feature-item i {
    color: #ffa500;
}

/* CTA Button */
.pricing-cta {
    margin-top: auto;
}

.btn-pricing-cta {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #e00707 0%, #b00505 100%);
    color: white;
    text-align: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(224, 7, 7, 0.3);
}

.btn-pricing-cta:hover {
    background: linear-gradient(135deg, #b00505 0%, #8a0404 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 7, 7, 0.4);
    color: white;
    text-decoration: none;
}

.btn-pricing-cta:active {
    transform: translateY(0);
}

/* Popular plan CTA */
.popular-plan .btn-pricing-cta {
    background: linear-gradient(135deg, #ffa500 0%, #ff8800 100%);
    box-shadow: 0 4px 16px rgba(255, 165, 0, 0.3);
}

.popular-plan .btn-pricing-cta:hover {
    background: linear-gradient(135deg, #ff8800 0%, #e67700 100%);
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4);
}

/* Current plan CTA */
.btn-pricing-cta.current {
    background: linear-gradient(135deg, #006B3F 0%, #004d2d 100%);
    box-shadow: 0 4px 16px rgba(0, 107, 63, 0.3);
}

.btn-pricing-cta.current:hover {
    background: linear-gradient(135deg, #004d2d 0%, #003820 100%);
    box-shadow: 0 8px 24px rgba(0, 107, 63, 0.4);
}

/* Admin button */
.btn-pricing-cta.admin-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}

.btn-pricing-cta.admin-btn:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    box-shadow: 0 8px 24px rgba(108, 117, 125, 0.4);
}

/* Responsive Design */
@media (max-width: 991px) {
    .pricing-card-modern.popular-plan {
        transform: scale(1);
    }
    
    .pricing-card-modern.popular-plan:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 767px) {
    .pricing-card-modern {
        padding: 30px 24px;
    }
    
    .plan-price .amount {
        font-size: 48px;
    }
    
    .popular-badge,
    .current-badge {
        font-size: 10px;
        padding: 5px 40px;
    }
}

