/*
Theme Name: Mamak Servis
Theme URI: https://mamakservis.com
Author: Mamak Servis
Author URI: https://mamakservis.com
Description: Ankara Mamak bölgesi için kombi, klima ve beyaz eşya servis sitesi. SEO odaklı, yüksek dönüşüm oranlı WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mamak-servis
Tags: service, repair, seo-optimized, responsive, conversion
*/

/* =========================================
   CSS RESET & BASE
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --primary-light: #1976D2;
    --secondary: #FF6F00;
    --secondary-dark: #E65100;
    --accent: #29B6F6;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-500: #64748B;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --success: #16A34A;
    --whatsapp: #25D366;
    --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.08);
    --transition: all .25s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

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

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

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

ul, ol { list-style: none; }

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

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

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-title {
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
    background: #1fa855;
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    padding: 8px 0;
    position: relative;
    z-index: 100;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

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

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.9);
}

.top-bar-item .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

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

.top-bar .btn {
    padding: 6px 16px;
    font-size: 0.8125rem;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: var(--shadow);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.logo-text .brand-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.logo-text .brand-tagline {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--primary);
    background: rgba(21, 101, 192, 0.07);
}

.main-nav .menu-item-has-children {
    position: relative;
}

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px 0;
    z-index: 200;
}

.main-nav .menu-item-has-children:hover .sub-menu { display: block; }

.main-nav .sub-menu li a {
    padding: 10px 16px;
    border-radius: 0;
    font-size: 0.875rem;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
    border-radius: 2px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
}

.hero h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero h1 span { color: #FFD54F; }

.hero-desc {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: 4px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-image-placeholder {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}

.hero-image-placeholder .ph-icon {
    width: 80px;
    height: 80px;
    opacity: .5;
}

/* =========================================
   SECTIONS
   ========================================= */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.75); }

/* =========================================
   SERVICE CARDS
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.service-card-icon svg { width: 32px; height: 32px; }

.service-card h3 {
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.service-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--success);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    flex-shrink: 0;
}

/* =========================================
   BRANDS SLIDER
   ========================================= */
.brands-section { overflow: hidden; max-width: 100vw; }

.brands-track-wrap {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.brands-track-wrap::before,
.brands-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.brands-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.brands-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

.brands-track {
    display: flex;
    gap: 20px;
    animation: scroll-brands 25s linear infinite;
    width: max-content;
}

.brands-track:hover { animation-play-state: paused; }

@keyframes scroll-brands {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.brand-item {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.brand-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.brand-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(80%);
    transition: var(--transition);
}

.brand-item:hover img { filter: grayscale(0%); }

.brand-name-text {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* =========================================
   WHY US
   ========================================= */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.why-us-item {
    text-align: center;
    padding: 28px 20px;
}

.why-us-icon {
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

.why-us-icon svg { width: 36px; height: 36px; color: var(--primary); }

.why-us-item h4 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 1rem;
}

.why-us-item p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

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

.testimonial-meta .name {
    font-weight: 700;
    color: var(--gray-900);
    display: block;
}

.testimonial-meta .date {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.stars { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; }

.testimonial-text {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
    font-style: italic;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* =========================================
   REGIONS
   ========================================= */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.region-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
}

.region-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(21, 101, 192, 0.04);
    transform: translateY(-2px);
}

.region-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

/* =========================================
   BLOG CARDS
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-thumbnail {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.blog-thumbnail-placeholder {
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 20px;
}

.blog-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.blog-category {
    background: rgba(21, 101, 192, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--gray-900);
}

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

.blog-excerpt {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.read-more:hover { gap: 10px; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.cta-phone-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD54F;
    letter-spacing: 1px;
}

.cta-phone-label {
    font-size: 0.875rem;
    opacity: 0.75;
}

/* =========================================
   SERVICE REQUEST FORM
   ========================================= */
.form-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--gray-900);
    background: var(--white);
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

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

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.75);
}

.footer-top {
    padding: 64px 0 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .site-logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text .brand-name { color: var(--white); }
.footer-brand .logo-text .brand-tagline { color: rgba(255,255,255,0.5); }

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.75);
}

.footer-contact-list a:hover { color: var(--white); }

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

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

.footer-links a::before {
    content: '›';
    color: var(--primary-light);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.floating-cta {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    transition: var(--transition);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

.float-btn svg { width: 26px; height: 26px; }

.float-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.float-phone {
    background: var(--secondary);
    color: var(--white);
}

.float-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    background: var(--gray-900);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.float-btn:hover .float-tooltip { opacity: 1; }

/* =========================================
   MOBILE STICKY BAR
   ========================================= */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
    padding: 10px 0;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.mobile-sticky-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 0 8px;
}

.mobile-sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.mobile-sticky-btn.phone-btn {
    background: var(--primary);
    color: var(--white);
    margin: 0 4px;
}

.mobile-sticky-btn.whatsapp-btn {
    background: var(--whatsapp);
    color: var(--white);
    margin: 0 4px;
}

.mobile-sticky-btn.form-btn {
    background: var(--secondary);
    color: var(--white);
    margin: 0 4px;
    border-radius: var(--radius);
}

.mobile-sticky-btn svg { width: 22px; height: 22px; }

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb-wrap {
    background: var(--gray-100);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .separator { color: var(--gray-300); }

/* =========================================
   PAGE CONTENT
   ========================================= */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 60px 0;
}

.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0; }

