/*
Theme Name: Emek Tesisat İstanbul
Theme URI: https://emektesisatistanbul.com
Author: BK
Author URI: https://berkankaradas.com
Description: Emek Tesisat İstanbul için özel tasarlanmış profesyonel WordPress teması. 7/24 kırmadan su kaçağı tespiti, tıkanıklık açma, petek temizleme ve acil tesisatçı hizmetleri. LiteSpeed Cache uyumlu, SEO optimize edilmiş, tam responsive tasarım.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emek-tesisat
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, translation-ready, blog, portfolio
*/

/* ================================================
   DESIGN SYSTEM & VARIABLES
   ================================================ */

:root {
    /* Light Mode Colors */
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --heading-color: #0f172a;
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-dark: #1e40af;
    
    --secondary: #ef4444;
    --secondary-hover: #dc2626;
    
    --success: #10b981;
    --warning: #f59e0b;
    
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

[data-theme="dark"] {
    --bg-color: #09090b;
    --surface-color: #18181b;
    --text-main: #a1a1aa;
    --text-muted: #71717a;
    --heading-color: #fafafa;
    
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-light: rgba(59, 130, 246, 0.15);
    --primary-dark: #2563eb;
    
    --secondary: #ef4444;
    --secondary-hover: #f87171;
    
    --border-color: #27272a;
    --glass-bg: rgba(24, 24, 27, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

/* ================================================
   RESET & BASE
   ================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    transition: background-color var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================================
   LAYOUT
   ================================================ */

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

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-warning { color: var(--warning); }
.text-success { color: var(--success); }

/* ================================================
   BUTTONS
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-white:hover {
    background: var(--bg-color);
    transform: translateY(-2px);
}

.whatsapp-btn {
    border-color: var(--success);
    color: var(--success);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

/* ================================================
   TOP BAR
   ================================================ */

.top-bar {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.875rem;
    transition: var(--transition);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--success);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.status-dot.pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: inherit;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.status-text strong {
    color: var(--heading-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.contact-mini i {
    color: var(--primary);
}

.contact-mini a {
    color: var(--heading-color);
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

#theme-toggle:hover {
    color: var(--primary);
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading-color);
}

.logo:hover {
    color: var(--heading-color);
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

.nav-menu ul,
.nav-menu .menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: var(--primary);
}

.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--surface-color);
    z-index: 999;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

.mobile-nav ul,
.mobile-nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 0;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    color: var(--heading-color);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.mobile-nav .btn {
    margin-top: 24px;
    width: 100%;
    text-align: center;
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--primary-light) 100%);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--surface-color);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--success);
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    z-index: 3;
}

.stat-card i {
    font-size: 1.5rem;
    background: var(--bg-color);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-card div {
    display: flex;
    flex-direction: column;
}

.stat-card strong {
    font-size: 1.25rem;
    color: var(--heading-color);
    line-height: 1;
}

.stat-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.top-left {
    top: -20px;
    left: -40px;
    animation: float 4s ease-in-out infinite;
}

.bottom-right {
    bottom: -20px;
    right: -20px;
    animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--bg-color);
    transition: fill var(--transition);
}

/* ================================================
   SECTIONS COMMON
   ================================================ */

.section-header {
    margin-bottom: 48px;
}

.subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.grid {
    display: grid;
    gap: 24px;
}

/* ================================================
   SERVICES
   ================================================ */

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link i {
    transition: transform 0.3s;
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* ================================================
   INFO SECTION
   ================================================ */

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

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list i {
    margin-top: 4px;
}

/* ================================================
   TESTIMONIALS
   ================================================ */

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
    background: var(--surface-color);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card .stars {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-info strong {
    color: var(--heading-color);
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================================
   FAQ
   ================================================ */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--surface-color);
}

.faq-question h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 300px;
}

/* ================================================
   CTA BANNER
   ================================================ */

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 60px 0;
    color: white;
    margin-top: 40px;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}

/* ================================================
   PAGE HEADER (Inner Pages)
   ================================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .separator {
    opacity: 0.5;
}

/* ================================================
   ABOUT PAGE
   ================================================ */

.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.value-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Stats Counter */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 8px;
}

.stat-item p {
    opacity: 0.85;
    font-size: 1rem;
}

