/* CSS RESET & GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a; /* Slate 900 */
    --secondary-color: #1e3a8a; /* Blue 900 */
    --accent-color: #d97706; /* Amber 600 */
    --accent-hover: #b45309;
    --text-main: #334155; /* Slate 700 */
    --bg-light: #f8fafc; /* Slate 50 */
    --white: #ffffff;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ar), var(--font-en), sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    text-align: right; /* Default RTL spacing */
}

/* CONTAINER UTILITY */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP INFO BAR */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--accent-color);
}

.bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-link {
    color: #cbd5e1;
    text-decoration: none;
    font-family: var(--font-en);
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--accent-color);
}

.badge {
    background-color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

/* MAIN HEADER & NAVIGATION */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-area h1 {
    font-family: var(--font-en);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-area h1 span {
    color: var(--accent-color);
    font-weight: 400;
}

.sub-logo {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: -3px;
    font-weight: bold;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav .btn-nav {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 6px;
}

.main-nav .btn-nav:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.tagline {
    background-color: rgba(217, 119, 6, 0.2);
    border: 1px solid var(--accent-color);
    color: #fef08a;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-section h2 {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-section h2 span {
    color: var(--accent-color);
}

.arabic-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.hero-desc {
    max-width: 800px;
    margin: 0 auto 35px auto;
    font-size: 1.15rem;
    color: #cbd5e1;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background-color: #22c55e; /* Green for WhatsApp */
    color: var(--white);
}

.btn-primary:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ABOUT SECTION */
.about-section {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.card-en {
    text-align: left;
    font-family: var(--font-en);
    border-top-color: var(--accent-color);
}

.lang-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-en .lang-indicator {
    right: auto;
    left: 15px;
}

.about-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-card .lead {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.features-list {
    margin-top: 20px;
    list-style: none;
}

.features-list li {
    margin-bottom: 10px;
    font-weight: 600;
}

.card-ar .features-list li {
    color: #1e293b;
}

/* BRANDS SECTION */
.brands-section {
    background-color: #f1f5f9;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-en);
    font-size: 2.2rem;
    color: var(--primary-color);
}

.title-arabic {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 600;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.brand-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-logo-placeholder {
    height: 100px;
    background-color: #f8fafc;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed #cbd5e1;
}

.brand-logo-placeholder img {
    max-height: 80px;
    max-width: 90%;
    object-fit: contain;
}

.fallback-text {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.brand-item h3 {
    font-family: var(--font-en);
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.origin {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.origin.tr {
    background-color: #fee2e2;
    color: #ef4444;
}

.origin.cn {
    background-color: #ffedd5;
    color: #f97316;
}

.brand-text {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
    text-align: left;
}

.brand-text-ar {
    font-size: 0.95rem;
    color: #334155;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

/* PRODUCT CATEGORIES */
.categories-section {
    padding: 80px 0;
    background-color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background-color: var(--bg-light);
    border: 1px solid #e2e8f0;
    padding: 25px 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.category-card:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.category-card:hover h4, .category-card:hover h5 {
    color: var(--white);
}

.category-card .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-card h4 {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: var(--primary-color);
}

.category-card h5 {
    font-size: 1.05rem;
    color: var(--accent-color);
}

.all-inclusive {
    text-align: center;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    color: #92400e;
}

/* STOCK SHOWCASE / GALLERY */
.gallery-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.img-container {
    height: 250px;
    background-color: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .img-container img {
    transform: scale(1.05);
}

.item-meta {
    padding: 15px;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.item-meta h4 {
    font-family: var(--font-en);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.item-meta p {
    font-size: 0.85rem;
    color: #64748b;
}

/* CONTACT & FOOTER */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px 0;
}

.contact-box {
    text-align: center;
}

.contact-box h2 {
    font-family: var(--font-en);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.contact-sub-ar {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #94a3b8;
}

.link-highlight {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    transition: color 0.3s;
}

.info-card:hover .link-highlight {
    color: var(--accent-color);
}

.footer-note {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* RESPONSIVE RESPONSIVENESS */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-section h2 {
        font-size: 2rem;
    }
    .arabic-title {
        font-size: 1.4rem;
    }
}
