/* =========================================
   1. TEMEL AYARLAR & DEĞİŞKENLER
   ========================================= */
:root {
    --primary-orange: #F39C12;
    --dark-overlay: rgba(12, 24, 33, 0.85);
    --transparent-overlay: rgba(0, 0, 0, 0.3); 
    --bg-peach: #FADCC3;
    --footer-bg: #FC9E2F;
    
    /* Yükseklik Tanımları */
    --nav-height-pc: 80px;
    --nav-height-mobile: 120px;
}

/* Tüm elementlerin varsayılan boşluklarını sıfırla */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #fffdfc;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', serif;
}

/* =========================================
   2. NAVBAR (SABİT)
   ========================================= */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    
    /* Sabitleme */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    
    /* Masaüstünde sabit yükseklik */
    height: var(--nav-height-pc);
    display: flex;
    align-items: center;
    padding: 0; 
}

.navbar > .container {
    height: 100%; 
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-item { margin: 0 15px; }

@media (min-width: 992px) { 
    .nav-item { margin: 0 25px; } 
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    line-height: var(--nav-height-pc); /* Linki dikeyde ortalar */
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: #E67E22 !important;
}

.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 25px; left: 50%;
    background-color: #E67E22; transition: all 0.3s ease; transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn-orange {
    background-color: #E67E22; color: white; border-radius: 5px; padding: 8px 25px;
    font-weight: 600; border: none; transition: all 0.3s ease; white-space: nowrap;
}
.btn-orange:hover {
    background-color: #d35400; color: white; transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* =========================================
   3. HERO & İLK BÖLÜMLER (MARGIN AYARI)
   ========================================= */
/* Hero Section (Anasayfa, Blog) */
.hero-section {
    position: relative;
    height: 88vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; overflow: hidden;

}
.hero-sectionV2 {
        position: relative;
    height: 88vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; overflow: hidden;

}

/* Diğer sayfaların ilk bölümleri için de aynısı */
.about-intro-section, 
.blog-hero {
    margin-top: var(--nav-height-pc);
}

.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-overlay-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); z-index: 1; }

/* Hero Yazı Kutusu (Şeffaf) */
.hero-overlay-box {
    background-color: var(--transparent-overlay) !important;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 60px;
    border-radius: 20px;
    max-width: 900px;
    z-index: 2;
    position: relative;
    margin-bottom: 120px;
}

.hero-title { color: #F39C12; font-size: 2.5rem; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.hero-subtitle { color: #ffffff; font-size: 1.1rem; line-height: 1.6; text-shadow: 1px 1px 3px rgba(0,0,0,0.9); font-weight: 400; }

/* Hero Altı Kutular */
.hero-features {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; width: 90%; max-width: 1200px;
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3;
}

.feature-box {
    background-color: var(--primary-orange); color: #1a1a1a; padding: 18px 20px; border-radius: 10px;
    font-weight: 700; font-size: 0.95rem; flex: 1; min-width: 250px; text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent; cursor: default;
}
.feature-box:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); background-color: #ffaa3d; border-color: rgba(255,255,255,0.4); }

/* =========================================
   4. ORTAK BÖLÜMLER
   ========================================= */
