/* Navbar Cam Efekti */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Ürün Kartı Hover Efektleri */
.product-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

/* Swiper Özel Renkleri */
.swiper-pagination-bullet-active {
    background: #43B02A !important;
}


/* Metin Parlama Efekti */
.glow-text {
    transition: all 0.8s ease;
    display: inline-block;
}

/* AOS ile tetiklendiğinde çalışacak efekt */
[data-aos="glow-anim"].aos-animate {
    color: #43B02A; /* Herbalife Yeşili */
    font-weight: 800;
    text-shadow: 0 0 15px rgba(67, 176, 42, 0.4);
    transform: scale(1.05);
}

/* Resim çerçevesi için özel kısıtlama */
.about-image-container {
    max-height: 85vh; /* Ekran yüksekliğinin %85'ini geçme */
}



/* Galeri Kart Efekti */
/* Galeri Kartı - Dikey Format Ayarı */
.gallery-card {
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Daha hızlı ve akıcı geçiş */
    transform: scale(0.85);
    opacity: 0.4;
    filter: grayscale(100%) blur(2px); /* Yanlardaki resimler siyah-beyaz ve flu */
}

/* Aktif (Ortadaki) Dikey Kart */
.swiper-slide-active .gallery-card {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0%) blur(0);
    z-index: 20;
}

/* Mobil için dikey oran kısıtlaması */
.gallery-img-container {
    aspect-ratio: 2 / 3; /* Tam dikey (Portrait) oran */
    width: 100%;
}

/* Resim altı sözler için stil */
.gallery-quote {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.3s;
}

.swiper-slide-active .gallery-quote {
    opacity: 1;
    transform: translateY(0);
}


/* --- GENEL AYARLAR --- */
:root {
    --hb-green: #43B02A;
    --hb-dark-green: #2e7d1c;
}

/* --- KATEGORİ NAV PREMIUM --- */
.category-scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.category-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: max-content;
    padding-bottom: 0.5rem;
}

.cat-btn {
    position: relative;
    flex: 0 0 auto;
    background: transparent !important;
    border: none !important;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.8rem 0.35rem;
    transition: all 0.3s ease;
}

.cat-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #43B02A, #7ddc67);
    transition: width 0.35s ease;
}

.cat-btn:hover {
    color: #1e293b;
}

.cat-btn:hover::after,
.cat-btn.active-cat::after {
    width: 100%;
}

.cat-btn.active-cat {
    color: #43B02A !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    border: none !important;
}

@media (max-width: 767px) {
    .category-scroll {
        justify-content: flex-start;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .cat-btn {
        font-size: 10px;
        padding: 0.75rem 0.2rem;
    }
}

/* --- ÜRÜN KARTI (Grid & Equal Height) --- */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Kartların yüksekliğini eşitler */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    background: white;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: var(--hb-green);
}

/* --- ÜRÜN RESİM NOKTALARI (Dots) --- */
.product-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background-color: #cbd5e1; /* slate-300 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.product-dot.active {
    width: 20px; /* Aktif nokta uzar (Instagram stili) */
    background-color: var(--hb-green);
    box-shadow: 0 0 10px rgba(67, 176, 42, 0.3);
}

/* --- METİN SINIRLANDIRMA (Line Clamp Hatası Çözümü) --- */
/* Uyarıyı gidermek için hem standart hem webkit özelliklerini ekledik */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Safari/Chrome için */
    line-clamp: 3;         /* Standart CSS özelliği */
    overflow: hidden;
    min-height: 3.6em; /* Kartların dengesi için minimum 3 satırlık yer ayırır */
}

/* --- GALERİ (Dikey & Peek Effect) --- */
.gallery-card {
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(0.85);
    opacity: 0.4;
    filter: grayscale(100%) blur(2px);
}

.swiper-slide-active .gallery-card {
    transform: scale(1.05);
    opacity: 1;
    filter: grayscale(0%) blur(0);
}

/* --- YARDIMCI SINIFLAR --- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Hakkımızda Parlama Efekti */
.glow-text {
    transition: all 0.8s ease;
}

[data-aos="glow-anim"].aos-animate {
    color: var(--hb-green);
    font-weight: 800;
    text-shadow: 0 0 15px rgba(67, 176, 42, 0.3);
}





.logo-container {
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    letter-spacing: -0.04em; /* Harfleri birbirine biraz yaklaştırarak "Logo" havası verir */
}

.logo-kilo {
    color: #4ade80; /* hbGreen */
    font-weight: 900;
}

