/* ==========================================================================
   TOLGA ELÇEK - KİŞİSEL MARKA & KİTAP PLATFORMU ANA STİL DOSYASI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #FAFAFA; 
    --surface-color: #FFFFFF; 
    --text-main: #2C2C2C; 
    --text-muted: #6B6B6B; 
    --gold-accent: #B09E80; 
    --gold-hover: #96866C; 
    --border-light: rgba(0,0,0,0.06); 
    
    --font-heading: 'Lora', serif; 
    --font-body: 'Inter', sans-serif; 
    
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased; 
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .serif-text {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
}
a { color: inherit; text-decoration: none; transition: var(--transition); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 100px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }
.bg-white { background-color: var(--surface-color); }

/* --- Üst Menü (Header) --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 100;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.5px; }

/* Mobil Menü Butonu (Masaüstünde Gizli) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101; 
}
.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.nav-links a:hover { color: var(--gold-accent); }

/* --- Butonlar --- */
.btn-primary {
    background-color: var(--gold-accent); color: #fff; padding: 12px 30px;
    border-radius: 4px; display: inline-block; font-weight: 500;
    letter-spacing: 0.5px; border: 1px solid var(--gold-accent); cursor: pointer;
}
.btn-primary:hover { background-color: var(--gold-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline {
    background: transparent; color: var(--text-main); border: 1px solid var(--border-light);
    padding: 12px 30px; border-radius: 4px; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold-accent); color: var(--gold-accent); }

/* --- Hero --- */
.hero { padding: 100px 0; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 3/4; }

/* --- CTA (Satın Alma) --- */
.cta-banner { 
    background: var(--surface-color); border: 1px solid var(--border-light); padding: 60px; 
    border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 40px; 
    box-shadow: var(--shadow-md); position: relative; overflow: hidden; 
}
.cta-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gold-accent); }
.cta-content h2 { font-size: 2.2rem; margin-bottom: 15px; color: var(--text-main); }
.cta-content p { color: var(--text-muted); font-size: 1.1rem; margin: 0; max-width: 600px; }

