@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --nj-blue: #0e4c8a;         /* Kurumsal Mavi */
    --nj-gold: #8d6e63;         /* Başlıklar için Kahve Tonu */
    --bg-cream: #f4f1ea;        /* Açık tema zemin rengi */
    --text-dark: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-cream);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- HEADER --- */
.split-navbar {
    width: 100%; height: 100px;
    position: absolute; top: 0; left: 0; z-index: 9999;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 4%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    transition: all 0.3s ease;
}

.nav-group { display: flex; gap: 40px; flex: 1; }
.nav-group.left { justify-content: flex-end; padding-right: 180px; }
.nav-group.right { justify-content: flex-start; padding-left: 180px; }
.nav-group a { color: #ffffff; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }

.nav-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10000; }
.nav-logo img { height: 90px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3)); }

/* --- MOBİL MENÜ KAPSA YICISI --- */
.mobile-overlay-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    
    /* Zemin Rengi: Kırık Beyaz (#f4f1ea) */
    background-color: #f4f1ea !important; 
    background-image: none !important; /* Varsa resmi iptal et */
    
    z-index: 10002;
    padding: 20px;
    padding-bottom: 120px; 
    
    /* Gizleme Ayarları */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.4s ease-in-out;
    pointer-events: none; 
}

/* --- MENÜ AÇIKKEN --- */
.mobile-overlay-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

/* --- MENÜ BAŞLIĞI --- */
.menu-title { 
    color: #0e4c8a !important; /* LACİVERT */
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    font-weight: 700; 
    text-shadow: none !important;
}

/* --- KAPATMA (ÇARPI) BUTONU --- */
.close-btn { 
    color: #0e4c8a !important; /* LACİVERT */
    border: none;
    background: transparent;
    font-size: 2.5rem; /* Biraz büyüttüm rahat basılsın */
}

/* --- LİNKLER (ANA SAYFA, ÜRÜNLER vb.) --- */
.mobile-links a {
    color: #0e4c8a !important; /* LACİVERT */
    font-size: 1.4rem; 
    font-weight: 700; /* Kalın Font */
    text-transform: uppercase; 
    padding: 15px 0;
    border-bottom: 1px solid rgba(14, 76, 138, 0.15) !important; /* İnce lacivert çizgi */
    text-shadow: none !important; /* Gölgeyi kaldırdık */
}

/* --- SOSYAL MEDYA İKONLARI --- */
.mobile-social a { 
    color: #0e4c8a !important; /* LACİVERT */
    font-size: 1.8rem; 
    text-shadow: none !important;
}

/* --- HAMBURGER BUTONU (Ana Ekrandaki) --- */
.mobile-toggle { 
    display: none; 
    color: #fff; /* Bu beyaz kalmalı çünkü ana sayfa koyu */
    font-size: 1.8rem; 
    cursor: pointer; 
    position: relative;
    z-index: 10020 !important; 
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .nav-group { display: none; }
    .mobile-toggle { display: block; }
}
.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-top: 10px;
}
.menu-title { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; }
.close-btn { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s; }

.mobile-links { flex: 1; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.mobile-links a {
    color: #fff; font-size: 1.4rem; font-weight: 500;
    text-transform: uppercase; padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: 0.3s; letter-spacing: 1px;
}

.mobile-social { display: flex; justify-content: center; gap: 30px; padding-top: 20px; min-height: 60px; align-items: center; }
.mobile-social a { color: #fff; font-size: 1.8rem; transition: 0.3s; }

/* --- SLIDER --- */
.slider-container { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #000; }
a.slide { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
a.slide.active { opacity: 1; }

/* --- FEATURES --- */
.features-section { padding: 100px 5%; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; max-width: 1400px; margin: 0 auto; }
.feature-icon { font-size: 3.5rem; color: var(--nj-blue); margin-bottom: 25px; display: block; }
.feature-item h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--nj-gold); font-style: italic; text-transform: uppercase; margin-bottom: 20px; }
.feature-item p { color: #555; font-size: 1rem; line-height: 1.8; }

/* --- BRANCHES --- */
.branches-preview { padding: 80px 0; text-align: left; border-top: 1px solid #e5e0d5; position: relative; }
.nj-blue-title { color: var(--nj-blue) !important; font-size: 2.2rem; font-weight: 800; margin-bottom: 40px; text-transform: uppercase; padding-left: 4%; }
.branches-wrapper { display: flex; gap: 20px; overflow-x: auto; padding: 0 4% 30px; scroll-behavior: smooth; scrollbar-width: none; }
.branches-wrapper::-webkit-scrollbar { display: none; }
.branch-item { flex: 0 0 300px; text-align: left; }
.branch-img { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.branch-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.branch-details h3 { color: var(--nj-blue); font-size: 1.1rem; text-transform: uppercase; margin-top: 15px; }

.branches-navigation { position: absolute; width: 100%; top: 50%; left: 0; transform: translateY(-50%); pointer-events: none; z-index: 100; }
.nav-btn { pointer-events: auto; position: absolute; background: rgba(255, 255, 255, 0.9); border: none; width: 50px; height: 50px; border-radius: 50%; color: var(--nj-blue); font-size: 1.4rem; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.nav-btn.prev { left: 20px; } 
.nav-btn.next { right: 20px; }

/* --- EVENTS --- */
.events-section { display: flex; height: 700px; background: var(--bg-cream); overflow: hidden; }
.events-text-side { flex: 0 0 35%; background: var(--nj-blue); color: #fff; padding: 60px 5%; display: flex; flex-direction: column; justify-content: center; }
.events-text-side h2 { font-size: 3rem; font-weight: 800; margin-bottom: 5px; }
.events-text-side span { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.8rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; display: block; }

.events-gallery-side { flex: 0 0 65%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; padding: 10px; background: #fff; }
.gallery-item { position: relative; overflow: hidden; width: 100%; height: 100%; }
.gallery-item.vertical-main { grid-column: 1 / 2; grid-row: 1 / span 2; }
.gallery-item.horizontal-sub { grid-column: 2 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.6s ease; }
.gallery-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; pointer-events: none; }

/* --- INSTAGRAM --- */
.instagram-feed-section { padding: 80px 0; background-color: var(--bg-cream); border-top: 1px solid #e5e0d5; }

/* --- RESPONSIVE (MOBIL DÜZENLEMELER) --- */
@media (max-width: 1100px) {
    .nav-group { display: none; }
    .mobile-toggle { display: block; }
    .nav-logo { position: absolute; left: 50%; transform: translate(-50%, -50%); }
    .nav-logo img { height: 65px; }
    
    .split-navbar { background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent); position: absolute; }
    
    .nav-btn { display: none; }
    .features-grid { grid-template-columns: 1fr; }

    /* ETKİNLİKLER MOBİL DÜZELTME */
    .events-section { 
        flex-direction: column; 
        height: auto; 
        display: flex !important;
    }
    .events-text-side { 
        width: 100% !important; 
        padding: 60px 20px !important; 
        text-align: center !important;
        margin-bottom: 10px; /* Görsellerle arasına boşluk */
    }
    .events-text-side h2 { font-size: 2.2rem !important; line-height: 1.1; }
    
    .events-gallery-side { 
        width: 100% !important; 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 15px !important; /* Görseller arası boşluk */
        padding: 15px !important;
    }
    .gallery-item { width: 100% !important; height: 280px !important; }
    .gallery-item.vertical-main { height: 320px !important; }
    
    .instagram-feed-section .nj-blue-title { text-align: center; padding-left: 0; }
}

footer { padding: 50px; text-align: center; background: #e9e5db; color: #888; border-top: 1px solid #ddd; }