/* STYLES.CSS - THEME TARIF PREMIUM (GOLD & DARK) - v1.0 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Palette */
    --primary: #D4AF37; /* Gold */
    --primary-dark: #B8860B;
    --primary-light: #F7E9B9;
    --secondary: #0F172A; /* Deep Navy/Dark */
    --secondary-light: #1E293B;
    --accent: #E2E8F0;
    
    /* Neutrals */
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --dark: #020617;
    
    /* Semantic */
    --success: #10B981;
    --error: #EF4444;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Design Tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: var(--space-xl) 0; }

/* 2. TYPOGRAPHY */
h1, h2, h3, h4 { color: var(--secondary); line-height: 1.1; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }

.text-gold {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary) !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.5);
    border: 1px solid var(--primary);
}
.btn-primary:hover {
    background: var(--primary);
    color: var(--secondary) !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--secondary);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}
.btn-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 3s infinite;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* 4. HEADER */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
}
.logo i { color: var(--primary); }
.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: var(--space-lg);
    font-weight: 600;
    color: var(--gray-600);
}
.nav-links a:hover { color: var(--primary); }

/* 5. HERO */
.hero {
    padding: var(--space-xxl) 0;
    background: var(--white);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: var(--space-xl);
}

.hero-content { position: relative; z-index: 2; }
.hero-content h1 { margin-bottom: 2rem; }
.hero-content p { font-size: 1.25rem; color: var(--gray-500); margin-bottom: 2.5rem; max-width: 90%; }

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: rotate(2deg);
    border: 8px solid white;
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* 6. WIDGET SECTION */
.widget-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-2xl);
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid var(--primary-light);
}

/* 7. CARDS & GRIDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before { height: 100%; }

.icon-box {
    width: 64px;
    height: 64px;
    background: var(--gray-50);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--primary);
    border: 1px solid var(--gray-100);
}

/* 8. BADGES */
.badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.badge-gold { background: var(--primary); color: var(--secondary); }
.badge-dark { background: var(--secondary); color: var(--primary); }

/* 9. REVEAL ANIMATIONS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 10. BREADCRUMBS */
.breadcrumb {
    padding: 24px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb-current { color: var(--primary-dark); font-weight: 700; }

/* 11. PAGE HEADER */
.page-header {
    background: var(--secondary);
    padding: var(--space-xl) 0;
    color: white;
    text-align: center;
}

.page-header h1 { color: var(--primary) !important; margin-bottom: 1rem; }
.page-header p { color: var(--gray-400); font-size: 1.2rem; max-width: 700px; margin: 0 auto; }

/* 12. DIRECTORY GRIDS */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.region-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    text-align: center;
}
.region-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-5px);
}
.region-card:hover h3 { color: var(--secondary); }

.cities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.city-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}
.city-link:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateX(5px);
}

/* 13. FAQ SECTION */
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--gray-600);
}
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.faq-item.active .faq-answer { padding: 0 1.5rem 1.5rem; max-height: 500px; }
.faq-item.active .faq-question { color: var(--primary-dark); }

/* 14. FOOTER */
.site-footer {
    background: var(--secondary);
    color: var(--gray-400);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-title { color: white; font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--primary); }

/* 15. STICKY CTA */
.sticky-cta {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 1000;
    width: 90%;
    max-width: 450px;
    transition: var(--transition);
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-img { height: 450px; }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}