/* =========================================
   1. FONT İMPORT VE DEĞİŞKENLER
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Renk Paleti - Premium "Dolenza" */
  --color-primary: #1c1c1c;      /* Koyu Antrasit/Siyah */
  --color-accent: #bfa05a;       /* LÜKS ALTIN RENGİ */
  --gold-gradient: linear-gradient(135deg, #bfa05a 0%, #9e8246 100%);
  --color-text: #333333;
  --color-light: #f9f9f9;
  --color-white: #ffffff;
  --color-border: #e5e5e5;
  
  /* Font Ayarları */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Düzen Ayarları */
  --container-width: 1200px;
  --header-height: 90px;
  --radius-md: 4px;
  --transition: all 0.3s ease;
}

/* =========================================
   2. TEMEL SIFIRLAMA
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 92%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* =========================================
   3. HEADER (DÜZELTİLMİŞ)
   ========================================= */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.top-bar-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between; /* Öğeleri yay */
  gap: 20px;
}

/* Logo */
.brand-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary); /* Siyah Logo */
}

/* --- KRİTİK DÜZELTME: ESKİ ÖĞELERİ GİZLE --- */
/* Diğer sayfalardaki arama çubuğu ve sosyal ikonları gizler, 
   böylece hepsi ana sayfa gibi temiz görünür */
.search-form, .social-icon-header {
    display: none !important;
}

/* Menü Hizalama */
.main-nav { flex-grow: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 25px; align-items: center; }

.nav-list a {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  padding: 10px 0;
  white-space: nowrap; /* Menü kaymasını engelle */
  position: relative;
}
.nav-list a:hover, .nav-list a.active { color: var(--color-accent); }
.nav-list a::after {
  content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--color-accent); transition: width 0.3s;
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

/* Header Sağ Taraf */
.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link {
  font-weight: 700; color: var(--color-primary); font-size: 13px; white-space: nowrap;
}

/* Hamburger */
.menu-toggle { display: none; background: none; border: none; flex-direction: column; justify-content: space-between; width: 25px; height: 18px; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--color-primary); transition: 0.3s; }

/* =========================================
   4. BUTONLAR
   ========================================= */
.btn, .btn-header {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 30px; border-radius: var(--radius-md); font-family: var(--font-body); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border: none; transition: var(--transition);
}

