/* --- ATÖLYE HIZARHANE - FİNAL CSS (RESİM YOLLARI DÜZELTİLDİ) --- */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #292c35; /* Ana Sayfa Arka Planı (Koyu Gri/Mavi) */
    --bg-panel: #3c404b; /* Header, Footer, Mobil Menü Paneli */
    --accent: #E48D00; /* Altın */
    --text-main: #F0F0F0; 
    --text-muted: #c5c2c2;
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
}

/* GENEL SIFIRLAMA */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    width: 100%; 
    overflow-x: hidden; 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    font-family: var(--font-sans); 
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-serif); }


/* ------------------------------------------------ */
/* 1. HEADER */
/* ------------------------------------------------ */
.main-header {
    background-color: var(--bg-dark); 
    padding: 15px 50px;
    border-bottom: 1px solid var(--accent);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.h-left-group { display: flex; align-items: center; gap: 15px; }

/* Logo Işığı: Beyaz */
.h-logo img {
    height: 120px; 
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); 
    transition: 0.3s;
}

.h-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-main); 
}

.h-nav ul { display: flex; gap: 35px; }

.h-nav a {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}
.h-nav a:hover, .h-nav a.active { color: var(--accent); }

/* Menü Efekti: Soldan Sağa */
.h-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0; 
    background-color: var(--accent);
    transition: width 0.3s ease;
}
.h-nav a:hover::after, .h-nav a.active::after {
    width: 100%;
}

.h-icons { display: flex; gap: 20px; font-size: 1.5rem; color: var(--text-main); align-items: center; }
.h-icons a:hover { color: var(--accent); }
.cart-count { color: var(--accent); font-size: 0.9rem; font-weight: 700; margin-left: -5px; }

/* Hamburger Menü (Masaüstünde Gizli) */
.mobile-menu-btn { display: none; cursor: pointer; font-size: 1.5rem; color: var(--accent); }


/* ------------------------------------------------ */
/* 2. MOBİL MENÜ (YAN PANEL - SLIDE IN) */
/* ------------------------------------------------ */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0; 
    width: 300px; 
    height: 100vh;
    background-color: var(--bg-dark); 
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; 
    padding-left: 40px;
    
    transform: translateX(100%); 
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 15px rgba(0,0,0,0.5); 
}

.mobile-nav-overlay.active {
    transform: translateX(0); 
}

.mobile-nav-overlay ul { padding: 0; list-style: none; }
.mobile-nav-overlay li { margin: 30px 0; }

.mobile-nav-overlay a {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

/* Mobil Menü Efekti: Soldan Sağa Çizgi */
.mobile-nav-overlay a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.mobile-nav-overlay a:hover::after {
    width: 100%;
}
.mobile-nav-overlay a:hover { color: var(--accent); }

.mobile-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
}


/* ============================================================
   1. GİRİŞ SAYFASI (LANDING PAGE) - ÖZEL AYARLAR
   ============================================================ */
.hero-landing {
    height: 100vh; width: 100%; position: relative; overflow: hidden;
    display: flex; justify-content: center; align-items: center; background: #000;
}
.hero-video, .hero-bg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 0; object-fit: cover;
}
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 100%); z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center;
    width: 90%; max-width: 1000px;
}

/* Landing Logo: Büyük ve Basık Olmayan */
.hero-logo {
    width: 400px; /* Genişlik artırıldı */
    height: auto; /* Orantıyı korur (Basıklığı önler) */
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)); /* Beyaz ışık */
    /* Giriş Animasyonu */
    opacity: 0; animation: fadeUp 1.5s ease-out forwards;
}

/* Landing Slogan: Daha Küçük */
.hero-slogan {
    font-size: 1.2rem; /* Boyut küçültüldü */
    letter-spacing: 4px; /* Harf aralığı açıldı */
    color: #eee;
    margin-bottom: 40px;
    font-weight: 400;
    /* Animasyon */
    opacity: 0; animation: fadeUp 1.5s 0.3s ease-out forwards;
}

/* Landing Buton: Lüks ve Modern (Az Sarı) */
a.landing-btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid var(--accent); /* İnce altın çerçeve */
    background: rgba(0, 0, 0, 0.6); /* Yarı saydam siyah */
    color: var(--accent); /* Altın yazı */
    backdrop-filter: blur(5px);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.4s ease;
    /* Animasyon */
    opacity: 0; animation: fadeUp 1.5s 0.6s ease-out forwards;
}

