:root {
    /* --- YENİ RENK PALETİ --- */
    /* Ana Renk (Teal - Koyu Deniz Yeşili) */
    /* Eski: #6366f1 (Indigo) yerine */
    --primary-color: #166866;
    /* İkincil Renk (Koyu Kırmızı / Accent) */
    /* Eski: #ec4899 (Pink) yerine */
    --secondary-color: #9C1A15;
    /* Vurgu Rengi (İkincil rengin aynısı veya bir tonu) */
    --accent-color: #9C1A15;
    /* Arka Plan Renkleri */
    --dark-bg: #0f172a;
    /* Bunu çok koyu bırakıyoruz, kontrast bozulmasın diye */
    --light-bg: #f8fafc;
    /* Açık zemin */
    --card-bg: #ffffff;
    --card-bg-dark: #1e293b;
    /* Metin Renkleri */
    --text-main: #334155;
    /* Okunabilirlik için koyu kalmalı */
    --text-light: #f3f4f6;
    /* Sönük Metin (Gri) */
    /* Eski: #64748b yerine senin verdiğin gri */
    --text-muted: #666666;
    /* Kenarlıklar */
    --border-color: #e2e8f0;
    --border-color-dark: rgba(255, 255, 255, 0.05);
    /* Gradyanlar (Yeşilden Kırmızıya geçiş) */
    --gradient-main: linear-gradient(135deg, var(--primary-color) 0%, #5d423e 50%, var(--secondary-color) 100%);
    /* Glow Efekti (Teal renginin RGB hali: 22, 104, 102) */
    --gradient-glow: radial-gradient(circle, rgba(22, 104, 102, 0.15) 0%, transparent 70%);
    /* Gölgeler */
    --shadow-soft: 0 10px 40px -10px rgba(22, 104, 102, 0.15);
    --shadow-hover: 0 20px 40px -10px rgba(22, 104, 102, 0.3);
}

html,
body {
    overflow-x: hidden !important;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* --- GENEL BİLEŞENLER --- */


/* Linkler */

a {
    text-decoration: none !important;
    color: inherit !important;
    transition: 0.3s;
}


/* Genel link hover efekti - Butonlar hariç */

a:not(.btn):hover {
    color: var(--primary-color) !important;
}


/* Navbar */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}


/* Dropdown Özelleştirmesi */

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    /* Navbar ile arasında biraz boşluk */
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    font-weight: 500;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--primary-color, #0d6efd);
    /* CSS değişkenin yoksa mavi fallback */
    transform: translateX(5px);
    /* Sağa doğru hafif kayma efekti */
}


/* Açılış animasyonu için */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Butonlar */

.btn-gradient {
    background: var(--gradient-main);
    color: white !important;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white !important;
    /* DÜZELTME: Hover'da yazının beyaz kalması sağlandı */
}

.btn-gradient:hover::after {
    left: 100%;
}


/* --- 1. ÜST PEMBE BAND --- */


/* --- 1. ÜST BAND (Artık Kırmızı) --- */

.footer-cta-bar {
    background-color: #9C1A15;
    /* Senin verdiğin kırmızı */
    padding: 25px 0;
    color: #fff;
    border-bottom: 5px solid rgba(0, 0, 0, 0.1);
}

.cta-left h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cta-left p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.cta-right {
    display: flex;
    gap: 10px;
}


/* Üstteki Butonlar */

.cta-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.cta-btn:hover {
    background: white;
    color: #f43f5e;
}


/* --- 2. ANA KOYU ALAN --- */

.footer-main-content {
    background: var(--dark-bg);
    padding: 50px 0;
    color: #a0aec0;
}


/* Üst Kısım: İkonlar ve Yazı Düzeni */

.footer-top-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}


/* Sosyal Medya Kutuları */

.social-box {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    /* Küçülmesini engelle */
}

.social-box a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2d3748;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
}

.social-box a:hover {
    background: #f43f5e;
    border-color: #f43f5e;
}


/* Yanındaki Uzun Yazı */

.desc-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: #718096;
    /* Daha soluk gri */
}


/* Ayırıcı Çizgi */

.footer-divider {
    border-color: #2d3748;
    opacity: 0.5;
}


/* --- 3. LİNKLER VE BAŞLIKLAR --- */

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    /* SOLDAKİ PEMBE ÇİZGİ */
    border-left: 4px solid #f43f5e;
    /* Resimdeki çizgi */
    padding-left: 15px;
    line-height: 1.2;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list li a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
}


