/*
Theme Name: Gala Hukuk (Bordo & Gold)
Theme URI: https://example.com/
Author: Antigravity AI
Author URI: https://example.com/
Description: Gala Hukuk Bürosu ve Av. Gamze Demirhan için özel Bordo, Gold ve Siyah konseptli şık WordPress teması.
Version: 1.1
Text Domain: gala-legal
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --primary: #5c0f1c; /* Bordo (Burgundy) */
    --secondary: #3d0a13;
    --accent: #d4af37; /* Altın Sarısı */
    --accent-hover: #b5952f;
    --text-dark: #111111; /* Siyah / Koyu Gri */
    --text-light: #4a4a4a;
    --bg-light: #fafafa;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

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

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

/* Header */
.site-header {
    background-color: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
}

.site-title a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-title span {
    color: var(--accent);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    padding: 5px 0;
}

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

/* Açılır Menü (Dropdown) Stilleri */
.main-navigation ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary);
    flex-direction: column;
    min-width: 220px;
    gap: 0;
    box-shadow: var(--shadow);
    z-index: 9999;
    padding: 10px 0;
    border-top: 3px solid var(--accent);
}

.main-navigation li:hover > ul.sub-menu {
    display: flex;
}

.main-navigation ul.sub-menu li {
    width: 100%;
}

.main-navigation ul.sub-menu a {
    padding: 10px 20px;
    font-size: 0.9rem;
    text-transform: none; /* Alt menüde yazılar normal boyutta olsun */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-navigation ul.sub-menu li:last-child a {
    border-bottom: none;
}

.main-navigation ul.sub-menu a:hover {
    background-color: var(--secondary);
    color: var(--accent);
    padding-left: 25px; /* Hover efektinde hafif sağa kaysın */
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(110, 10, 20, 0.8), rgba(90, 0, 10, 0.9)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: var(--accent);
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e2e8f0;
}

/* Page Headers */
.page-header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    border-bottom: 4px solid var(--accent);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 2.5rem;
}

/* Blog / Posts Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    height: 200px;
    background-color: var(--border);
    display: block;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-category {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--primary);
}

.post-title a:hover {
    color: var(--accent);
}

.post-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    color: var(--accent);
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary);
}
.read-more:hover::after {
    transform: translateX(5px);
}

/* Single Post */
.single-post-content {
    max-width: 800px;
    margin: 60px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.single-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.single-post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}
.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 3px solid var(--accent);
}
.service-card i {
    color: var(--accent);
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 4px solid var(--accent);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.widget-title {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-widget p, .footer-widget li {
    color: #e2e8f0;
    margin-bottom: 10px;
}

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

.footer-widget a {
    color: #e2e8f0;
}

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

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Mobil Menü: Yatay Kaydırılabilir */
    .main-navigation {
        width: 100%;
        max-width: 100vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .main-navigation ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 15px;
        width: max-content;
    }
    
    .main-navigation a {
        white-space: nowrap;
        font-size: 0.85rem;
    }
    
    /* Hero Title Mobil Uyum */
    .hero h1 {
        font-size: 2.5rem !important; /* !important ile ezeriz */
        line-height: 1.2;
    }
    
    .hero {
        padding: 80px 0;
    }
}
