/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');
/* Genel Stil Ayarları */
html {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}




body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;

}

h2 {
   
	font-size:30px !important;
}

h1 {
   
	font-size:35px !important;
}


/* Özel Scrollbar Tasarımı */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--brand-secondary, #C67C4E);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary, #3E2723);
}
/* Mobil Menü Animasyonu */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
}
.mobile-menu.hidden {
    transform: translateX(100%);
    display: none;
}
.mobile-menu.active {
    transform: translateX(0);
    display: block;
}
/* Mobil Menü - Sayfa Dışına Taşmayı Önle */
#mobMenu {
    max-width: 100vw;
    transform-origin: right center;
}
/* Mobil menü gizliyken viewport dışında tut - inline style'ı override et */
#mobMenu.translate-x-full {
    right: -320px !important;
    visibility: hidden;
    pointer-events: none;
}
/* Mobil menü açıkken görünür yap */
#mobMenu:not(.translate-x-full) {
    right: 0 !important;
    visibility: visible;
    pointer-events: auto;
}
body.menu-open,
html.menu-open {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}
body.menu-open {
    position: fixed !important;
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* HERO SWIPER SLIDER */
.heroSwiper {
    position: relative;
    min-height: 100px; /* Style 3 için min-height düşürüldü, auto-height'e izin verildi */
}
.heroSwiper .swiper-slide {
    position: relative;
}
/* Ana slider oklarını gizle (Custom ok kullanıldığı için) */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: "" !important;
    display: none !important;
}

/* 
   DÜZELTME: '.style3-slide img { display: block; }' kuralı kaldırıldı. 
   Bu kural Tailwind'in 'hidden' ve 'md:hidden' sınıflarını eziyordu 
   ve resimlerin üst üste binmesine (stacked) neden oluyordu.
*/

/* --- PRODUCT GALLERY SPECIFIC STYLES --- */
/* Galeri Navigasyon Okları */
.productGallerySwiper .custom-swiper-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3E2723; /* Brand Primary */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 20;
}
.productGallerySwiper .custom-swiper-btn:hover {
    background-color: #C67C4E; /* Brand Secondary */
    color: white;
    transform: scale(1.1);
}
.productGallerySwiper .swiper-button-prev {
    left: 20px;
}
.productGallerySwiper .swiper-button-next {
    right: 20px;
}
/* Galeri Pagination (Dots) - Büyük ve Belirgin */
.product-gallery-pagination {
    bottom: 20px !important;
}
.product-gallery-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background-color: white;
    opacity: 0.6;
    border: 2px solid #C67C4E;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}
.product-gallery-pagination .swiper-pagination-bullet-active {
    background-color: #C67C4E !important;
    opacity: 1;
    width: 16px;
    height: 16px;
    transform: scale(1.2);
}
/* --- Timeline Specific Styles --- */
.timeline-grid-item {
    position: relative;
}
@media (max-width: 1023px) {
    .timeline-grid-item::before {
        content: '';
        position: absolute;
        left: 50%;
        top: -16px;
        width: 2px;
        height: 16px;
        background-color: #e2e8f0;
        transform: translateX(-50%);
        z-index: 0;
    }
    .timeline-grid-item:first-child::before {
        display: none;
    }
}
.timeline-vertical-list-container {
    position: relative;
    padding-left: 24px;
}
.timeline-vertical-list-container::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}
.timeline-vertical-list-container > div {
    position: relative;
    z-index: 1;
}
.timeline-vertical-list-container .flex.items-start.gap-6 > .shrink-0 {
    margin-left: -14px;
    background-color: white;
    border: 2px solid #e2e8f0;
}

/* ============================================
   HEADER SCROLL EFFECT - Şeffaf Başlangıç, Scroll'da Renkli
   ============================================ */

/* ============================================
   HEADER TİPLERİ - TİP1 ve TİP2
   ============================================ */

/* TİP1 - Arkaplanlı Header (Normal Akış) */
.header-type-tip1 {
    background-color: #ffffff !important;
    position: relative !important;
}

/* TİP1'de Sticky Header Özelliği */
.header-type-tip1.sticky {
    position: fixed !important;
    
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, top 0.3s ease;
}

/* TİP1'de scroll yapıldığında top:0 ve shadow ekle */
.header-type-tip1.sticky.scrolled {
    top: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


/* TİP1 sticky header aktif olduğunda içeriğe padding ekle */
body:has(.header-type-tip1.sticky) main {
    padding-top: 0;
    transition: padding-top 0.3s ease;
}

/* TİP1 header mobilde margin-bottom azalt */
@media (max-width: 767px) {
    .header-type-tip1 {
        margin-bottom: 0 !important;
    }
   
}

/* TİP2 - Şeffaf Header (Scroll Effect) */
.header-scroll-effect {
    background-color: transparent !important;
    position: absolute !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

/* Sticky olmayan durumda scroll yapıldığında position absolute kalır */
.header-scroll-effect.scrolled:not(.sticky) {
    position: absolute !important;
}

.header-scroll-effect.sticky.scrolled {
    background-color: #ffffff !important;
    position: fixed !important;
    top: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Sticky olmayan durumda scroll yapıldığında - topbar offset'i korunur */
.header-scroll-effect.scrolled:not(.sticky) {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    /* top değeri inline style'da kalacak (topbar offset) - CSS'de top:0 yok */
}

.header-scroll-effect.scrolled nav a,
.header-scroll-effect.scrolled button,
.header-scroll-effect.scrolled a,
.header-scroll-effect.scrolled .text-white {
    color: #3E2723 !important;
}

.header-scroll-effect.scrolled img[alt="Logo"] {
    filter: brightness(0);
}

/* Responsive Header Scroll Effect */
@media (max-width: 1023px) {
    .header-scroll-effect {
        position: relative !important;
        background-color: #ffffff !important;
    }
    .header-scroll-effect nav a,
    .header-scroll-effect button,
    .header-scroll-effect a {
        color: #3E2723 !important;
    }
}

/* Sticky Header Shadow Animation */
header.sticky {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Topbar Styling */
#mobileTopbar,
div[class*="topbar"] {
    position: relative;
    z-index: 10;
}

/* Footer Link Hover Effects */
#main-footer a {
    transition: all 0.3s ease;
}

#main-footer a:hover {
    transform: translateX(4px);
}

#main-footer ul li a:hover i {
    opacity: 1;
    transform: translateX(2px);
}

#main-footer a[href^="tel:"]:hover,
#main-footer a[href^="mailto:"]:hover {
    text-decoration: underline;
}