a.landing-btn:hover {
    background-color: var(--accent); /* Hoverda altın dolgu */
    color: #000; /* Yazı siyah */
    box-shadow: 0 0 30px rgba(228, 141, 0, 0.5); /* Parlama */
    transform: translateY(-3px);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ------------------------------------------------ */
/* 4. BANNER VE SLIDER */
/* ------------------------------------------------ */
.mega-banner-wrapper { 
    position: relative; width: 100%; padding-top: 70px; margin-bottom: 120px; 
}
.banner-slider { position: relative; width: 100%; height: 70vh; overflow: hidden; }
.slide {
    position: absolute; left: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: left;
    opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1;
}
.slide.active-slide { opacity: 1; z-index: 2; }

/* Kategori Butonları */
.category-buttons-container {
    position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1300px; z-index: 50;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.category-btn {
    position: relative; height: 200px; overflow: hidden;
    background-color: #111; 
    background-size: cover; background-position: center;
    border: 1px solid var(--accent); box-shadow: 0 0 30px rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* DÜZELTME: GÖRECELİ YOLLAR EKLENDİ (../img) */
#cat-mobilya { background-image: url('../img/cat_mobilya.jpg'); }
#cat-dekorasyon { background-image: url('../img/cat_dekorasyon.jpg'); }
#cat-aydinlatma { background-image: url('../img/cat_aydinlatma.jpg'); }
#cat-tablo { background-image: url('../img/cat_tablo.jpg'); }

.category-btn span {
    position: relative; z-index: 2; color: #fff; font-family: var(--font-serif);
    font-size: 1.2rem; letter-spacing: 2px; background: rgba(0,0,0,0.7);
    padding: 12px 25px; border: 1px solid var(--accent); transition: all 0.4s;
}
.category-btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4); transition: background-color 0.4s;
}
.category-btn:hover::before { background-color: rgba(0,0,0,0.1); }
.category-btn:hover span { background: var(--accent); color: #000; }


.banner-slider1 { position: relative; width: 100%; height: 32vh; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: bottom;
    opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1;
}

.banner-slider2 { position: relative; width: 100%; height: 32vh; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: bottom;
    opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1;
}

.banner-slider3 { position: relative; width: 100%; height: 32vh; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: bottom;
    opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1;
}



/* ------------------------------------------------ */
/* 5. İÇERİK ve GÜVEN BAR */
/* ------------------------------------------------ */
.store-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; margin-top: 180px; } 

.trust-bar {
    max-width: 1300px; margin: 100px auto 0; padding: 40px 20px;
    border-top: 1px solid #E48D00 !important; border-bottom: none;
    display: flex; justify-content: space-around; align-items: center; text-align: center;
}
.trust-item { flex: 1; padding: 0 20px; }
.trust-item i { font-size: 2.5rem; color: var(--accent); margin-bottom: 15px; }
.trust-item h3 { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 8px; color: var(--text-main); }
.trust-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Sosyal Tanıtım */
.social-proof-wrapper { max-width: 1300px; margin: 0 auto 100px; padding: 0 20px; }
.social-proof {
    text-align: center; padding: 40px 0;
    border-top: 1px solid #E48D00 !important; margin-bottom: -1px;
}
.social-proof p { color: var(--text-main); font-size: 1.1rem; margin-bottom: 15px; }
.social-proof .follow-cta { color: var(--accent); font-weight: 500; font-size: 1.2rem; margin-bottom: 15px; display: block; }
.social-icons a { font-size: 1.8rem; margin: 0 15px; color: var(--text-main); }
.social-icons a:hover { color: var(--accent); }


/* ------------------------------------------------ */
/* 6. FOOTER */
/* ------------------------------------------------ */
.main-footer { 
    background-color: var(--bg-panel); 
    padding: 60px 50px 30px; color: var(--text-muted); font-size: 0.9rem; 
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1300px; margin: 0 auto 20px; }
.footer-col h4 { color: var(--text-main); font-family: var(--font-serif); font-size: 1rem; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--text-main); padding-top: 20px; text-align: center; max-width: 1300px; margin: 0 auto; }
.copyright { margin-top: 20px; font-size: 0.8rem; color: var(--text-muted); }


/* ============================================================
   7. MOBİL UYUMLULUK (RESPONSIVE)
   ============================================================ */
