/* style.css - Avukatlık Sitesi Ana Stil Dosyası */

:root {
    --lacivert: #0B2B4A;
    --accent-altin: #C6A15B;
    --accent-bordo: #8B2C2C;
    --arka-plan: #F5F5F5;
    --beyaz: #FFFFFF;
    --yazi-gri: #333333;
}

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--arka-plan);
    color: var(--yazi-gri);
    line-height: 1.6;
    font-size: 16px;
    line-height: 1.8;
}

/* Header ve Navigasyon */
header {
    background-color: var(--lacivert);
    background-color: #0B2B4A !important;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    color: var(--beyaz);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--beyaz);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

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

/* Ana Sayfa Hero Bölümü */
.hero {
    background: linear-gradient(135deg, var(--lacivert) 0%, #1a3f5f 100%);
    color: white !important;  /* Tüm yazılar beyaz olsun */
    padding: 5rem 5%;
    text-align: center;
}

.hero h1 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    color: white !important;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Eğer ayrıca bir class varsa */
.hero-content {
    color: white !important;
}

.hero-content h1,
.hero-content p {
    color: white !important;
}
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-altin);
    color: var(--lacivert);
}

.btn-primary:hover {
    background-color: #b8944a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-altin);
    color: var(--accent-altin);
}

.btn-outline:hover {
    background-color: var(--accent-altin);
    color: var(--lacivert);
}

/* Ana İçerik Bölümleri */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.section-title {
    font-size: 2rem;
    color: var(--lacivert);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-altin);
}

/* Hakkımda Özet */
.about-preview {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    background-color: var(--beyaz);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 3px solid var(--accent-altin);

.stat-item .stat-number,
.stat-item .stat-label {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  /* Gölge ekle */
}
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--lacivert);
    display: block;
}

.stat-label {
    color: var(--yazi-gri);
    font-size: 0.9rem;
}

/* Blog Kartları */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background-color: var(--beyaz);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    color: var(--accent-altin);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: var(--lacivert);
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-meta {
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* İletişim Formu */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--lacivert);
    color: var(--beyaz);
    padding: 2rem;
    border-radius: 10px;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    color: var(--accent-altin);
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--beyaz);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--lacivert);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-altin);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--lacivert);
    color: var(--beyaz);
    padding: 3rem 5% 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--accent-altin);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--beyaz);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-altin);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-preview {
        flex-direction: column;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Blog Sayfası Stilleri */
.blog-header {
    background-color: var(--lacivert);
    color: var(--beyaz);
    padding: 3rem 5%;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 5%;
}

.sidebar {
    background-color: var(--beyaz);
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

.widget h3 {
    color: var(--lacivert);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-altin);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    color: var(--yazi-gri);
    text-decoration: none;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: var(--accent-altin);
}

/* Blog Yazısı Sayfası */
.post-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.post-content h2 {
    color: var(--lacivert);
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin: 1rem 0 1.5rem 2rem;
}
.nav-links li {
    position: relative;  /* Alt menünün konumlanması için */
}

/* Ana menü linkleri */
.nav-links > li > a {
    display: block;
    padding: 0.5rem 1rem;
}

/* Dropdown (açılır) menü */
.dropdown-menu {
    position: absolute;
    top: 100%;  /* Ana menünün hemen altında */
    left: 0;
    background-color: var(--beyaz);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid var(--accent-altin);
}

/* Hover durumunda dropdown görünür */
.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menü linkleri */
.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu a {
    color: var(--yazi-gri) !important;
    padding: 0.8rem 1.5rem !important;
    display: block;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--accent-altin) !important;
    border-left-color: var(--accent-altin);
    padding-left: 2rem !important;
}

/* Dropdown ok işareti (opsiyonel) */
.has-dropdown > a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Kategori başlığı (opsiyonel) */
.dropdown-header {
    padding: 0.5rem 1.5rem;
    color: var(--lacivert);
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #f5f5f5;
    margin: 0.5rem 0;
}

/* Responsive - mobilde dropdown farklı çalışsın */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255,255,255,0.1);
        padding-left: 1rem;
        min-width: 100%;
    }
    
    .has-dropdown > a::after {
        content: '+';
        float: right;
    }
    
    .dropdown-menu a {
        color: var(--beyaz) !important;
    }
}
.post-content {
    max-width: 1200px;  /* 800px'den 1000px'e çıkardık */
    margin: 0 auto;
    padding: 2rem 5%;
}

/* Blog grid'deki kartları da genişletelim */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 300px'den 350px'e */
    gap: 2rem;
    margin-top: 2rem;
}
/* Başlıklar */
h1 {
    font-size: 2rem;
    line-height: 1.3;
    color: #111111;
}

h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #111111;
}

h3 {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #111111;
}
/* Blog yazısı içindeki yazılar */
.post-content p {
    font-size: 1.2rem;  /* Blog yazılarında daha büyük font */
    margin-bottom: 2rem;
}

.post-content h2 {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

.post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Listeler */
.post-content ul, 
.post-content ol {
    margin: 1.5rem 0 2rem 2.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.post-content li {
    margin-bottom: 0.8rem;
}
/* Tablet için */
@media (max-width: 992px) {
    .container {
        max-width: 95%;
        padding: 2rem 3%;
    }
    
    body {
        font-size: 14px;
    }
    
    .post-content p {
        font-size: 1.1rem;
    }
}

/* Telefon için */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .container {
        max-width: 100%;
        padding: 1.5rem 4%;
    }
    
    h1 {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 0.5rem;
    }
    
    h3 {
        font-size: 0.5rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
    
    .post-content ul, 
    .post-content ol {
        margin-left: 1.5rem;
    }