/* GENEL AYARLAR */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: #070707; color: #e0e0e0; font-family: 'Montserrat', sans-serif; line-height: 1.6; overflow-x: hidden; }

/* HEADER (MENÜ) */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 30px 10%; background-color: transparent; }
.navbar .logo h2 { font-family: 'Cinzel', serif; font-weight: 400; letter-spacing: 4px; font-size: 18px; color: #fff;}
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #999; text-decoration: none; font-size: 13px; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: #fff; }

/* HERO (GİRİŞ BÖLÜMÜ) */
.hero-section { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.hero-logo { font-family: 'Cinzel', serif; font-size: clamp(24px, 5vw, 40px); letter-spacing: 8px; margin-bottom: 20px; }
.separator { width: 60px; height: 1px; background-color: #555; margin: 0 auto 20px; }
.hero-subtitle { font-family: 'Cinzel', serif; font-size: clamp(14px, 3vw, 20px); letter-spacing: 4px; color: #bbb; margin-bottom: 30px; font-weight: 400;}

/* BUTONLAR */
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-outline { display: inline-block; padding: 15px 40px; border: 1px solid #333; color: #aaa; text-decoration: none; font-size: 13px; letter-spacing: 1.5px; transition: 0.3s; cursor: pointer; border-radius: 3px;}
.btn-outline:hover { border-color: #d4af37; color: #d4af37; }

/* ORTAK BÖLÜMLER */
.section-dark { padding: 100px 10%; background-color: #040404; }
.section-title { font-family: 'Cinzel', serif; font-size: clamp(24px, 4vw, 36px); text-align: center; letter-spacing: 5px; margin-bottom: 60px; font-weight: 400; color: #fff;}

/* HAKKIMIZDA */
.about-container { max-width: 800px; margin: 0 auto; text-align: center; color: #888; font-size: 15px; line-height: 1.8; }

/* HİZMETLER GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; justify-items: center; }
.service-box { text-align: center; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 250px;}
.icon-wrapper { width: 70px; height: 70px; border: 1px solid #333; display: flex; justify-content: center; align-items: center; font-size: 28px; margin-bottom: 20px; transition: 0.3s; border-radius: 5px;}
.service-box:hover .icon-wrapper { border-color: #d4af37; }
.service-box h4 { font-family: 'Cinzel', serif; font-weight: 400; font-size: 16px; margin-bottom: 10px; color: #eee; }
.service-box p { font-size: 13px; color: #777; }

/* GALERİ GRID (Masaüstünde 4'lü Kutu, Bozulmayı Önler) */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.gallery-item { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 5px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: 0.5s ease; cursor: pointer; }
.gallery-item img:hover { filter: grayscale(0%); transform: scale(1.05); }

/* MÜŞTERİ YORUMLARI & BLOG GRID */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto;}
.review-card { border: 1px solid #222; padding: 40px 30px; transition: 0.3s; background-color: #0a0a0a; border-radius: 5px;}
.review-card:hover { border-color: #d4af37; }

/* HARİTAYI SİYAH BEYAZ VE LÜKS YAPMA EFEKTİ */
.map-container iframe { filter: grayscale(100%) invert(90%) contrast(1.2); }

/* FOOTER 4 SÜTUNLU YAPI */
.footer { background-color: #040404; padding: 60px 10% 20px; border-top: 1px solid #111; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-logo { font-family: 'Cinzel', serif; letter-spacing: 2px; margin-bottom: 15px; color:#fff; font-size: 18px; font-weight: 400;}
.footer-col p { color: #777; font-size: 13px; line-height: 1.8; }
.footer-col h4 { font-family: 'Cinzel', serif; color: #d4af37; margin-bottom: 20px; font-weight: 400; letter-spacing: 2px; font-size: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #777; text-decoration: none; font-size: 13px; transition: 0.3s; }
.footer-col ul li a:hover { color: #d4af37; }
.footer-bottom { text-align: center; border-top: 1px solid #111; padding-top: 20px; color: #555; font-size: 12px; letter-spacing: 1px; }

/* WHATSAPP İKONU EFEKTİ */
.fa-whatsapp { transition: 0.3s; }
.fa-whatsapp:hover { transform: scale(1.1); }

/* FOTOĞRAF BÜYÜTME (LIGHTBOX) VE POPUPLAR */
.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.lightbox-content { max-width: 90%; max-height: 90vh; border-radius: 5px; box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); animation: zoomIn 0.3s ease; }
.lightbox-close { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 50px; font-weight: 300; cursor: pointer; transition: 0.3s; }
.lightbox-close:hover { color: #d4af37; }
@keyframes zoomIn { from {transform:scale(0.8); opacity:0} to {transform:scale(1); opacity:1} }

/* YAPAY ZEKA BUTONU VE POPUP */
.ai-btn { position: fixed; bottom: 30px; right: 30px; background-color: #d4af37; color: #000; padding: 15px 25px; border-radius: 30px; font-weight: bold; font-size: 14px; cursor: pointer; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); transition: transform 0.3s; z-index: 1000;}
.ai-btn:hover { transform: scale(1.05); }
.ai-popup { position: fixed; bottom: 90px; right: 30px; background-color: #111; border: 1px solid #d4af37; padding: 25px; border-radius: 10px; width: 300px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); z-index: 1000;}
.hidden { display: none; }
.close-btn { float: right; cursor: pointer; color: #888; font-size: 20px; }

/* 📱 MOBİL VE TABLET UYUMLULUK (SİHİRLİ BÖLÜM) */
@media (max-width: 992px) {
    /* Tablette galeri 2'li olsun */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Menü ve Başlıklar */
    .navbar { flex-direction: column; gap: 15px; padding: 20px; text-align: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .nav-links a { margin-left: 0; }
    .section-dark { padding: 60px 5%; }
    .hero-buttons { flex-direction: column; width: 100%; padding: 0 20px;}
    .btn-outline { width: 100%; }
    
    /* 1. HİZMETLER MOBİLDE YAN YANA (2 SÜTUN) OLSUN */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .icon-wrapper { width: 50px; height: 50px; font-size: 20px; margin-bottom: 10px; }
    .service-box h4 { font-size: 13px; margin-bottom: 5px;}
    .service-box p { font-size: 11px; }

    /* 2. GALERİ MOBİLDE YAN YANA (2 SÜTUN) OLSUN */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    
    /* 3. YORUMLAR VE BLOG ALT ALTA KALSIN */
    .reviews-grid { grid-template-columns: 1fr; }
    .service-box { max-width: 100%; }
    
    /* FOOTER MOBİL ORTALAMASI */
    .footer-container { text-align: center; flex-direction: column; align-items: center; }
}