/* HemenBurda - Public CSS */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --card: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,.1);
    --radius: 12px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* Header */
.hb-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.hb-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.hb-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.hb-logo i { font-size: 24px; }
.hb-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hb-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: .2s;
}
.hb-nav a:hover { color: var(--primary); }
.hb-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Main */
.hb-main { min-height: 100vh; }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.hero-title { font-size: 42px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.hero-subtitle { font-size: 16px; opacity: .85; margin-bottom: 30px; }
.text-accent { color: var(--accent); }
.hero-search {
    max-width: 500px;
    margin: 0 auto;
}
.search-box {
    display: flex;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.search-box i { display: flex; align-items: center; padding: 0 12px; color: var(--text-muted); }
.search-box select {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 10px;
    font-family: inherit;
}

/* Sections */
.section { padding: 60px 20px; }
.section-alt { background: var(--bg-alt); }
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #fff;
    text-align: center;
}
.cta-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-content p { font-size: 16px; opacity: .85; margin-bottom: 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.section-header h2 { font-size: 24px; font-weight: 700; }
.section-header p { color: var(--text-muted); font-size: 14px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: inherit;
}
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-phone { background: var(--success); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: .2s;
}
.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--cat-color, var(--primary));
}
.cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: var(--cat-color, var(--primary));
    flex-shrink: 0;
}
.cat-info h3 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cat-info span { font-size: 12px; color: var(--text-muted); }

/* Business Grid */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.business-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .2s;
    position: relative;
}
.business-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.1);
}
.business-card.premium-card {
    border: 2px solid var(--accent);
}
.premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}
.biz-logo {
    height: 160px;
    overflow: hidden;
    background: var(--bg-alt);
}
.biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255,255,255,.8);
}
.biz-info { padding: 16px; }
.biz-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.biz-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.biz-category { font-size: 12px; font-weight: 600; }
.biz-category i { margin-right: 4px; }
.biz-rating { font-size: 13px; color: var(--accent); font-weight: 600; }
.biz-rating i { margin-right: 2px; }
.biz-location {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.biz-location i { margin-right: 4px; }
.biz-contact {
    display: flex;
    gap: 8px;
}

/* City Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.city-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    transition: .2s;
}
.city-card:hover, .city-card.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-gold { background: #fef3c7; color: #92400e; }

/* Footer */
.hb-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 50px 20px 0;
}
.hb-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.hb-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.hb-footer-brand p { font-size: 13px; line-height: 1.6; }
.hb-footer-links h4, .hb-footer-contact h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.hb-footer-links a {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    padding: 4px 0;
    transition: .2s;
}
.hb-footer-links a:hover { color: #fff; }
.hb-footer-contact p { font-size: 13px; margin-bottom: 8px; }
.hb-footer-contact i { margin-right: 6px; width: 16px; }
.hb-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.hb-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .2s;
}
.hb-footer-social a:hover { background: var(--primary); }
.hb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .hb-nav { display: none; }
    .hb-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,.1);
    }
    .hb-menu-toggle { display: block; }
    .hero-title { font-size: 28px; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .business-grid { grid-template-columns: 1fr; }
    .hb-footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .section-header { flex-direction: column; gap: 10px; text-align: center; }
}
