/*
Theme Name: Eş Hukuk Özel Tema
Theme URI: https://eshukuk.com.tr
Author: İbrahim Polat
Description: SEO odaklı, hızlı, sıfırdan kodlanmış özel hukuk bürosu WordPress teması.
Version: 4.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* Reset & Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #141210;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header & Navigasyon */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(20, 18, 16, 0.92);
    border-bottom: 1px solid rgba(197, 155, 39, 0.3);
    padding-top: 35px; 
}

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

.logo img {
    max-height: 85px;
    width: auto;
}

/* WordPress Dinamik Menü Yapısı */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 10px 0;
}

.nav-menu > li > a:hover, 
.nav-menu > li > a.active, 
.nav-menu > li.current-menu-item > a {
    color: #c59b27;
}

/* --- KUSURSUZ AÇILIR MENÜ (DROPDOWN) MİMARİSİ --- */
.nav-menu ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 240px !important;
    background: rgba(20, 18, 16, 0.98) !important;
    border: 1px solid rgba(197, 155, 39, 0.4) !important;
    border-radius: 6px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8) !important;
    padding: 12px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    list-style: none !important;
}

/* Mouse menünün üzerine gelince alt menüyü aç */
.nav-menu li:hover > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nav-menu ul.sub-menu li {
    width: 100% !important;
    display: block !important;
    float: none !important;
}

.nav-menu ul.sub-menu li a {
    display: block !important;
    padding: 10px 22px !important;
    font-size: 14.5px !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    text-align: left !important;
    transition: background 0.3s, color 0.3s !important;
    background: transparent !important;
}

