/* ==========================================================================
   1. BASE RESET & VARIABLES (Əsas Tənzimləmələr və Dəyişənlər)
   ========================================================================== */
:root {
    --primary: #111111;
    --accent: #b8977e; /* Elegant qızılı/bürünc ton */
    --bg-light: #fafafa;
    --text-muted: #666;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --gradient-2: linear-gradient(135deg, #111111, #b8977e);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (Menyu Hissəsi)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eaeaea;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: none;
    background: none;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-left: 30px;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--accent);
}

/* ==========================================================================
   3. HERO SECTION & INTRO
   ========================================================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&q=80&w=1800') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #ffffff;
    color: var(--primary);
}

.intro-section {
    padding: 100px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    scroll-margin-top: 80px;
}

.intro-section h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* ==========================================================================
   4. MARQUEE & SLIDER (Karusellər və Slaydşou)
   ========================================================================== */
.marquee-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.distributor-bg {
    background: linear-gradient(180deg, #ffffff 0%, #f4f1ea 100%);
}

.partners-bg {
    background: linear-gradient(135deg, #1e272e 0%, #0f172a 100%);
    color: #fff;
}

.partners-bg .section-title { color: #fff; }
.partners-bg .section-subtitle { color: #94a3b8; }

.section-title {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: var(--primary);
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    padding: 20px 0;
    user-select: none;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    gap: 40px;
    animation: scrollMarquee 35s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333;
    background: #fff;
    padding: 18px 35px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.brand-item {
    font-family: var(--font-serif);
    font-size: 24px;
    color: #fff;
    background: var(--gradient-2);
    border: none;
    padding: 22px 50px;
    box-shadow: 0 15px 30px rgba(184, 151, 126, 0.3);
}

.brand-item i { color: #fff !important; font-size: 24px; }

.partners-bg .marquee-item {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.partners-bg .marquee-item:nth-child(3n+1) i { color: #3498db; }
.partners-bg .marquee-item:nth-child(3n+2) i { color: #2ecc71; }
.partners-bg .marquee-item:nth-child(3n+3) i { color: #f1c40f; }

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Slaydşou */
.why-us-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.slider-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    background: #fff;
}

.slides {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
}

.slide-image {
    flex: 1 1 50%;
    height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    flex: 1 1 50%;
    padding: 60px;
    text-align: left;
    position: relative;
}

.slide-num {
    font-family: var(--font-serif);
    font-size: 48px;
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 10px;
    font-style: italic;
}

.slide-content h3 {
    font-family: var(--font-serif);
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.3;
}

.slide-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 20px;
}

.brand-link {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 3px;
    font-weight: 500;
    transition: color 0.3s, border-color 0.3s;
}

.brand-link:hover { color: var(--primary); border-color: var(--primary); }

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 520px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    z-index: 10;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }
.prev-btn:hover, .next-btn:hover { background: var(--primary); color: #fff; }

.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 10px;
}

/* ==========================================================================
   5. CATEGORIES GRID & INTERFACES (Məhsul Kartları)
   ========================================================================== */
.categories {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    scroll-margin-top: 80px;
}

.cat-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-card:hover img {
    transform: scale(1.05);
}

.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #ffffff;
}

.cat-overlay h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.cat-overlay span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 500;
}

/* ==========================================================================
   6. FOOTER (Əlaqə və Sonluq)
   ========================================================================== */
footer {
    background-color: var(--primary);
    color: #ffffff;
    padding: 80px 20px;
    border-top: 1px solid #2e2e2e;
    scroll-margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo h4 {
    font-family: var(--font-serif);
    font-size: 26px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-logo p {
    color: #999;
    font-size: 14px;
    font-weight: 300;
    max-width: 350px;
}

.footer-links h5 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 300;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover { color: #ffffff; }
.footer-links i { color: var(--accent); width: 16px; }

.copyright {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid #2e2e2e;
    text-align: center;
    font-size: 11px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   7. FLOATING BUTTONS (WhatsApp və Tidio Sağda, Yuxarı Qayıt Solda)
   ========================================================================== */

/* --- 1. YUXARI QAYIT DÜYMƏSİ (SOL ALT KÜNCDƏ) --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Sola yerləşdirildi */
    right: auto !important;
    width: 50px;
    height: 50px;
    background-color: #111111;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: #b8977e;
    color: #ffffff;
    transform: translateY(-5px);
}

.crypto-bot-container, .whatsapp-fixed {
    position: fixed;
    bottom: 105px; /* Tidio-nun tam üstünə qaldırıldı */
    right: 25px;   /* Sağa bərkidildi */
    left: auto !important;
    z-index: 99999;
    font-family: 'Montserrat', sans-serif;
}

.whatsapp-fixed {
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-fixed svg { 
    width: 28px; 
    height: 28px; 
    fill: currentColor; 
}

/* WhatsApp Çat Pəncərəsi (Sağdan sola doğru açılır) */
.bot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    left: auto !important;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
    flex-direction: column;
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- 3. TİDİO BOTU (SAĞ EN AŞAĞIDA) --- */
#tidio-chat iframe {
    right: 30px !important;
    left: auto !important;
    bottom: 20px !important;
}

/* Geri qayıtmaq üçün link düyməsi */
.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    border: 1px solid #111111;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.back-to-home-btn:hover {
    background-color: transparent;
    color: #b8977e;
    border-color: #b8977e;
}
/* ==========================================================================
   8. RESPONSIVE DESIGN (Mobil Cihazlar Üçün Uyğunluq)
   ========================================================================== */
@media (max-width: 900px) {
    /* Ümumi Struktur və Başlıqlar */
    .hero-content h1 { font-size: 3rem; }
    .section-title { font-size: 32px; }
    .categories { grid-template-columns: 1fr; gap: 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    
    /* Mobil Menyu (Hamburger) */
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        transition: right 0.4s ease;
        z-index: 1000;
    }
    nav.active { right: 0; }
    nav a { margin-left: 0; font-size: 16px; }

    /* ==========================================
       PREMIUM SLAYDERİN MOBİLDƏ TAM ALT-ALTA DÜZÜLMƏSİ
       ========================================== */
    
    /* 1. Slayd kartının mövqeyini və düzülüşünü tam sıfırlayırıq */
    .slide {
        display: block !important; /* Blok edirik ki, alt-alta məcburi düşsünlər */
        position: relative !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }

    /* 2. Şəkil bloku yuxarıda tam en ilə oturur */
    .slide-image {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 280px !important; /* Mobil üçün şəkil hündürlüyü */
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }
    
    .slide-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* 3. Mətn bloku şəklin ÜZƏRİNDƏN ÇIXIR və altına keçir */
    .slide-content {
        position: relative !important; /* Üst-üstə düşməni ləğv edən əsas kod */
        width: 100% !important;
        height: auto !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        padding: 30px 20px !important; /* Mətnin daxili boşluqları */
        background: #ffffff !important; /* Ağ kartın fonu davam etsin */
        display: block !important;
    }

    .slide-content h3 {
        font-size: 24px !important; 
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    /* 4. Ox düymələrini şəklin ortasına bağlayırıq */
    .prev-btn, .next-btn {
        height: 40px !important;
        width: 40px !important;
        top: 140px !important; /* Şəklin (280px) tam yarısı */
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 50%;
        z-index: 10 !important;
    }
    .prev-btn { left: 10px !important; }
    .next-btn { right: 10px !important; }
    
    /* Brendlər və İnfo Lent (Marquee) */
    .marquee-content { gap: 20px; animation: scrollMarquee 20s linear infinite; }
    .marquee-item { font-size: 13px; padding: 12px 25px; }
    .brand-item { font-size: 18px; padding: 15px 30px; }
}