.btn-primary, .btn-header { background-color: var(--color-primary); color: #fff; }
.btn-primary:hover, .btn-header:hover { background-color: var(--color-accent); color: #fff; transform: translateY(-2px); }

.btn-gold { background: var(--color-accent); color: #fff; }
.btn-gold:hover { background: #a68b4d; }

.btn-whatsapp { background-color: #25D366; color: #fff; border-radius: 50px; }
.btn-outline { border: 1px solid var(--color-primary); background: transparent; color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline-white { border: 1px solid rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--color-primary); }

/* =========================================
   5. HERO ALANLARI (İKİ TİP)
   ========================================= */

/* TİP 1: ANA SAYFA HERO (Yüksek & Görsel) */
.hero-wrapper {
  background-color: #fff; padding-bottom: 60px;
}
.hero-visual {
  position: relative; height: 80vh; min-height: 550px;
  background-image: url('../images/projeler-kapak.jpg'); 
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; padding: 20px; }
.hero-tag { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; color: rgba(255,255,255,0.8); }
.hero-content h1 { font-size: clamp(32px, 5vw, 64px); color: #fff; margin-bottom: 20px; font-weight: 400; }
.hero-content h1 em { color: var(--color-accent); font-style: italic; }
.hero-content p { font-size: 18px; font-weight: 300; margin-bottom: 30px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 15px; justify-content: center; }

/* TİP 2: ALT SAYFALAR HERO (Projeler, Hizmetler vb.) */
/* Eski kodunuzdaki .hero-section yapısını koruduk ve düzelttik */
.hero-section, .hero {
  padding: 100px 0; text-align: center;
  background-color: #222; 
  background-image: url('../images/hizmetler-kapak.jpg'); 
  background-size: cover; background-position: center;
  position: relative; color: #fff; margin-bottom: 50px;
}
.hero-section::before, .hero::before { content:''; position: absolute; inset:0; background: rgba(0,0,0,0.6); }
.hero-section .container, .hero .container { position: relative; z-index: 2; }
.hero-section h1, .hero h1 { color: #fff; font-size: 42px; margin-bottom: 15px; }
.hero-section p, .hero p { color: #ddd; max-width: 700px; margin: 0 auto; }
.hero-subtitle, .kicker, .coverage { color: var(--color-accent); letter-spacing: 2px; text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 10px; }

/* =========================================
   6. HİZMETLER & KARTLAR
   ========================================= */
.services-section { padding: 80px 0; background: var(--color-light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; margin-bottom: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.service-card {
  background: var(--color-white); padding: 40px 30px; border: 1px solid var(--color-border); border-radius: var(--radius-md); text-align: left; transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-bottom: 3px solid var(--color-accent); }

/* İKON DÜZELTMESİ (SVG & ESKİ İKONLAR İÇİN) */
/* Eğer SVG kullanırsanız */
.card-icon-svg svg { width: 45px; height: 45px; color: var(--color-primary); margin-bottom: 20px; transition: 0.3s; }
.service-card:hover .card-icon-svg svg { color: var(--color-accent); transform: scale(1.1); }

/* Eğer eski Emojileri kullanırsanız (Onları altın yapar) */
.card-icon { font-size: 40px; margin-bottom: 20px; color: var(--color-accent); } /* Artık hepsi Altın */

.service-card h3 { font-size: 20px; margin-bottom: 15px; }
.link-arrow { display: inline-block; color: var(--color-accent); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   7. ANA SAYFA KUTUCUKLARI (YENİ)
   ========================================= */
.relative-box { position: relative; z-index: 10; margin-top: -60px; }
.premium-features-box {
  background: #fff; box-shadow: 0 15px 40px rgba(0,0,0,0.1); padding: 40px; display: flex; justify-content: space-between; border-bottom: 4px solid var(--color-accent); border-radius: var(--radius-md);
}
.feature-col { flex: 1; text-align: center; padding: 10px; }
.border-sides { border-left: 1px solid #eee; border-right: 1px solid #eee; }
.f-icon-svg svg { width: 40px; height: 40px; color: var(--color-accent); margin-bottom: 15px; }
.f-text h3 { font-size: 16px; margin-bottom: 5px; font-family: var(--font-heading); color: var(--color-primary); }
.f-text p { font-size: 13px; color: #666; }

/* =========================================
   8. SSS (3 SÜTUNLU YAPI)
   ========================================= */
.faq-section { padding: 80px 0; background: #fff; }
.faq-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; margin-top: 40px; }
.faq-item { background: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active { border-color: var(--color-accent); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.faq-btn {
    width: 100%; padding: 15px 20px; text-align: left; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: #333;
}
.faq-btn:hover { color: var(--color-accent); }
.faq-btn .icon { font-size: 20px; color: var(--color-accent); transition: 0.3s; }
.faq-item.active .faq-btn .icon { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background-color: #fcfcfc; }
.faq-content .text { padding: 0 20px 20px 20px; font-size: 13px; color: #666; line-height: 1.6; }

/* =========================================
   9. GALERİ & FOOTER
   ========================================= */
.showcase-section { padding: 80px 0; background: var(--color-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 280px; background: #fff; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.7); color: #fff; padding: 15px; font-family: var(--font-heading); text-align: center; transform: translateY(100%); transition: var(--transition);
}
.gallery-item:hover figcaption { transform: translateY(0); }

/* ZENGİN FOOTER */
.site-footer {
  background: #111; color: #999; padding: 80px 0 30px; font-size: 14px; border-top: 5px solid var(--color-accent);
  background-image: radial-gradient(circle at top center, #222 0%, #111 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand { font-family: var(--font-heading); font-size: 24px; color: #fff; display: block; margin-bottom: 20px; }
.footer-col h4 { color: #fff; margin-bottom: 25px; font-family: var(--font-heading); letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; display: flex; justify-content: center; }

/* Harita ve CTA */
.cta-section { padding: 60px 0; }
.cta-content { background: var(--color-primary); color: #fff; padding: 60px; border-radius: var(--radius-md); text-align: center; }
.map-section { width: 100%; height: 450px; background: #eee; }
.map-section iframe { width: 100%; height: 100%; filter: grayscale(100%); }

/* =========================================
   10. MOBİL UYUMLULUK
   ========================================= */
@media (max-width: 992px) {
  .search-form, .main-nav, .phone-link, .header-actions { display: none !important; } 
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: 1fr; } 
  .services-grid { grid-template-columns: 1fr; }
  .faq-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin-inline: auto; }
  .btn { width: 100%; }
  
  .premium-features-box { flex-direction: column; gap: 30px; }
  .border-sides { border: none; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 20px 0; }
  .hero-content h1 { font-size: 36px; }
  .hero-section { padding: 60px 0; height: auto; }
  .hero-section h1 { font-size: 32px; }
}

@media (max-width: 600px) {
    .faq-grid-3 { grid-template-columns: 1fr; }
}

/* Mobil Menü */
.mobile-menu { position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; background: #fff; z-index: 2000; padding: 25px; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.3s ease; display: flex; flex-direction: column; }
.mobile-menu.active { right: 0; }
.mobile-menu a { display: block; padding: 15px 0; font-weight: 600; border-bottom: 1px solid #f5f5f5; color: var(--color-text); }
.close-menu { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--color-primary); align-self: flex-end; margin-bottom: 20px; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1500; display: none; backdrop-filter: blur(2px); }
.mobile-overlay.active { display: block; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000; display: none; justify-content: center; align-items: center; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90%; max-height: 80vh; }
.lightbox-close { position: absolute; top: 30px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }

/* --- RAL 3011 (DOLENZA KIRMIZISI) KONSEPTİ - GÜNCELLENMİŞ KREM SEÇENEĞİ --- */

/* 1. Ana Arka Plan Rengi (RAL 3011) */
body, 
main, 
.hero-section, 
.services-section, 
.blog-section, 
.faq-section,
.cta-section {
    background-color: #7d3330 !important; /* RAL 3011 */
    color: #ffffff !important; /* Yazılar Beyaz */
}

/* 2. Başlıklar ve Yazılar (Genel) */
h1, h2, h3, h4, h5, h6, p, li, span, a {
    color: #ffffff;
}

/* 3. Menü ve Header Düzeni */
.site-header {
    background-color: #7d3330; /* Menü de kırmızı olsun */
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-list li a {
    color: #ffffff !important;
}
.brand-logo {
    color: #ffffff !important;
}

/* 4. KREM / FİLDİŞİ KUTULAR (Okunabilirlik İçin - Seçenek 1) */
/* Hizmet kartları, Blog kutuları ve SSS kutularını KREM yapıyoruz */
.service-card, 
.blog-item, 
.faq-item,
.premium-features-box { /* Ana sayfadaki özellik kutusu da dahil edildi */
    background-color: #f9f7f2 !important; /* KREM RENGİ */
    color: #4a4a4a !important; /* Yazılar Koyu Gri */
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Derinlik katar */
}

/* Kutuların içindeki Başlıkları BORDO, Yazıları KOYU GRİ yap */
.service-card h3, .service-card a, 
.blog-title, .faq-btn, 
.f-text h3 {
    color: #7d3330 !important; /* Başlıklar Bordo */
}

.service-card p, 
.blog-item p, .blog-item li, .blog-item span,
.faq-content .text, 
.f-text p {
    color: #4a4a4a !important; /* Metinler Koyu Gri */
}

.blog-category {
    color: #7d3330 !important; /* Blog kategorisi kırmızı olsun */
}

/* 5. Butonlar (Gold veya Beyaz uyumu) */
.btn-primary {
    background-color: #ffffff !important;
    color: #7d3330 !important; /* Kırmızı yazı */
    font-weight: bold;
}
.btn-primary:hover {
    background-color: #f0f0f0 !important;
}

.card-icon, .card-icon-svg {
    color: #7d3330 !important; /* İkonları kırmızı yap */
}

/* 6. Footer (Bir tık daha koyu kırmızı veya aynı renk) */
.site-footer {
    background-color: #5c2422 !important; /* RAL 3011'in bir ton koyusu */
    border-top: 1px solid rgba(255,255,255,0.1);
    background-image: none; /* Eski gradienti kaldır */
}
.site-footer p, .site-footer a {
    color: rgba(255,255,255,0.8) !important;
}