/*
Theme Name: Iron TV Pro Premium
Theme URI: https://irontvpro.com
Author: Gemini AI
Description: Un thème WordPress/WooCommerce haut de gamme conçu spécifiquement pour la vente d'abonnements IPTV. Design sombre et doré, ultra-rapide et optimisé pour la conversion.
Version: 3.5
Language: fr_FR
*/

/* 1. المتغيرات الأساسية (Global Variables) */
:root {
    --gold: #ffcc00;
    --gold-hover: #e6b800;
    --dark: #0a0a0a;
    --dark-grey: #121212;
    --card-bg: #161616;
    --border: #222222;
    --white: #ffffff;
    --gray: #a0a0a0;
    --text-muted: #888888;
}

/* 2. إعادة ضبط التنسيقات (Reset & Base) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark);
    color: var(--white);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

/* 3. الهيدر (Header Layout) */
.main-header {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* الشعار يساراً */
.logo-container {
    flex: 0 1 250px;
}
.logo-container img {
    max-height: 55px;
    display: block;
}
.logo-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 1px;
}

/* القائمة في المنتصف */
.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-list li a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}
.nav-list li a:hover {
    color: var(--gold);
}

/* زر الاشتراك يميناً */
.header-right {
    flex: 0 1 250px;
    display: flex;
    justify-content: flex-end;
}

/* 4. الأزرار (Buttons) */
.btn-gold {
    background-color: var(--gold);
    color: #000;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.2);
}

/* 5. القائمة للجوال (Mobile Menu) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}
.bar {
    width: 28px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .navigation {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--dark-grey);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px;
        transition: 0.4s ease-in-out;
        border-right: 1px solid var(--border);
    }
    .navigation.active { left: 0; }
    .nav-list { flex-direction: column; gap: 25px; }
    .header-right { display: none; }
}

/* 6. الجداول والبطاقات (Cards & Shop) */
.product-card-premium {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: 0.4s;
}
.product-card-premium:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

/* 7. الأسئلة الشائعة (FAQ Accordion) */
.faq-item {
    background: #111;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--white);
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    color: var(--gray);
}
.faq-answer p { padding-bottom: 20px; }

/* 8. ووكومرس (WooCommerce Fixes) */
.woocommerce-Price-amount { color: var(--gold); font-weight: bold; }
.single_add_to_cart_button { margin-top: 20px; }