/* ==========================================================================
   MEDTOUR.AZ - ƏSAS STİL FAYLI (assets/css/style.css)
   Travel For Health Platforması
   ========================================================================== */

/* 1. GOOGLE FONTS İMPORTU */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* 2. RƏNG PALİTRASI VƏ DİZAYN DƏYİŞƏNLƏRİ (DESIGN TOKENS) */
:root {
    /* Loqonun və Brendin Orijinal Yaşıl Tonları */
    --brand-50: #f4f9ee;
    --brand-100: #e5f3d8;
    --brand-200: #cee8b6;
    --brand-300: #add88a;
    --brand-400: #86c25a;
    --brand-500: #5ea813; /* Canlı yarpaq yaşılı (Loqo rəngi) */
    --brand-600: #4d8c0f; /* Əsas düymə və vurğu yaşılı */
    --brand-700: #3a6c0f;
    --brand-800: #1b4a2c;
    --brand-900: #0c371e; /* Tünd meşə yaşılı (Loqo mətni) */
    --brand-dark: #082414; /* Ən tünd arxa fon */
    --brand-accent: #7ec822;

    /* Neytral Bozlar */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Şrift */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Qradiyentlər */
    --gradient-hero: linear-gradient(135deg, rgba(12, 55, 30, 0.95) 0%, rgba(8, 36, 20, 0.90) 100%);
    --gradient-text: linear-gradient(135deg, #add88a 0%, #d9f99d 50%, #a7f3d0 100%);
}

/* 3. ÜMUMİ RESET VƏ SƏHİFƏ BAZASI */
html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--slate-50);
    color: var(--slate-800);
    overflow-x: hidden;
}

/* Alpine.js Yüklənərkən Qırpınmanın (Flicker) Qarşısını Almaq Üçün */
[x-cloak] {
    display: none !important;
}

/* 4. BAŞLIQ (HEADER) VƏ NAVİQASİYA */
.glass-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Loqo İkonunun Təbii Animasiyası */
.logo-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-group:hover .logo-icon {
    transform: scale(1.06) rotate(3deg);
}

/* 5. HERO BÖLMƏSİ VƏ QRADİYENTLƏR */
.hero-gradient {
    background: var(--gradient-hero);
}

.text-gradient-hero {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 6. SANATORİYA KARTLARI VƏ EFFEKTLƏRİ */
.card-hover-effect {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Kart Şəkillərinin Yüngül Zoom Olunması */
.card-hover-effect .image-zoom {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover .image-zoom {
    transform: scale(1.05);
}

/* 7. DÜYMƏLƏR VƏ FORM ELEMENTLƏRİ */
.btn-primary {
    background-color: var(--brand-600);
    color: #ffffff;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.625rem 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(77, 140, 15, 0.3);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--brand-700);
    box-shadow: 0 10px 20px -3px rgba(77, 140, 15, 0.45);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Form İnputlarının Focus Çərçivəsi */
.form-input-focus:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(94, 168, 19, 0.25);
}

/* 8. SABİT WHATSAPP DÜYMƏSİ VƏ NƏBİZ (PULSE) ANİMASİYASI */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
    background-color: #25D366;
    color: #ffffff;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, background-color 0.2s ease;
}

.whatsapp-floating-btn:hover {
    background-color: #20ba59;
    transform: scale(1.1);
}

.whatsapp-floating-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background-color: #25D366;
    opacity: 0.4;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* 9. MODAL PƏNCƏRƏ VƏ ARXA FON */
.modal-backdrop {
    background-color: rgba(8, 36, 20, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 10. XÜSUSİ SƏLİQƏLİ SCROLLBAR */
::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-500);
}