/* ================================================
   CONTACT PAGE
   ================================================ */

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.contact-card p, .contact-card a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Contact Form */
.contact-form {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--heading-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--heading-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Working Hours */
.working-hours {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 30px;
}

.working-hours h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.working-hours ul {
    list-style: none;
    padding: 0;
}

.working-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.working-hours li:last-child {
    border-bottom: none;
}

.working-hours .day {
    font-weight: 500;
    color: var(--heading-color);
}

.working-hours .available-24-7 {
    color: var(--success);
    font-weight: 600;
}

/* Map */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ================================================
   APPOINTMENT PAGE
   ================================================ */

.appointment-section {
    padding: 80px 0;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.appointment-form {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.appointment-form h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.appointment-form .form-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.appointment-info {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.appointment-info h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.appointment-steps {
    list-style: none;
    padding: 0;
}

.appointment-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================================
   BLOG / POSTS
   ================================================ */

.blog-section {
    padding: 80px 0;
}

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

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.post-card-image {
    height: 200px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 24px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-meta i {
    margin-right: 4px;
    color: var(--primary);
}

.post-card-content h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card-content h2 a {
    color: var(--heading-color);
}

.post-card-content h2 a:hover {
    color: var(--primary);
}

.post-card-content .excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Single Post */
.single-post-content {
    padding: 60px 0;
}

.single-post-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.post-article {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.post-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.post-header .post-meta {
    font-size: 0.9rem;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.9;
}

.post-body h2 {
    font-size: 1.5rem;
    margin: 30px 0 16px;
}

.post-body h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
}

.post-body p {
    margin-bottom: 16px;
}

.post-body ul, .post-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 8px;
    list-style: disc;
}

.post-body ol li {
    list-style: decimal;
}

.post-body img {
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.post-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--primary-light);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-nav-item:last-child {
    text-align: right;
}

.post-nav-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav-item a {
    font-weight: 600;
    color: var(--heading-color);
}

.post-nav-item a:hover {
    color: var(--primary);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.widget h3, .widget-title {
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
    border-bottom: none;
}

.widget li a {
    color: var(--text-main);
    font-size: 0.9rem;
}

.widget li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    transition: var(--transition);
}

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

.pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ================================================
   SERVICE PAGE (Su Kaçağı Tespit)
   ================================================ */

.service-detail-section {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-main-content {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.service-main-content h2 {
    font-size: 1.75rem;
    margin: 30px 0 16px;
}

.service-main-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Districts Grid */
.ilceler-section {
    padding: 60px 0;
    background: var(--primary-light);
}

[data-theme="dark"] .ilceler-section {
    background: rgba(0,0,0,0.2);
}

.ilceler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.ilce-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--heading-color);
    transition: var(--transition);
}

.ilce-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ================================================
   SEARCH PAGE
   ================================================ */

.search-section {
    padding: 80px 0;
}

.search-form-large {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 12px;
}

.search-form-large input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    background: var(--surface-color);
    color: var(--heading-color);
}

.search-form-large input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-form-large button {
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.search-form-large button:hover {
    background: var(--primary-hover);
}

/* ================================================
   404 PAGE
   ================================================ */

.error-404-section {
    padding: 100px 0;
    text-align: center;
}

.error-404-section .error-code {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404-section h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.error-404-section p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: var(--surface-color);
    padding-top: 80px;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    margin-bottom: 24px;
    display: inline-flex;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 50%;
    color: var(--text-main);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

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

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary);
}

/* ================================================
   FLOATING WHATSAPP
   ================================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
    animation: none;
}

.tooltip {
    position: absolute;
    right: 75px;
    background: var(--surface-color);
    color: var(--heading-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.floating-whatsapp:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Floating Phone Button */
.floating-phone {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-phone:hover {
    transform: scale(1.1);
    background-color: var(--primary-hover);
    color: white;
}

/* ================================================
   HELPER CLASSES
   ================================================ */

.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }
.bg-light-alt { background-color: var(--primary-light); }
[data-theme="dark"] .bg-light-alt { background-color: rgba(0,0,0,0.2); }
.rounded-img { border-radius: 20px; width: 100%; height: auto; object-fit: cover; }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* WordPress Default Classes */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { max-width: 100%; text-align: center; }
.wp-caption img { border: 0 none; max-width: 100%; height: auto; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-muted); padding: 5px 0; }
.sticky { }
.gallery-caption { }
.bypostauthor { }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ================================================
   COMMENTS
   ================================================ */

.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-meta .avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.comment-author {
    font-weight: 600;
    color: var(--heading-color);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comment-body p {
    margin-bottom: 8px;
}

.comment-reply-link {
    font-size: 0.85rem;
    font-weight: 600;
}

.comment-respond {
    margin-top: 30px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--heading-color);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-form .submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.comment-form .submit:hover {
    background: var(--primary-hover);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-desc {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .top-left {
        left: 0;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid,
    .about-grid,
    .contact-grid,
    .appointment-grid {
        grid-template-columns: 1fr;
    }

    .single-post-grid,
    .blog-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar-right .contact-mini {
        display: none;
    }
    
    .status-text {
        font-size: 0.75rem;
    }
    
    .nav-menu, .btn-header {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .post-nav-item:last-child {
        text-align: left;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .error-404-section .error-code {
        font-size: 5rem;
    }
}