/* --- Ezan Vakitleri --- */
.ezan-container { background: var(--surface-color); border-radius: 12px; padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.ezan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin-top: 30px; }
.ezan-card { text-align: center; padding: 20px; border: 1px solid var(--border-light); border-radius: 8px; transition: var(--transition); }
.ezan-card:hover { border-color: var(--gold-accent); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.ezan-card h4 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.ezan-card .time { font-size: 1.5rem; font-family: var(--font-heading); color: var(--gold-accent); }

/* --- Aktif Ezan Vakti Parlama Efekti --- */
.ezan-card.active-vakit {
    border-color: var(--gold-accent);
    background-color: rgba(176, 158, 128, 0.05); /* Çok hafif altın sarısı zemin */
    box-shadow: 0 0 15px rgba(176, 158, 128, 0.3); /* Dışa doğru altın parlama */
    transform: translateY(-5px);
}
.ezan-card.active-vakit h4 {
    color: var(--gold-accent);
    font-weight: 600;
}

/* --- Alıntılar (Quotes) --- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.quote-card { 
    background: var(--surface-color); padding: 50px 40px 40px; border-radius: 8px; border: 1px solid var(--border-light); 
    position: relative; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; justify-content: space-between;
}
.quote-card:hover { transform: translateY(-5px); border-color: var(--gold-accent); box-shadow: var(--shadow-md); }
.quote-icon { font-size: 6rem; color: var(--gold-accent); opacity: 0.15; position: absolute; top: 0px; left: 20px; font-family: var(--font-heading); line-height: 1; user-select: none; }
.quote-text { font-size: 1.15rem; font-family: var(--font-heading); font-style: italic; color: var(--text-main); position: relative; z-index: 1; margin-bottom: 30px; line-height: 1.8; }
.quote-author { font-size: 0.85rem; color: var(--gold-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; border-top: 1px solid var(--border-light); padding-top: 20px; }

/* --- Blog Vitrini --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.blog-card { background: var(--surface-color); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border-light); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-accent); }
.blog-card-img { width: 100%; height: 220px; object-fit: cover; background: #f5f5f5; border-bottom: 1px solid var(--border-light); }
.blog-card-content { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.85rem; color: var(--gold-accent); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.blog-title { font-size: 1.3rem; margin-bottom: 15px; line-height: 1.4; font-family: var(--font-heading); color: var(--text-main); }
.blog-excerpt { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; flex: 1; }

/* --- Instagram Alanı --- */
.ig-section { text-align: center; padding: 80px 0; background: var(--surface-color); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.ig-icon { font-size: 2rem; color: var(--gold-accent); margin-bottom: 20px; display: inline-block; }

/* --- Hikayem & Kitap Sayfası --- */
.story-content { max-width: 800px; margin: 0 auto; }
.story-content p { margin-bottom: 25px; font-size: 1.15rem; color: #444; }
.story-content .lead { font-size: 1.4rem; font-family: var(--font-heading); font-style: italic; color: var(--gold-accent); margin-bottom: 40px; text-align: center; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.book-meta { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border-light); display: grid; grid-template-columns: 1fr 1fr; gap: 15px; font-size: 0.9rem;}

/* --- Premium Footer --- */
.site-footer { background-color: var(--surface-color); border-top: 1px solid var(--border-light); padding: 80px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.footer-brand .logo { margin-bottom: 20px; display: block; color: var(--text-main); }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; max-width: 400px; }
.footer-links h4 { margin-bottom: 25px; font-size: 1.1rem; color: var(--text-main); font-family: var(--font-heading); }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links ul li a:hover { color: var(--gold-accent); }
.footer-links ul li a.gold-link { color: var(--gold-accent); font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--border-light); color: var(--text-muted); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 20px; }

/* --- Animasyonlar --- */
.fade-in { animation: fadeIn 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; opacity: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   MOBİL UYUMLULUK (Responsive Design) & AÇILIR MENÜ
   ========================================================================== */
@media (max-width: 768px) {
    .section-pad { padding: 60px 0; }
    .section-title { font-size: 2rem; margin-bottom: 40px; }
    
    /* Mobil Menü Aktifleştirme */
    .mobile-menu-btn { display: flex; }
    
    .nav-links {
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        background: var(--surface-color);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); 
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
    }
    
    .nav-links a { padding: 20px; display: block; text-align: center; border-bottom: 1px solid var(--border-light); }
    .nav-links a:last-child { border-bottom: none; }
    
    /* İkon Animasyonu */
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* Diğer Mobil Ayarlar */
    .hero { flex-direction: column-reverse; text-align: center; padding: 40px 20px; gap: 30px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 25px; padding: 0 10px; }
    .hero-image img { aspect-ratio: auto; max-height: 400px; width: auto; margin: 0 auto; }
    
    .hero-content div[style*="display: flex"] { flex-direction: column; gap: 15px; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; display: block; }
    
    .cta-banner { flex-direction: column; text-align: center; padding: 40px 20px; }
    .cta-banner::before { width: 100%; height: 4px; top: 0; left: 0; }
    .cta-content h2 { font-size: 1.8rem; }
    .cta-banner .btn-primary { width: 100%; }
    
    .ezan-container { padding: 25px 15px; }
    .ezan-container > div:first-child { flex-direction: column; align-items: stretch; text-align: center; }
    #citySelect { width: 100%; margin-top: 15px; text-align: center; }
    .ezan-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    
    .book-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .book-meta { grid-template-columns: 1fr; text-align: left; }
    .story-content p { font-size: 1.05rem; }
    .story-content .lead { font-size: 1.2rem; }
    
    /* Footer Mobil */
    .site-footer { padding: 50px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand, .footer-links { text-align: left; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}