/* 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;
}

/* Slider Başlıkları için Özel Font Boyutları */
.heroSwiper .slider-title {
    font-size: 2.25rem !important; /* Mobil: 36px */
}

@media (min-width: 768px) {
    .heroSwiper .slider-title {
        font-size: 4.375rem !important; /* Masaüstü: 70px */
    }
}

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.
*/

/* --- 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;
}

/* Mobil Sidebar Z-Index ve Pozisyon Düzeltmeleri */
@media (max-width: 1023px) {
    #mainSidebar {
        z-index: 10004 !important;
        top: 0 !important;
        margin-top: 0 !important;
        position: fixed !important;
    }
    
    #sidebarOverlay {
        z-index: 10003 !important;
        top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Sidebar açıkken header'ı etkilememeli */
    body.sidebar-open #main-header {
        position: relative !important;
    }
    
    /* Sidebar açıkken body scroll lock ama header sabit kalmalı */
    body.sidebar-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Toggle Sidebar Butonu Sadece Mobilde Görünsün */
@media (min-width: 1024px) {
    #sidebarToggleBtn {
        display: none !important;
    }
}

/* Text Marquee Animasyonları */
/* Dış kutu */
.marquee {
    display: block;
    overflow: hidden;
    padding: 10px 0;
}

/* Akan şerit */
.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    transform: translateX(0);
}

/* Metin parçaları */
.marquee-track span {
    white-space: nowrap;
    font-size: 18px;
    font-family: Helvetica, Arial, sans-serif;

    padding-left: 20px;
    flex-shrink: 0;
}

/* 6 kopya olduğu için -16.666% dikişsiz (1/6) */
@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-16.666%);
    }
}

/* Sağdan sola yerine soldan sağa */
@keyframes marquee-right {
    from {
        transform: translateX(-16.666%);
    }
    to {
        transform: translateX(0);
    }
}

/* SEO Makale Bölümü Stilleri */
.article-card {
    transition: all 0.3s ease;
    position: relative;
}

.article-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.article-content {
    color: #374151;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3E2723;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #3E2723;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content strong {
    font-weight: 600;
    color: #3E2723;
}

.article-content ul,
.article-content ol {
    margin: 1.25rem 0;
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.article-content a {
    color: #8B4513;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #D4AF37;
}

.article-toggle-btn {
    position: relative;
    overflow: hidden;
}

.article-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.article-toggle-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Prose override for article content */
.article-content .prose {
    color: #374151;
}

.article-content .prose p {
    margin-bottom: 1.25rem;
}

.article-content .prose h1,
.article-content .prose h2,
.article-content .prose h3 {
    font-family: 'Playfair Display', serif;
    color: #3E2723;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content .prose h1 {
    font-size: 2rem;
}

.article-content .prose h2 {
    font-size: 1.75rem;
}

.article-content .prose h3 {
    font-size: 1.5rem;
}


