/* =========================================
   🏢 CLEO SHOP - GLOBAL FOUNDATION (V1.2)
   ========================================= */

:root {
    --gold: #D4AF37;
    --gold-light: #F2D06B;
    --dark-bg: #0a0a0a;
    --card-bg: #141414;
    --border: #333333;
    --white: #ffffff;
    --success: #28a745;
}

/* 1. Base Reset & RTL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--white);
    direction: rtl;
    /* System fonts first to prevent FOIT */
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.luxury-font {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.text-gold { 
    color: var(--gold) !important; 
}

/* 2. Global Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    z-index: 1000;
    height: 60px;
}

/* 3. Hero Section */
.hero-section {
    background: radial-gradient(circle at top, #1a1a1a 0%, #0a0a0a 100%);
    padding: 60px 0;
}

/* 4. Global Buttons & Inputs */
.btn-gold {
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    border: none;
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 24px;
    transition: 0.2s;
    cursor: pointer;
}

.btn-gold:hover {
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    transform: scale(1.03);
}

.btn-gold:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.custom-input {
    background: #1a1a1a !important;
    border: 1px solid var(--border) !important;
    color: white !important;
    padding: 14px !important;
    border-radius: 12px !important;
}

/* 🚀 FIX: Dropdown arrow positioning for RTL (Arabic) */
.form-select.custom-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23D4AF37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 16px 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding-left: 2.5rem !important; /* Space for the arrow on the left */
    padding-right: 1rem !important;
}

/* 🚀 ACCESSIBILITY: Premium Luxury Focus Rings */
.custom-input:focus, 
.btn-gold:focus {
    outline: 3px solid var(--gold-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2) !important;
}

/* 5. Global Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    margin-top: 50px;
}

/* 6. Animations */
@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

#success-screen {
    animation: slideIn 0.4s ease-out forwards;
}