@media (max-width: 768px) {
    /* Header Düzeni */
    .main-header { padding: 10px 20px; }
    
    .header-content { justify-content: space-between; gap: 10px; }
    
    .h-left-group { flex: 1; justify-content: flex-start; }
    .h-brand { display: none; } 
    .h-logo img { height: 40px; width: auto; } 

    /* Menüyü Gizle / Hamburgeri Göster */
    .h-nav { display: none; }
    .mobile-menu-btn { display: block; margin-left: 15px; }
    
    .h-icons { flex: 0; justify-content: flex-end; }

    /* Landing Page Logo */
    .hero-logo { width: 250px; }
    .hero-slogan { font-size: 1.2rem; }
    a.landing-btn { padding: 15px 40px; font-size: 0.9rem; }
    
    /* Banner ve Butonlar */
    .mega-banner-wrapper { padding-top: 60px; margin-bottom: 50px; }
    .banner-slider { height: 35vh; }
    
    .category-buttons-container {
        position: relative; bottom: 0; left: 0; transform: none;
        width: 100%; padding: 20px; margin-top: -30px; 
        grid-template-columns: 1fr 1fr; 
    }
    .category-btn { height: 100px; }
    .category-btn span { font-size: 0.8rem; padding: 5px 10px; }

    /* İçerik */
    .store-container { margin-top: 30px; }

    /* Footer & Trust */
    .trust-bar { flex-direction: column; margin: 30px auto 0; border-bottom: none; }
    .trust-item { padding: 20px 0; border-bottom: 1px solid #E48D00 !important; width: 100%; }
    
    .social-proof { border-top: 1px solid #E48D00 !important; padding: 20px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* --- HAKKIMIZDA SAYFASI DÜZELTME (BANNER ALTINA METİN) --- */

/* Metin Alanı Kapsayıcısı */
.about-text-section {
    max-width: 1000px;
    margin: 60px auto 40px auto; /* Üstten ve alttan boşluk */
    padding: 0 20px;
    text-align: center;
}

/* Hikayemiz Başlığı */
.about-text-section h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent); /* Altın Rengi */
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Alt Başlık veya Slogan */
.about-text-section h2 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 600;
}

/* Paragraf Metinleri */
.about-text-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}



/* --- İLETİŞİM SAYFASI STİLLERİ --- */

/* 1. Mobildeki Banner Boşluğunu Düzeltme */
/* Masaüstü */
.banner-offset {
    margin-top: 82px;
}
/* Mobil */
@media (max-width: 768px) {
    .banner-offset {
        margin-top: 61px; /* Mobilde header daha kısa olduğu için boşluğu azalttık */
    }
}

/* 2. İletişim Kutuları ve Form Tasarımı */
.contact-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Sol Taraf: Form */
.contact-form-area {
    background-color: #3c404b;
    padding: 40px;
    border: 1px solid #444;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.contact-form-group { margin-bottom: 20px; }

.contact-form-group label {
    display: block;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #292c35;
    border: 1px solid #555;
    color: #fff;
    font-family: var(--font-sans);
    outline: none;
    transition: 0.3s;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: var(--accent);
}

.contact-btn {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-btn:hover {
    background-color: var(--accent);
    color: #000;
}

/* Sağ Taraf: Bilgiler */
.contact-info-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-box {
    margin-bottom: 40px;
    text-align: left;
}

.contact-info-box i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.contact-info-box h3 {
    font-family: var(--font-serif);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-info-box p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobil Düzenleme */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- MOBİL BANNER DÜZELTMESİ (FİNAL VERSİYON) --- */
@media (max-width: 768px) {
    
    /* 1. GRUP: SADECE ANA SAYFA BANNERI (BÜYÜK KALSIN) */
    .banner-slider, 
    .banner-slider .slide {
        height: 55vh !important;       /* Ekranın yarısından biraz fazla */
        min-height: 500px !important;  /* Asla 500px'den kısa olmasın */
        background-position: center center !important; 
    }

    /* 2. GRUP: ALT SAYFA BANNERLARI (KİBAR/İNCE OLSUN) */
    /* İletişim, Hakkımızda, Ürünler vb. sayfalar */
    .banner-slider1, .banner-slider1 .slide,
    .banner-slider2, .banner-slider2 .slide,
    .banner-slider3, .banner-slider3 .slide {
        height: 20vh !important;       /* Ekranın çeyreği kadar */
        min-height: 100px !important;  /* 200px ideal incelik */
        max-height: 250px !important;  /* Çok uzamasını engelle */
        background-position: center center !important;
    }

    /* 3. Banner üzerindeki başlıkları küçült (Tüm sayfalar için) */
    .banner-content h1, 
    .hero-text h1,
    .slide-content h1 {    
        font-size: 1.5rem !important; 
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* 4. Butonları küçült */
    .banner-content button, 
    .banner-content a.btn,
    .hero-btn {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
        margin-top: 10px !important;
    }
    
    /* 5. İçerik Konumu */
    .banner-content, .hero-text, .slide-content {
        width: 90% !important;
        left: 5% !important;
        transform: translateY(-20px) !important; /* Hafif yukarı al */
    }
}