/*
Theme Name: Yarar Hukuk Teması
Theme URI: https://yarar.av.tr
Author: Dijital Ekip
Description: Yarar Hukuk Bürosu için özel hazırlanmış tema.
Version: 1.2 (Düzeltilmiş Versiyon)
*/

/* --- 1. GENEL AYARLAR --- */
:root {
    --primary-color: #0f172a; /* Lacivert */
    --accent-color: #c29d59;  /* Altın */
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--text-color); 
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

/* --- 2. HEADER AYARLARI --- */
header.site-header {
    background: var(--primary-color);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 5%;
    display: flex; 
    justify-content: space-between;
    align-items: center; 
}

/* Logo */
.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.logo span { color: var(--accent-color); margin-left: 5px; }

/* Menü */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 0;
    text-transform: uppercase;
}

.main-nav a:hover { color: var(--accent-color); }

/* Randevu Butonu */
.nav-randevu-btn {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    transition: transform 0.2s ease;
}

.nav-randevu-btn:hover {
    background-color: var(--white);
    transform: scale(1.05);
}

/* --- 3. HERO BÖLÜMÜ (RESİM VE YAZI) --- */
.hero { 
    /* Resim Linkiniz */
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.2)), url('https://raw.githubusercontent.com/hakkurgithub/images/main/av-furkan-yarar1.jpeg');
    
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    
    /* İÇERİK HİZALAMA */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* İçeriği yukarı yasla */
    padding-top: 140px;      /* Başın üzerine gelmesi için boşluk */
    
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
    line-height: 1.2;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    opacity: 0.95;
    font-weight: 500;
}

/* --- 4. BLOG VE DİĞER ALANLAR --- */
.blog-section { padding: 5rem 10%; background: var(--bg-light); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 2rem; }
.blog-card { background: white; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.blog-content { padding: 1.5rem; }
.blog-title { margin: 10px 0; font-size: 1.2rem; color: var(--primary-color); font-family: 'Playfair Display', serif;}
.read-more { color: var(--accent-color); font-weight: bold; }

/* --- 5. MODAL (POP-UP FORM) --- */
/* Bu kısım formun sayfa yüklenince gizli kalmasını sağlar */
.modal {
    display: none; /* VARSAYILAN OLARAK GİZLİ */
    position: fixed; 
    z-index: 9999; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2.5rem;
    border: 1px solid #888;
    width: 90%; max-width: 500px;
    border-radius: 12px;
    position: relative;
}
.close-btn {
    color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer;
}
.close-btn:hover { color: #000; }
.form-group { margin-bottom: 20px; text-align: left;}
.form-group label { display: block; margin-bottom: 8px; color: var(--primary-color); font-weight: 600;}
.form-group input, .form-group textarea {
    width: 100%; padding: 12px;
    border: 1px solid #ddd; border-radius: 6px;
    font-size: 1rem;
}
.form-submit-btn {
    background-color: var(--primary-color);
    color: white; width: 100%; padding: 12px;
    border: none; border-radius: 6px;
    cursor: pointer; font-weight: bold;
}
.form-submit-btn:hover { background-color: var(--accent-color); }

/* --- 6. MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; padding: 1rem; }
    .main-nav ul { flex-direction: column; gap: 15px; width: 100%; }
    .nav-randevu-btn { display: block; width: 100%; text-align: center; margin-top: 5px; }
    
    .hero { padding-top: 100px; background-position: center top; }
    .hero h1 { font-size: 2rem; padding: 0 10px; }
    .hero p { font-size: 1rem; padding: 0 20px; }
}