.content-area {
    padding: 60px 0;
}

.content-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.main-content h2 { margin: 32px 0 16px; }
.main-content h3 { margin: 24px 0 12px; }
.main-content p { color: var(--gray-700); line-height: 1.8; }
.main-content ul, .main-content ol {
    padding-left: 20px;
    margin-bottom: 1rem;
}
.main-content li { margin-bottom: 8px; line-height: 1.6; }

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.sidebar-widget h4 {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
}

.sidebar-cta h4 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.25);
}

.sidebar-phone {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFD54F;
    display: block;
    margin-bottom: 12px;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-900);
    transition: var(--transition);
}

.faq-question:hover { background: var(--gray-50); }
.faq-question.active { color: var(--primary); }

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

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

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-answer.open { display: block; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-item .icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(21, 101, 192, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-info-item .icon-wrap svg { width: 22px; height: 22px; }

.contact-info-item .info-body .label {
    font-weight: 700;
    color: var(--gray-900);
    display: block;
    margin-bottom: 2px;
}

.contact-info-item .info-body .value {
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--gray-200);
}

.map-wrap iframe { width: 100%; height: 100%; }

/* =========================================
   NOTIFICATION BADGE
   ========================================= */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 24px;
}

.avail-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* =========================================
   UTILITY
   ========================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 16px auto 32px;
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-load 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton-load {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .content-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .top-bar { display: none; }

    .menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
        padding: 20px;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav .sub-menu { position: static; box-shadow: none; border: none; }

    .header-cta .btn { display: none; }
    .header-cta .header-phone { font-size: 0.9375rem; }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero { padding: 60px 0; }
    .hero-stats { gap: 20px; }

    .contact-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .floating-cta { display: none !important; }
    .mobile-sticky-bar { display: block; }

    .form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .regions-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   SIDEBAR NAV LİNKLERİ
   (sidebar-nav: açık arka plana uygun, footer-links'ten bağımsız)
   ========================================= */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    color: var(--gray-700);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    transition: var(--transition);
    text-decoration: none;
}

.sidebar-nav a::before {
    content: '›';
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1;
}

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

/* =========================================
   SIDEBAR BAĞLANTI RENKLERİ DÜZELTMESİ
   (footer-links sınıfı sidebar'da beyaz metin sorunu — yedek kural)
   ========================================= */
.sidebar-widget .footer-links a {
    color: var(--gray-700) !important;
    font-size: 0.9rem;
}

.sidebar-widget .footer-links a:hover {
    color: var(--primary) !important;
}

.sidebar-widget .footer-links a::before {
    color: var(--primary) !important;
}

/* Dark sidebar (sidebar-cta) içindeki linkler beyaz kalmalı */
.sidebar-widget.sidebar-cta .footer-links a {
    color: rgba(255,255,255,0.8) !important;
}

.sidebar-widget.sidebar-cta .footer-links a:hover {
    color: var(--white) !important;
}

/* =========================================
   MAKALE İÇİ CTA KUTUSU METİN RENKLERİ
   ========================================= */
.article-cta-box p {
    color: rgba(255,255,255,0.9) !important;
}

/* =========================================
   GENEL MOBİL OVERFLOW DÜZELTMELERİ
   ========================================= */
.section,
.hero,
.cta-section,
.form-section,
.brands-section {
    max-width: 100%;
    overflow-x: clip;
}

/* Menü butonları mobilde daraltılsın */
@media (max-width: 480px) {
    .top-bar-right .btn { display: none; }
    .btn-lg { padding: 14px 20px; font-size: 1rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .form-grid { grid-template-columns: 1fr !important; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .cta-phone-number { font-size: 1.8rem; }
    .post-navigation { grid-template-columns: 1fr !important; }
}

/* =========================================
   MAKALE İÇERİĞİ MOBİL TAŞMA DÜZELTMELERİ
   ========================================= */
.entry-content {
    overflow-wrap: break-word;
    word-break: break-word;
    overflow-x: hidden;
    max-width: 100%;
}

/* Makale içi görseller */
.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Makale içi tablolar */
.entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    border-collapse: collapse;
}

/* Makale içi kod blokları */
.entry-content pre,
.entry-content code {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 100%;
}

/* Makale içi iframe / video embed */
.entry-content iframe,
.entry-content embed,
.entry-content object {
    max-width: 100%;
}

/* WordPress figure/figcaption blokları */
.entry-content .wp-block-image,
.entry-content figure {
    max-width: 100%;
}

/* Geniş blokların taşmasını engelle */
.entry-content .wp-block-table,
.entry-content .wp-block-preformatted {
    overflow-x: auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .entry-content {
        font-size: 0.9375rem;
    }

    /* Mobilde içerik alanı tam genişlik */
    .content-area .container {
        padding: 0 16px;
    }

    .content-wrap {
        gap: 32px;
    }

    /* Yazı navigasyonu mobilde tek kolon */
    .post-navigation {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 32px 0;
    }

    .entry-content {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    /* Uzun URL ve sözcükler */
    .entry-content a {
        word-break: break-all;
    }
}

/* Print */
@media print {
    .top-bar, .site-header, .floating-cta, .mobile-sticky-bar { display: none; }
}