.section-title { text-align: center; margin: 50px 0; color: #1a252f; font-weight: 700; font-size: 2.5rem; }

.gallery-card {
    background-color: #ffffff; margin-bottom: 30px; position: relative; border-radius: 15px;
    overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease;
    cursor: pointer; border: 1px solid rgba(0,0,0,0.03);
}
.gallery-card:hover { transform: translateY(-5px); }
.gallery-img { width: 100%; height: 250px; object-fit: cover; }
.card-label {
    background: white; padding: 15px; font-weight: 700; color: #2c3e50; font-size: 1rem;
    min-height: 80px; display: flex; align-items: center; justify-content: center; text-align: center; width: 100%;
}

/* =========================================
   5. PROJELER SAYFASI
   ========================================= */
.filter-container { margin-top: -30px; position: relative; z-index: 10; text-align: center; margin-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter-btn { background-color: white; color: #333; border: 1px solid #ddd; padding: 10px 25px; border-radius: 30px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; }
.filter-btn:hover, .filter-btn.active { background-color: #1a252f; color: white; border-color: #1a252f; transform: translateY(-2px); }

/* Masonry Galeri Ayarı */
.project-gallery { column-count: 4; column-gap: 20px; width: 100%; max-width: 1200px; margin: 0 auto; }
.project-item { break-inside: avoid; margin-bottom: 20px; position: relative; border-radius: 15px; overflow: hidden; cursor: pointer; transition: transform 0.3s ease; }
.project-item img { width: 100%; height: auto; display: block; }
.project-item.hide { display: none; }
.project-item.show { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================
   ÜRÜNLER SAYFASI (E-Ticaret Tarzı)
   ========================================= */

/* Kategori Menüsü (Sol Taraf) */
.category-menu {
    position: sticky;
    top: 110px; /* Navbar'ın altında kalsın */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-link {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.category-link:last-child { border-bottom: none; }

.category-link:hover {
    background-color: #fff6f2;
    color: #E67E22;
    padding-left: 25px; /* Hoverda sağa kayma efekti */
}

.category-link.active {
    background-color: #E67E22;
    color: white;
}

/* Ürün Kartı */
.product-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-img-wrap {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Resmi kesme, sığdır */
    transition: transform 0.5s;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

/* --- ÜRÜNLER MOBİL DÜZELTME (SADECE BU ALAN) --- */
@media (max-width: 991px) {
    /* Masaüstü sıralı menüsünü mobilde kesin gizle */
    .category-menu { 
        display: none !important; 
    }

    /* Sayfa altına butona çarpmasın diye boşluk */
    section.container.py-5 {
        padding-bottom: 100px !important;
    }

    /* Sabitlenen Siyah Buton */
    .mobile-category-trigger {
        position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); /* Tam ortala */
    z-index: 1100;
    width: 85%;
    max-width: 300px;
    
    /* YENİ EKLENEN ANIMASYON AYARLARI */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Yumuşak geçiş */
    opacity: 1;
    visibility: visible;
    }
/* Buton Gizlendiğinde Alacağı Hal (Aşağı Kayar) */
.mobile-category-trigger.btn-hidden {
    bottom: -100px; /* Ekranın altına it */
    opacity: 0;
    visibility: hidden;
}
    .btn-mobile-menu {
        background: #1a1a1a;
        color: #fff;
        border: none;
        width: 100%;
        padding: 14px 20px;
        border-radius: 50px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    /* Alt Çekmece (Drawer) Ayarları */
    .mobile-bottom-drawer {
        height: 70vh !important;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        border: none;
    }

    .drawer-handle {
        width: 40px;
        height: 5px;
        background: #ddd;
        border-radius: 10px;
        margin: 12px auto 0;
    }
    .drawer-nav-list {
    padding-bottom: 50px; 
}

    .drawer-nav-list .nav-link {
        padding: 16px;
        color: #333;
        border-bottom: 1px solid #f8f8f8;
        border-radius: 0;
        text-align: center;
    }

    .drawer-nav-list .nav-link.active {
        background-color: #fff6f2 !important;
        color: #E67E22 !important;
    }
}

/* =========================================
   6. HAKKIMIZDA & BLOG
   ========================================= */
.about-intro-section { background-color: var(--bg-peach); padding: 80px 0; overflow: hidden; }
.about-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: #1a252f; margin-bottom: 25px; line-height: 1.3; }
.about-text { font-family: 'Roboto', sans-serif; font-size: 1rem; line-height: 1.8; color: #444; text-align: justify; }
.about-img-wrapper { width: 350px; height: 350px; border-radius: 50%; overflow: hidden; margin: 0 auto; border: 5px solid rgba(255, 255, 255, 0.3); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.about-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }

.blog-list-container { padding: 60px 0; }
.blog-horizontal-card { background: white; border-radius: 15px; overflow: hidden; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; }
@media (min-width: 768px) {
    .blog-horizontal-card { flex-direction: row; height: 280px; }
    .blog-card-img-wrapper { width: 40%; flex-shrink: 0; }
    .blog-card-content { width: 60%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
}
.blog-horizontal-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.blog-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-horizontal-card:hover img { transform: scale(1.05); }
.blog-card-content { padding: 20px; }
.read-more-btn { background-color: transparent; color: #111; border: 2px solid #111; padding: 8px 25px; border-radius: 30px; font-weight: 600; transition: all 0.3s ease; text-decoration: none; display: inline-block; align-self: flex-start; cursor: pointer; }
.read-more-btn:hover { background-color: #111; color: white; }

/* MODALS */
.modal-content { border: none; box-shadow: none; }
#projectModalImg { max-height: 85vh; width: auto; max-width: 100%; border-radius: 8px; display: block; margin: 0 auto; }
.btn-close-white { background-color: white; opacity: 0.9; border-radius: 50%; padding: 10px; position: absolute; top: -40px; right: 0; z-index: 1060; }

#blogReaderModal .modal-content { background-color: #ffffff !important; border-radius: 15px; color: #333; }
.blog-modal-img { width: 100%; height: 300px; object-fit: cover; border-radius: 15px 15px 0 0; }
.blog-modal-body { padding: 30px; font-size: 1rem; line-height: 1.8; color: #444; background: white; }
.blog-modal-title { font-family: 'Playfair Display', serif; font-size: 2rem; color: #E67E22; margin-bottom: 20px; }

/* DİĞERLERİ */
.text-orange {
    color: #F39C12 !important; /* Senin tema turuncusu */
    margin-right: 5px;
}
.brands-section { padding: 0; border-top: 1px solid #eee; }
.brand-slider { overflow: hidden; white-space: nowrap; position: relative; width: 100%; padding: 30px 0; background: white; }
.brand-track { display: inline-flex; align-items: center; width: max-content; animation: scrollBrands 30s linear infinite; }
.brand-item { width: 200px; padding: 0 30px; flex-shrink: 0; display: flex; justify-content: center; }
.brand-item img { max-width: 100%; max-height: 50px; opacity: 1; filter: none; }
@keyframes scrollBrands { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.cta-section { background-color: var(--bg-peach); padding: 30px 0; }
.cta-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: #333; margin-bottom: 10px; line-height: 1.2; }
.btn-black { background-color: #111; color: white; padding: 8px 25px; border-radius: 5px; font-weight: 600; transition: 0.3s; text-decoration: none; display: inline-block; }
.btn-black:hover { background-color: #333; color: white; }
.map-container-wrapper { position: relative; width: 100%; height: 180px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.map-iframe { width: 100%; height: 100%; border: 0; }
.map-click-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; background-color: rgba(0,0,0,0); }

.seo-section { padding: 60px 0; background-color: #fff; border-top: 1px solid #eee; }
.accordion-button:not(.collapsed) { background-color: #fff6f2; color: #E67E22; }
.location-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.location-list li { width: 50%; padding: 5px 0; font-size: 0.95rem; color: #555; }
.location-list li:last-child {
        border-bottom: none;
    }
.location-list li i { color: #E67E22; margin-right: 8px; min-width: 25px; }

footer { background-color: var(--footer-bg); padding: 15px 0; color: #333; font-size: 0.8rem; font-weight: 500; }
.social-link { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: white; border-radius: 50%; margin-left: 10px; font-size: 1.3rem; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.social-link:hover { transform: translateY(-3px); box-shadow: 0 5px 10px rgba(0,0,0,0.2); }
.sc-wa { color: #25D366 !important; } .sc-ig { color: #E1306C !important; } .sc-mail { color: #EA4335 !important; }

/* =========================================
   10. MOBİL UYUMLULUK DÜZELTMELERİ
   ========================================= */
@media (max-width: 992px) {
    .project-gallery { column-count: 3; }
    .location-list li { width: 25%; }
}

@media (max-width: 768px) {
    /* MOBİL NAVBAR AYARLARI (DÜZELTİLDİ) */
    .navbar { 
        /* Mobilde height:auto yaparak menünün uzamasına izin veriyoruz */
        height: auto !important; 
        
        /* Ancak kapalıyken en az 120px yer kaplasın ki boşluk oluşmasın */
        min-height: var(--nav-height-mobile); 
        
        padding: 5px 0;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
    }
    
    .navbar > .container {
        flex-direction: column;
        justify-content: space-evenly;
        min-height: 100px;
    }
    
    .navbar-logo-img { max-height: 40px !important; margin-bottom: 5px; }
    
    /* MOBİL İÇERİK BOŞLUĞU DÜZELTMESİ */
    /* Sayfanın ilk elemanını navbar kadar aşağı itiyoruz */
    .hero-section,
    .about-intro-section,
    .blog-hero {
        margin-top: var(--nav-height-mobile);
    }

    /* Mobil Menü Linkleri Düzeltmesi */
    .nav-link { line-height: 1.5; display: block; padding: 8px 0; }
    .nav-link::after { bottom: 5px; }

    /* Hero Alanı */
    .hero-features { position: relative; bottom: auto; left: auto; transform: none; margin-top: 30px; width: 100%; padding: 0 15px; }
    .hero-section, .hero-sectionV2 { height: auto; padding-bottom: 50px; }
    .hero-overlay-box { margin-bottom: 20px; padding: 20px; }
    
    .hero-title { font-size: 1.8rem !important; } 
    .section-title { font-size: 1.8rem !important; margin: 30px 0; }
    .cta-title { font-size: 1.4rem !important; text-align: center; }
    .cta-section p { text-align: center; }
    .cta-section .col-md-7 { display: flex; flex-direction: column; align-items: center; }
    
    .project-gallery { column-count: 1; }
    .about-title { font-size: 1.8rem; text-align: center; }
    .about-img-wrapper { width: 250px; height: 250px; margin-top: 20px; }
    
    .blog-horizontal-card { flex-direction: column; height: auto; }
    .blog-card-img-wrapper { height: 200px; width: 100%; }
    .location-list li { width: 100% !important;  /* Yan yana değil, tam satır kaplasın */
        display: block !important;
        margin-bottom: 8px;      /* Satırlar arası boşluk */
        padding-bottom: 8px;     /* Yazı altı boşluk */
        border-bottom: 1px dashed #eee; /* Okumayı kolaylaştıran ince çizgi */ }
    
    .btn-orange { padding: 6px 15px !important; font-size: 0.85rem !important; }
    .filter-btn { padding: 6px 12px; font-size: 0.85rem; }
}
/* =========================================
   BLOG MODAL DÜZELTMESİ (Dergi Tipi)
   ========================================= */

/* Modalın Genel Çerçevesi */
#blogReaderModal .modal-dialog {
    max-width: 900px !important; /* Genişliği kısıtladık (Sıkıştırma) */
    margin: 1.75rem auto;
}

#blogReaderModal .modal-content {
    border-radius: 15px;
    overflow: hidden; /* Köşelerin yuvarlak kalması için */
    border: none;
}

/* İç Düzen (Flexbox Yapısı) */
.blog-modal-layout {
    display: flex;
    flex-direction: column; /* Mobilde alt alta olsun */
    background: #fff;
}

/* Sol Taraf (Resim Alanı) */
.blog-modal-left {
    width: 100%;
    height: 250px; /* Mobilde resim yüksekliği */
    background-color: #f8f9fa;
    position: relative;
}

.blog-modal-img-container {
    width: 100%;
    height: 100%;
}

.blog-modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdırır, bozmaz */
    display: block;
}

/* Sağ Taraf (Yazı Alanı) */
.blog-modal-right {
    width: 100%;
    padding: 25px;
    max-height: 50vh; /* Mobilde yazı alanı çok uzamasın, scroll olsun */
    overflow-y: auto;
}

/* --- MASAÜSTÜ GÖRÜNÜMÜ (PC) --- */
@media (min-width: 992px) {
    .blog-modal-layout {
        flex-direction: row; /* Yan yana getir */
        height: 500px; /* Pencerenin sabit yüksekliği */
    }

    .blog-modal-left {
        width: 45%; /* Sol taraf genişliği */
        height: 100%; /* Tam boy */
    }

    .blog-modal-right {
        width: 55%; /* Sağ taraf genişliği */
        height: 100%; /* Tam boy */
        max-height: 100%; /* Scroll içeride çalışsın */
        padding: 40px;
    }
}