/* --- GENEL TASARIM VE RENK PALETİ --- */
:root {
    --tema-rengi: #652964; 
    --tema-rengi-koyu: #4e1f4d; 
    --accent-color: #FFC107;      /* VURGU RENGİ (ALTIN SARISI) */
    --accent-color-dark: #e6ac00; /* VURGU RENGİNİN KOYU TONU (HOVER İÇİN) */
    --accent-color-light: #ffda6a;/* VURGU RENGİNİN AÇIK TONU */
    --beyaz: #FFFFFF;
    --acik-gri: #f8f9fa; 
    --koyu-metin: #343a40;
    --orta-gri-metin: #6c757d;
}

/* --- YARDIMCI SINIFLAR --- */
.text-accent {
    color: var(--accent-color) !important;
}
.text-accent-light {
    color: var(--beyaz) !important;
}

/* --- SİTE ARKA PLANI VE GENEL AYARLAR --- */
body {
    background-color: var(--tema-rengi); 
    background-image: url("https://www.heropatterns.com/api/v1/pattern/plus?color=ffffff&opacity=5");
    background-attachment: fixed; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--beyaz); 
}

h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.content-panel { 
    background-color: var(--beyaz); 
    border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); 
    padding: 40px; 
    border: 1px solid rgba(0,0,0,0.05);
}
.content-panel p { color: var(--koyu-metin); }
.panel-compact { padding: 40px 25px; }

/* --- BÖLÜM BAŞLIKLARI --- */
.section-title {
    color: var(--tema-rengi);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}
.section-title-plain {
    color: var(--beyaz);
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- NAVBAR TASARIMI --- */
.navbar-custom { 
    background-color: var(--beyaz); 
    padding: 20px 0; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    border-bottom: 2px solid var(--accent-color);
    transition: padding 0.4s ease-in-out; 
}
.navbar-custom .container { position: relative; }
.navbar-custom .navbar-brand { position: absolute; left: 50%; transform: translateX(-50%); }
.saki-logo { 
    height: 75px; 
    width: auto;
    transition: height 0.4s ease-in-out; 
}
.navbar-custom .nav-link { 
    color: var(--tema-rengi); 
    font-weight: 600; 
    margin: 0 15px;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 8px;
}
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.navbar-custom .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.navbar-custom .nav-link:hover { color: var(--tema-rengi-koyu); }
.navbar-shrink { padding: 8px 0 !important; }
.navbar-shrink .saki-logo { height: 50px !important; }

/* --- BUTON STİLİ --- */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--tema-rengi-koyu);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}
.btn-accent:hover {
    background-color: var(--accent-color-dark);
    color: var(--tema-rengi-koyu);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- YENİLENMİŞ ÜRÜN KARTI VE SLIDER STİLLERİ --- */
.product-carousel-wrapper {
    position: relative;
    padding: 0 60px; /* Oklar için yanlarda boşluk bırakır */
}

/* === DÜZELTME BAŞLANGICI === */
/* Kartların hover animasyonunda yukarı taşmasını engellemek için slayt öğelerine (carousel-item) dikey padding ekleniyor. */
#urunlerSlider .carousel-item {
    padding-top: 15px;
    padding-bottom: 15px;
}
/* === DÜZELTME BİTİŞİ === */


.product-card {
    background-color: var(--tema-rengi);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: 2px solid var(--tema-rengi-koyu);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(78, 31, 77, 0.4);
}

.product-card .card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-color: #fff; /* Resimlerin arkasındaki beyazlık için */
}

.product-card .card-body {
    padding: 1.5rem 1rem;
}

