/* Header / Navbar */
header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 50;
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    transition: background 0.3s ease, padding 0.3s ease; /* Yumşaq keçidlər */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    z-index: 51; /* Mobil menyunun üstündə qalması üçün */
}

.nav-links {
    display: flex;
    gap: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}

.nav-links a:hover { color: var(--accent-color); }

.contact-btn {
    background-color: transparent;
    color: #fff;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.contact-btn:hover { background-color: #fff; color: var(--text-main); }


/* =======================================
   RESPONSIVE (MOBİL) TƏNZİMLƏMƏLƏR
   ======================================= */

/* Geniş ekranda mobil elementləri gizlədirik */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 51;
}

.mobile-only-admin {
    display: none;
}

/* Planşetlər və böyük telefonlar (Max: 768px) */
@media (max-width: 768px) {
    header {
        padding: 20px 0;
        background: rgba(18, 18, 18, 0.85); /* Mobildə oxunaqlılıq üçün arxa fon biraz tündləşir */
    }
    
    .desktop-admin-btn {
        display: none; /* Desktop düyməsi yox olur */
    }
    
    .mobile-toggle {
        display: block; /* Hamburger düyməsi gəlir */
    }
    
    /* Açılan menyu dizaynı (Slide-down effekti) */
    .nav-links {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #121212; /* Dark rejim arxa fonu */
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 0;
        max-height: 0; /* Default olaraq gizlidir */
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    /* JavaScript ilə '.active' class-ı əlavə olunanda */
    .nav-links.active {
        max-height: 400px; /* Menyu yumşaq şəkildə aşağı sürüşür */
        padding: 30px 0;
        gap: 25px;
    }
    
    .nav-links a {
        font-size: 16px;
    }
    
    /* Mobil menyunun içindəki Admin düyməsi */
    .mobile-only-admin {
        display: inline-block;
        margin-top: 10px;
        padding: 12px 35px;
        background-color: #D4AF37; /* Qızılı rəngimiz */
        color: #fff !important;
        border-radius: 40px;
        font-weight: 600;
        text-align: center;
        letter-spacing: 1px;
    }
    
    .mobile-only-admin:hover {
        background-color: #b8972e;
    }
}

/* Kiçik Telefonlar (Max: 480px) */
@media (max-width: 480px) {
    header {
        padding: 15px 0;
    }
    .logo {
        font-size: 22px; /* Çox kiçik ekranda logo biraz balacalaşır */
    }
    .nav-links a {
        font-size: 15px;
    }
}






/* Chatbase Düyməsini Vebsayt Stilimizə Uyğunlaşdırırıq */
#chatbase-bubble-button {
    background-color: var(--accent-color) !important; /* Bizim qızılı rəng */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3) !important; /* Qızılı kölgə */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#chatbase-bubble-button:hover {
    transform: scale(1.1) translateY(-5px) !important;
    background-color: #b8972e !important; /* Daha tünd qızılı */
}

/* Chatbase pəncərəsinin (iframe) kənarlarını yumşaltmaq */
#chatbase-message-bubble {
    border-radius: 16px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

/* Əgər ikon rəngini dəyişmək lazımdırsa */
#chatbase-bubble-button svg {
    fill: #fff !important;
}
