/*
Theme Name: Albazaarqa Qatar Theme
Theme URI: https://albazaarqa.com
Author: Albazaarqa Team
Description: Qatar's #1 Online Marketplace - Electronics, Services, Real Estate
Version: 1.0.0
License: GNU General Public License v2 or later
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #8B1538;
    --primary-dark: #6B0F2A;
    --secondary: #D4AF37;
    --white: #FFFFFF;
    --dark: #1A1A2E;
    --light: #F5F5F5;
    --gray: #666666;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-top { background: var(--primary); color: var(--white); padding: 8px 0; font-size: 13px; }
.header-main { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.site-logo { font-size: 28px; font-weight: 700; color: var(--primary); }
.site-logo span { color: var(--secondary); }

/* Hero */
.hero-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 80px 0; text-align: center; }
.hero-title { font-size: 48px; font-weight: 700; margin-bottom: 20px; }
.hero-title span { color: var(--secondary); }
.hero-subtitle { font-size: 20px; margin-bottom: 30px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 30px; border-radius: 30px; font-weight: 600; cursor: pointer; border: none; }
.btn-primary { background: var(--secondary); color: var(--dark); }
.btn-primary:hover { background: #C4A030; }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* Search */
.search-bar { display: flex; max-width: 600px; margin: 30px auto 0; }
.search-bar input { flex: 1; padding: 15px 20px; border: none; border-radius: 30px 0 0 30px; font-size: 16px; }
.search-bar button { padding: 15px 30px; border: none; border-radius: 0 30px 30px 0; background: var(--secondary); color: var(--dark); font-weight: 600; cursor: pointer; }

/* Categories */
.categories-section { padding: 60px 0; }
.section-title { font-size: 32px; text-align: center; margin-bottom: 40px; }
.categories-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.category-card { background: var(--white); border: 1px solid #eee; border-radius: 10px; padding: 30px 40px; text-align: center; transition: 0.3s; }
.category-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.category-icon { font-size: 40px; margin-bottom: 15px; }
.category-name { font-size: 16px; font-weight: 600; }

/* Products */
.products-section, .realestate-section { padding: 60px 0; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product-card, .property-card { background: var(--white); border: 1px solid #eee; border-radius: 10px; overflow: hidden; transition: 0.3s; }
.product-card:hover, .property-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.product-image, .property-image { height: 200px; background: #f8f8f8; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.product-info, .property-info { padding: 20px; }
.product-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.product-price, .property-price { font-size: 20px; font-weight: 700; color: var(--primary); }
.product-location { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* Services */
.services-section { padding: 60px 0; background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white); border-radius: 10px; overflow: hidden; display: flex; }
.service-icon { width: 100px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--white); }
.service-content { padding: 25px; }
.service-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.service-price { font-size: 24px; font-weight: 700; color: var(--primary); }
.service-desc { font-size: 14px; color: var(--gray); margin-top: 8px; }

/* COD Badge */
.cod-badge { display: inline-flex; align-items: center; gap: 8px; background: #28a745; color: white; padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.location-tag { display: inline-block; background: #f0f0f0; padding: 4px 10px; border-radius: 5px; font-size: 11px; color: var(--gray); }

/* Footer */
.site-footer { background: var(--dark); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.footer-logo span { color: var(--secondary); }
.footer-title { font-size: 16px; margin-bottom: 20px; color: var(--secondary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--white); opacity: 0.8; font-size: 14px; }
.footer-links a:hover { opacity: 1; color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 14px; opacity: 0.7; }

/* Contact Banner */
.contact-banner { background: var(--secondary); color: var(--dark); padding: 40px 0; text-align: center; }
.contact-title { font-size: 24px; margin-bottom: 15px; }
.contact-info { font-size: 18px; font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .header-main { flex-direction: column; gap: 20px; }
}