.product-card .card-title {
    color: var(--beyaz);
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 48px; /* İki satırlık başlıklar için sabit yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .btn-outline-light {
    border-color: var(--accent-color);
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border-width: 2px;
    transition: all 0.3s ease;
}

.product-card .btn-outline-light:hover {
    background-color: var(--accent-color);
    color: var(--tema-rengi-koyu);
    transform: scale(1.05);
}

/* === ÜRÜN SLIDER KONTROLLERİ (SOFRADAN ANILAR GİBİ) BAŞLANGICI === */
.product-carousel-wrapper .carousel-control-prev,
.product-carousel-wrapper .carousel-control-next {
    position: absolute;
    background-color: rgba(101, 41, 100, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    opacity: 0.8;
}

.product-carousel-wrapper .carousel-control-prev:hover,
.product-carousel-wrapper .carousel-control-next:hover {
    background-color: rgba(101, 41, 100, 0.9);
    opacity: 1;
}

.product-carousel-wrapper .carousel-control-prev {
    left: 0;
}

.product-carousel-wrapper .carousel-control-next {
    right: 0;
}
/* === ÜRÜN SLIDER KONTROLLERİ BİTİŞİ === */


/* --- ÜRÜN RAFI BÖLÜMÜ --- */
.shelf-container { padding: 2rem 0; overflow-x: auto; } /* Rafın taşması durumunda yatay kaydırma çubuğu */
.shelf { display: flex; justify-content: center; align-items: flex-end; padding: 3rem 0; min-height: 250px; background-image: url('images/raf.png'); background-position: bottom center; background-repeat: no-repeat; background-size: 80% auto; min-width: 1000px; /* Rafın daralmamasını sağlar */ }
.shelf-item { transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); max-height: 180px; cursor: pointer; }
.shelf-item:not(:first-child) { 
    margin-left: -60px; 
}
.shelf-item img { max-height: 100%; width: auto; filter: drop-shadow(5px 10px 15px rgba(0,0,0,0.3)); }
.shelf:hover .shelf-item { transform: scale(0.9); opacity: 0.5; }
.shelf .shelf-item:hover { transform: scale(1.25) translateY(-25px); opacity: 1; z-index: 5; }

/* --- MASA ANILARI BÖLÜMÜ --- */
.anilar-wrapper { position: relative; z-index: 1; }
.anilar-wrapper::before { content: "\f2fa"; font-family: 'bootstrap-icons'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 35rem; color: rgba(255, 255, 255, 0.03); z-index: -1; }
.carousel-item-fixed-height img { height: 100%; width: 100%; object-fit: cover; border-radius: 8px; border: 4px solid var(--acik-gri); }
.carousel-item-fixed-height { height: 500px; background-color: #000; border-radius: 12px; overflow: hidden; }
#masaAnilariSlider .carousel-control-prev, #masaAnilariSlider .carousel-control-next { background-color: rgba(101, 41, 100, 0.6); width: 50px; height: 50px; border-radius: 50%; top: 50%; transform: translateY(-50%); transition: background-color 0.3s ease; }
#masaAnilariSlider .carousel-control-prev:hover, #masaAnilariSlider .carousel-control-next:hover { background-color: rgba(101, 41, 100, 0.9); }
.story-container { text-align: center; padding-top: 20px; min-height: 150px;}
.story-title { color: var(--tema-rengi); }

/* --- DAKTİLO EFEKTİ --- */
.story-content { display: none; }
.story-content.active { display: block; }
.story-title, .story-body { position: relative; }
.story-body { color: var(--koyu-metin); max-width: 85%; margin: 1rem auto 0 auto; }
.typing-cursor::after { content: '|'; font-weight: 200; position: absolute; right: -10px; animation: blink 1s step-end infinite; color: var(--accent-color);}
@keyframes blink { from, to { opacity: 1; } 50% { opacity: 0; } }

/* --- AYIRICI ÇİZGİ --- */
hr { border-top: 1px solid rgba(255, 255, 255, 0.15); }

/* --- PÜF NOKTALARI BÖLÜMÜ --- */
.tip-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.tip-card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
    background: var(--tema-rengi);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
}
.tip-card-icon-group {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--tema-rengi);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}
.tip-card-icon-group i { margin: 0 2px; }
.tip-card:hover .tip-card-icon { transform: scale(1.1) rotate(-5deg); }
.tip-card-title { font-weight: 700; color: var(--tema-rengi); margin-bottom: 0.75rem; }
.tip-card-text { font-size: 0.95rem; line-height: 1.7; color: var(--orta-gri-metin); }


/* --- HAKKIMIZDA BÖLÜMÜ (ŞİRKET KARTLARI) --- */
.company-card {
    background-color: var(--acik-gri);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}
.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.company-card-icon {
    font-size: 3rem;
    color: var(--tema-rengi);
    margin-bottom: 1rem;
}
.company-card-title {
    color: var(--tema-rengi);
    font-size: 1.1rem;
    font-weight: 700;
    min-height: 44px;
}
.company-focus {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.company-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--orta-gri-metin);
}
.active-card {
    background-color: var(--tema-rengi);
    color: var(--beyaz);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(101, 41, 100, 0.3);
    border: 2px solid var(--accent-color);
}
.active-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(101, 41, 100, 0.4);
}
.active-card .company-card-icon,
.active-card .company-focus {
    color: var(--accent-color);
}
.active-card .company-card-title {
    color: var(--beyaz);
}
.active-card .company-text {
    color: rgba(255, 255, 255, 0.85);
}