/* Linklerin başındaki Pembe Nokta */


/* Linklerin başındaki Nokta */

.footer-list li a::before {
    content: '•';
    color: #9C1A15;
    /* Kırmızı nokta */
    font-size: 1.5rem;
    line-height: 0;
    margin-right: 10px;
    position: relative;
    top: 1px;
}

.footer-list li a:hover {
    color: #fff;
    transform: translateX(5px);
}


/* --- MOBİL UYUM --- */

@media (max-width: 768px) {
    .footer-top-row {
        flex-direction: column;
        /* Mobilde alt alta */
        align-items: flex-start;
    }
}


/* CTA Full Strip (Footer Üstü İletişim Alanı) */

.cta-full-strip {
    width: 100%;
    /* Koyu Gradient Arka Plan (Beyaz yazı için) */
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    /* Alt çizgiye gerek yok, footer ile birleşecek */
    padding: 50px 0;
    position: relative;
    z-index: 10;
    margin-top: auto;
    /* Sticky Footer Mantığı */
    margin-bottom: 0 !important;
    /* Footer'a tam yapışması için */
    border-radius: 40px;
}
@media (max-width: 768px) {
    .cta-full-strip {
        /* Sadece alt köşeleri düzleştirir, üstler kavisli kalır */
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}


/* Arkadan geçen hafif ışık efekti */

.cta-full-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}


/* Metin Gradyan Efekti (Sadece başlık için) */

.cta-full-strip .text-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Footer Ayarı (CTA varsa margin-top: 0 olmalı) */

.cta-full-strip+footer {
    margin-top: -30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* CTA ile Footer arasına ince çizgi */
}

.btn-whatsapp-glow {
    background-color: #25D366;
    color: white !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 35px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
}

.btn-whatsapp-glow:hover {
    background-color: #1ebc57;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
    color: white !important;
    /* DÜZELTME: Hover'da yazının beyaz kalması sağlandı */
}

.btn-contact-glow {
    background: var(--gradient-main);
    color: white !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 35px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    transition: 0.3s;
}

.btn-contact-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
    transform: translateY(-2px);
    color: white !important;
    /* DÜZELTME: Hover'da yazının beyaz kalması sağlandı */
}


/* Metin Gradyan Efekti */

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Arka Plan Desenleri (Animasyonlu Noktalar) */

.bg-animated-dots {
    background-color: var(--card-bg);
    background-image: radial-gradient(#e0e7ff 2px, transparent 2px);
    background-size: 40px 40px;
    animation: moveDots 20s linear infinite;
    position: relative;
}

@keyframes moveDots {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}


/* --- SEPET İKONU VE ROZETİ --- */

.cart-btn-icon {
    color: var(--text-main);
    /* Koyu Gri */
    transition: all 0.3s ease;
    padding: 5px;
}

.cart-btn-icon:hover {
    color: var(--primary-color);
    /* Teal (#166866) */
    transform: scale(1.1);
}

.cart-badge {
    background-color: var(--secondary-color) !important;
    /* Kırmızı (#9C1A15) */
    border: 2px solid #fff;
    /* Beyaz çerçeve ile ayrım */
}


/* --- SEPET PANELİ (OFFCANVAS) --- */

.custom-cart-panel {
    border-left: 5px solid var(--primary-color);
    /* Sol kenarda Teal çizgi */
    background-color: #ffffff;
}

.offcanvas-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}


/* Ürün Listesi */

.cart-item {
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s;
    border-bottom: 1px dashed #e2e8f0;
}

.cart-item:hover {
    background-color: #f8fafc;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}


/* Miktar Kontrolü */

.quantity-control i {
    cursor: pointer;
    transition: 0.2s;
}

.quantity-control i:hover {
    transform: scale(1.2);
    color: var(--primary-color) !important;
}


/* Silme Butonu */

.remove-btn {
    opacity: 0.5;
    transition: 0.3s;
}

.remove-btn:hover {
    opacity: 1;
    color: var(--secondary-color) !important;
    /* Kırmızı */
    transform: rotate(90deg);
}


/* Alt Kısım ve Buton */

.offcanvas-footer {
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}


/* Özel Renk Sınıfları (Eğer tanımlı değilse) */

.text-teal {
    color: var(--primary-color) !important;
}

.btn-teal {
    background-color: var(--primary-color);
    color: white;
    transition: 0.3s;
}

.btn-teal:hover {
    background-color: #114f4e;
    /* Biraz daha koyu teal */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 104, 102, 0.3);
}