/* ============================================
   MODERN HOMEPAGE STYLES - ByzBook
   Clean, Professional Design with Light Theme
   ============================================ */

/* Clean Hero Section - Light Background */
.clean-hero {
    background: #f8f9fa;
    padding: 60px 0;
}

.clean-hero h1,
.clean-hero .display-3 {
    color: #212529;
}

.clean-hero .text-primary {
    color: #0d6efd !important;
}

.clean-hero .lead {
    color: #6c757d;
}

/* Stat Cards */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    padding: 20px;
}

.showcase-card {
    animation: floatCard 6s infinite ease-in-out;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}


/* Search Section - Clean White Card */
.search-section {
    background: #ffffff;
    padding: 60px 0;
}

.search-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Filter Pills */
.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Business Cards - Clean Design */
.modern-business-card {
    transition: all 0.3s ease;
}

.shadow-hover {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.business-logo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.business-logo-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.card-img-container {
    overflow: hidden;
}

.card-img-container img {
    transition: transform 0.5s ease;
}

.modern-business-card:hover .card-img-container img {
    transform: scale(1.08);
}

.feature-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
}

/* Category Cards - Icon Based */
.category-card-modern {
    transition: all 0.3s ease;
}

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

.category-card-modern:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.icon-wrapper {
    transition: all 0.3s ease;
}

/* Buttons */
.btn-lg {
    font-size: 1rem;
    font-weight: 600;
}

.btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-light:hover {
    background: white;
    color: #667eea;
    border-color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Rounded Pills */
.rounded-pill {
    border-radius: 50rem;
}

/* Shadow Utilities */
.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .clean-hero {
        padding: 40px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        padding: 20px 0;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .filter-pill {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Trust Badge Animation */
.trust-badge .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Accessibility */
.btn:focus,
.card:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Backdrop Blur for Stat Cards */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