/* --- KULLANICILARDAN GELENLER GALERİSİ --- */
.gallery-section { background-color: var(--beyaz); padding: 2.5rem; border-radius: 12px; }
.gallery-item { display: block; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.gallery-item img { transition: transform 0.4s ease, filter 0.4s ease; width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(0.9); }
.gallery-item::after { content: '\f435'; font-family: 'bootstrap-icons'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5); font-size: 3rem; color: var(--accent-color); opacity: 0; transition: all 0.4s ease; z-index: 2; text-shadow: 0 0 15px rgba(0,0,0,0.5); }
.gallery-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* --- SIKÇA SORULAN SORULAR (SSS) AKORDİYON MENÜ --- */
.faq-section .accordion-item { background-color: var(--acik-gri); border: 1px solid #ddd; border-radius: 8px !important; margin-bottom: 1rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-section .accordion-item:hover { box-shadow: 0 8px 25px rgba(101, 41, 100, 0.15); }
.faq-section .accordion-button { font-weight: 600; color: var(--tema-rengi); background-color: var(--acik-gri); box-shadow: none; transition: all 0.3s ease; }
.faq-section .accordion-button:not(.collapsed) { color: var(--accent-color); background-color: var(--tema-rengi); }
.faq-section .accordion-body { background-color: var(--beyaz); color: var(--koyu-metin); line-height: 1.7; padding: 1.5rem; }
.faq-section .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23652964'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); transition: transform 0.3s ease; }
.faq-section .accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFC107'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }

/* --- FOOTER TASARIMI --- */
.footer-custom { background-color: var(--beyaz); color: var(--koyu-metin); }
.footer-logo { max-width: 150px; }
.footer-heading { font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.footer-link { color: var(--orta-gri-metin); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; padding-bottom: 5px; }
.footer-link:hover { color: var(--accent-color-dark); padding-left: 5px; }
.social-icons .social-link { font-size: 1.5rem; color: var(--orta-gri-metin); margin-right: 15px; transition: color 0.2s ease, transform 0.2s ease; }
.social-icons .social-link:hover { color: var(--accent-color); transform: translateY(-3px); }
.copyright-bar { background-color: var(--acik-gri); border-top: 1px solid #e7e7e7; }

/* --- YUKARI ÇIK BUTONU --- */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--tema-rengi-koyu);
    border-radius: 50%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scrollTopBtn:hover {
    background-color: var(--accent-color-dark);
    color: var(--tema-rengi-koyu);
}

/* --- Mobil uyumluluk --- */
@media (max-width: 991.98px) { 
    .navbar-custom .navbar-brand { position: static; left: auto; transform: none; padding-left: 1rem;} 
    .navbar-collapse { margin-top: 15px; } 
    .navbar-custom .nav-link { margin: 10px 0; }
    .active-card { transform: scale(1); }

    /* Ürün Slider'ı için mobil uyumluluk */
    .product-carousel-wrapper {
        padding: 0 40px; /* Oklar için boşluğu azalt */
    }
    .product-carousel-wrapper .carousel-control-prev { left: -10px; }
    .product-carousel-wrapper .carousel-control-next { right: -10px; }
}
@media (max-width: 768px) { 
    .shelf { justify-content: flex-start; } /* Mobil'de raf sola yaslansın */
    .shelf-item { max-height: 150px; } 
    .shelf-item:not(:first-child) { margin-left: -50px; } 
    .shelf:hover .shelf-item { transform: scale(1); opacity: 1; } 
    .shelf:hover .shelf-item:hover { transform: scale(1.1); } 

    /* Ürün Slider'ı oklarını daha da içeri al */
    .product-carousel-wrapper { padding: 0; }
    .product-carousel-wrapper .carousel-control-prev,
    .product-carousel-wrapper .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 40%; /* Kartların ortasına daha yakın */
    }
    .product-carousel-wrapper .carousel-control-prev { left: 10px; }
    .product-carousel-wrapper .carousel-control-next { right: 10px; }
}
@media (max-width: 576px) { 
    .content-panel, .gallery-section { padding: 25px 20px; } 
    .tip-item { margin-bottom: 3rem; } 
    .display-5 { font-size: 2.5rem; } 
}

/* === YAŞ DOĞRULAMA EKRANI STİLLERİ === */
#site-content { display: none; opacity: 0; transition: opacity 0.5s ease; }
.age-gate-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--tema-rengi); background-image: url("https://www.heropatterns.com/api/v1/pattern/plus?color=ffffff&opacity=5"); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 1; transition: opacity 0.5s ease; }
.age-gate-box { background: rgba(0,0,0,0.2); padding: 2.5rem; border-radius: 12px; color: var(--beyaz); max-width: 500px; width: 90%; border: 1px solid rgba(255,255,255,0.1); }
.age-gate-logo { max-height: 80px; }
.btn-verify { background-color: var(--accent-color); color: var(--tema-rengi-koyu); font-weight: 600; padding: 0.75rem 2rem; border: none; transition: background-color 0.3s ease, color 0.3s ease; }
.btn-verify:hover { background-color: var(--accent-color-dark); }
#age-gate-error { font-size: 0.95rem; color: #ff8a80 !important; }