.logo-fit {
    color: #1e293b; /* slate-800 */
    font-weight: 900;
    margin-right: 2px;
}

.logo-kal {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: #4ade80;
    font-size: 1.1em; /* Bir tık daha büyük durması şık olur */
    margin-left: -1px;
}



/* İletişim Widget Tasarımı */
.contact-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Ana Buton (Firma Sahibi Resmi) */
.main-contact-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    border: 3px solid #4ade80; /* hbGreen */
    padding: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floating 3s ease-in-out infinite;
    position: relative;
}

.main-contact-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Hoşgeldiniz Baloncuğu */
.welcome-bubble {
    position: absolute;
    right: 85px;
    bottom: 15px;
    background: white;
    padding: 12px 20px;
    border-radius: 20px 20px 0 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.welcome-bubble.show {
    opacity: 1;
    transform: translateX(0);
}

/* Alt Menü (Açılır Linkler) */
.contact-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.contact-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: scale(1.15) rotate(5deg);
}

.item-whatsapp { 
    background-color: #25D366; /* Resmi WhatsApp Yeşili */
}
.item-phone { 
    background-color: #007AFF; /* Apple/Standard Telefon Mavisi */
}
.item-instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* İkonların buton içinde tam oturması için */
.contact-item svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

/* Floating Animasyonu */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}



/* Blog Kartlarını Eşitleme */
.blogSwiper .swiper-slide {
    height: auto; /* Otomatik yükseklik */
}
.blog-card {
    height: 100%; /* Tüm kartlar aynı boy */
    display: flex;
    flex-direction: column;
}
.blog-card-content {
    flex-grow: 1; /* İçerik alanı boşluğu doldurur */
}

/* Pagination (Noktalar) için boşluk */
.blogSwiper {
    padding-bottom: 50px !important;
}
.swiper-pagination-bullets {
    bottom: 0 !important;
}



/* NAVBAR ANA YAPI */
#main-nav {
    background-color: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

#main-nav.nav-active {
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* MASAÜSTÜ MENÜ GÖRÜNÜRLÜK GARANTİSİ */
@media (min-width: 768px) {
    #main-nav .desktop-nav {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
    }
}

/* MENÜ LINKLERİ */
#main-nav .menu-link {
    color: #334155 !important;
    text-decoration: none;
}

#main-nav .menu-link:hover {
    color: #43B02A !important;
}

/* CTA BUTONU */
#main-nav .nav-cta-btn {
    color: #43B02A !important;
    border-color: #43B02A !important;
    background: #ffffff !important;
}

#main-nav .nav-cta-btn:hover {
    background: #43B02A !important;
    color: #0f172a !important;
}

/* MOBİL MENÜ */
#mobile-menu {
    z-index: 1001;
}








/* MOBİL MENÜ YENİ TASARIM */
.mobile-menu-panel {
    z-index: 1001;
    background: transparent;
}

.mobile-menu-inner {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(67, 176, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border-radius: 1.75rem;
    padding: 1.1rem 1.15rem 1.2rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.mobile-menu-link {
    display: block;
    text-align: right;
    font-weight: 800;
    font-size: 0.98rem;
    color: #1e293b !important;
    text-decoration: none;
    padding: 0.2rem 0 0.95rem 0;
    position: relative;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}

.mobile-menu-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(134, 239, 172, 0.15), #43B02A, rgba(21, 128, 61, 0.9));
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    color: #43B02A !important;
    transform: translateX(-4px);
}

.mobile-menu-link:hover::after {
    width: 88%;
    box-shadow: 0 0 12px rgba(67, 176, 42, 0.25);
}

/* CTA BUTONU */
.mobile-menu-cta {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding: 1rem 1.2rem;
    border-radius: 1.2rem;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff !important;
    background: linear-gradient(135deg, #43B02A 0%, #2e7d1c 55%, #86efac 140%);
    box-shadow: 0 14px 30px rgba(67, 176, 42, 0.28);
    border: 1px solid rgba(255,255,255,0.45);
    transition: all 0.35s ease;
}

.mobile-menu-cta:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 34px rgba(67, 176, 42, 0.35);
    filter: saturate(1.05);
}




/* FAQ */
.faq-item {
    transition: all 0.35s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.faq-question {
    cursor: pointer;
}

.faq-item.active {
    border-color: rgba(67, 176, 42, 0.18);
    box-shadow: 0 25px 50px rgba(67, 176, 42, 0.08);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}