.nav-menu ul.sub-menu li a:hover {
    background: rgba(197, 155, 39, 0.15) !important;
    color: #c59b27 !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Gold Hemen Danışmanlık Al Butonu */
.consultation-btn {
    background: linear-gradient(135deg, #c59b27, #9e781a);
    color: #141210;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}

.consultation-btn:hover {
    background: linear-gradient(135deg, #d8ac2f, #b3881e);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.5);
}

.menu-toggle {
    background: #1f1b18;
    border: 1px solid #c59b27;
    color: #c59b27;
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}

/* 1. Slider Alanı */
.hero-slider {
    position: relative;
    height: 750px; 
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 70px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(20,18,16,0.92) 35%, rgba(20,18,16,0.4) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    padding-left: 50px;
}

.slide-content span {
    color: #c59b27;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.2;
    color: #ffffff;
}

.slide-content h1 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c59b27;
    text-transform: none;
    font-size: 56px;
}

.slider-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #d35400);
    color: #fff;
    padding: 15px 32px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
}

.slider-arrow {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-arrow:hover { background: #c59b27; }
.prev-slide { left: 20px; }
.next-slide { right: 20px; }

/* İç Sayfa Hero / Slider 3 Alanı */
.page-hero {
    position: relative;
    height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(20,18,16,0.85) 0%, rgba(20,18,16,0.95) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.page-hero .slide-content {
    max-width: 800px;
    padding-left: 20px;
}

.page-hero .slide-content span {
    color: #c59b27;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.page-hero .slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 700;
    margin-top: 10px;
    color: #ffffff;
}

.page-hero .slide-content h1 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c59b27;
    text-transform: none;
    font-size: 46px;
}

/* 2. Kurumsal Bilgiler Alanı (Kırık Beyaz Arka Plan) */
.corporate-section {
    padding: 90px 0;
    background-color: #f9f8f6;
}

.corporate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.corporate-text h3 {
    color: #c59b27;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.corporate-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #141210;
    margin-bottom: 25px;
}

.corporate-text p {
    color: #444444;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16.5px;
}

.corporate-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
    list-style: none;
}

.corporate-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c59b27, #9e781a);
    color: #141210;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
    text-align: center;
    width: 100%;
    min-height: 48px;
}

.corporate-badge:hover {
    background: linear-gradient(135deg, #d8ac2f, #b3881e);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.5);
}

.phone-box {
    font-weight: 600;
    font-size: 19px;
    color: #141210;
    margin-top: 25px;
}

.phone-box span { 
    color: #c59b27; 
    font-weight: 700;
    font-size: 21px;
}

.corporate-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Kurumsal Sayfa Özel İçerik ve Görsel Tasarımı */
.corporate-page-section {
    padding: 80px 0;
    background-color: #141210;
}

.corporate-page-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
}

.corporate-page-text .sub-title {
    color: #c59b27;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.corporate-page-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #ffffff;
    margin: 10px 0 25px;
}

.corporate-page-text h2 span {
    color: #c59b27;
    font-style: italic;
}

.corporate-page-text p {
    color: #b5b5b5;
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.corporate-page-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(197, 155, 39, 0.3);
}

/* Zaman Tüneli (Timeline) */
.timeline-section {
    padding: 80px 0 110px;
    background-color: #0d0b0a;
    border-top: 1px solid #222;
    overflow-x: auto;
}

.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

.timeline-line {
    position: absolute;
    top: 55px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: rgba(197, 155, 39, 0.4);
    z-index: 1;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 15px;
}

.timeline-item {
    text-align: center;
    flex: 1;
    padding: 0 5px;
    position: relative;
}

.timeline-year {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    color: #c59b27;
    margin-bottom: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.timeline-year:hover {
    color: #fff;
    transform: scale(1.25);
    text-shadow: 0 0 12px #c59b27, 0 0 25px #c59b27, 0 0 40px #f39c12;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: #141210;
    border: 2px solid #c59b27;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: #c59b27;
    box-shadow: 0 0 10px #c59b27;
}

.timeline-item h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 600;
}

.timeline-item p {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

/* İletişim Sayfası */
.contact-page-section {
    padding: 0 0 80px 0;
    background-color: #141210;
}

.contact-map-wrapper {
    position: relative;
    z-index: 1;
}

.contact-map-box {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-card-container {
    margin-top: -80px !important;
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 20px !important;
}

.contact-box-inner.single-box {
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 50px !important;
    width: 100% !important;
    max-width: 900px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
    color: #222222 !important;
}

.contact-box-header.text-center {
    margin-bottom: 30px !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 20px !important;
    text-align: center;
}

.contact-box-header.text-center h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 24px !important;
    color: #141210 !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.contact-box-header.text-center h3 span {
    font-style: italic !important;
    color: #c59b27 !important;
}

.contact-box-header.text-center p {
    color: #555555 !important;
    font-size: 14.5px !important;
}

.contact-box-info-centered {
    display: flex !important;
    justify-content: space-around !important;
    align-items: flex-start !important;
    gap: 30px !important;
    margin-top: 30px !important;
    text-align: left !important;
}

.contact-box-info-centered .info-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    color: #222222 !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    flex: 1 !important;
}

.contact-box-info-centered .info-row .info-icon {
    font-size: 20px !important;
    margin-top: 2px !important;
}

.contact-box-info-centered .info-row strong {
    color: #141210 !important;
}

.contact-box-info-centered .info-row a {
    color: #222222 !important;
    transition: color 0.3s !important;
}

.contact-box-info-centered .info-row a:hover {
    color: #c59b27 !important;
}

.contact-phone-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, #c59b27, #9e781a) !important;
    color: #141210 !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 6px !important;
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3) !important;
    transition: all 0.3s ease !important;
}

.contact-phone-badge:hover {
    background: linear-gradient(135deg, #d8ac2f, #b3881e) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(197, 155, 39, 0.5) !important;
}

/* 3. Hizmetler Alanı */
.services-section {
    padding: 90px 0;
    background-color: #0d0b0a;
    text-align: center;
}

.section-title span {
    color: #c59b27;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #ffffff;
    margin: 10px 0 50px;
}

.section-title h2 span {
    color: #c59b27;
    font-style: italic;
    text-transform: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 250px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 6px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    transition: transform 0.3s;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(180deg, rgba(20,18,16,0.15) 0%, rgba(20,18,16,0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    border: none !important;
    box-shadow: none !important;
}

.service-card h4 {
    position: relative;
    z-index: 5 !important;
    margin: 0;
}

.service-card h4 a {
    font-size: 20px;
    color: #ffffff !important;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-card h4 a:hover {
    color: #c59b27 !important;
}

/* 4. İstatistikler Alanı (Kırık Beyaz Arka Plan ve Sarı/Kırık Beyaz Kutular) */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f9f8f6;
    border-top: 1px solid #e0dcd5;
    border-bottom: 1px solid #e0dcd5;
}

.stat-box {
    padding: 45px 20px;
    text-align: center;
    background: #f9f8f6;
    border-right: 1px solid #e0dcd5;
    color: #141210;
}

.stat-box h3, .stat-box p {
    color: #141210;
}

.stat-box:nth-child(odd) {
    background: linear-gradient(135deg, #c59b27, #8e6d18);
    color: #141210;
}

.stat-box:nth-child(odd) h3, .stat-box:nth-child(odd) p {
    color: #141210;
}

.stat-box h3 { 
    font-size: 38px; 
    font-weight: 700; 
    font-family: 'Playfair Display', serif;
}
.stat-box p { 
    font-size: 15.5px; 
    margin-top: 8px; 
    font-weight: 600; 
}

/* Ekibimiz Alanı (Kırık Beyaz Arka Plan ve Koyu Kartlar) */
.team-section {
    padding: 90px 0;
    background-color: #f9f8f6;
}

.team-section .section-title h2 {
    color: #141210 !important;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.team-card {
    background: #1c1815;
    border: 1px solid rgba(197, 155, 39, 0.2);
    color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: #c59b27;
}

.team-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.team-card h4 { 
    font-size: 18px; 
    margin: 18px 0 5px; 
    font-weight: 600;
    color: #fff;
}
.team-card span { 
    font-size: 14px; 
    color: #c59b27; 
    font-weight: 500;
}

/* 5. Footer Alanı */
footer {
    background-color: #0b0908;
    padding: 70px 0 25px;
    border-top: 1px solid #222;
    color: #b0b0b0;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #c59b27;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1f1b18;
    padding-top: 25px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    background: #1f1b18;
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #c59b27;
    color: #141210;
}

/* Responsive (Mobil Uyum) Tasarım ve Akordiyon Menü Düzeltmeleri */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-section { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .corporate-grid, .corporate-page-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    /* Mobil Menü Başlangıçta Kapalı */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 126px;
        left: 0;
        width: 100%;
        background: rgba(20, 18, 16, 0.98);
        border-bottom: 1px solid rgba(197, 155, 39, 0.4);
        padding: 25px 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.8);
        z-index: 9999;
        align-items: flex-start;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobilde İçerik ve Formu Alt Alta Dizecek Grid Düzeltmesi */
    .content-form-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .left-content-area {
        padding: 25px !important;
        word-break: break-word;
    }

    .right-whatsapp-form-box {
        position: static !important;
        width: 100% !important;
    }

    /* Mobilde Alt Menü Ok İşaretleri ve Akordiyon Yapısı */
    .nav-menu .menu-item-has-children > a::after {
        content: ' ▼';
        font-size: 11px;
        margin-left: 8px;
        color: #c59b27;
        display: inline-block;
        transition: transform 0.3s;
    }

    .nav-menu .menu-item-has-children.open > a::after {
        transform: rotate(180deg);
    }

    .nav-menu .sub-menu {
        position: static !important;
        display: none !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 15px !important;
        margin-top: 10px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .nav-menu .menu-item-has-children.open > .sub-menu {
        display: block !important;
    }

    .timeline-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .timeline-line {
        display: none;
    }
    .timeline-item {
        flex: 0 0 40%;
    }
    .contact-box-inner.single-box {
        padding: 30px 20px !important;
    }
    .contact-card-container {
        margin-top: -40px !important;
    }
    .contact-box-info-centered {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .contact-box-info-centered .info-row {
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .services-grid, .stats-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-section { grid-template-columns: 1fr; }
    .slide-content h1, .page-hero .slide-content h1 { font-size: 34px; }
    .slide-content h1 span, .page-hero .slide-content h1 span { font-size: 34px; }
    .slide-content { padding-left: 20px; }
    .timeline-item {
        flex: 0 0 100%;
    }
}