/* ========================================
   PAGE LOADER
   ======================================== */
#page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.loader-inner {
    position: relative;
    width: clamp(120px, 40vw, 260px);
    max-height: 300px;
}

.loader-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.loader-bw {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: clip-path;
}

#page-loader.loader-out {
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* ========================================
   VARIABLES & RESET
   ======================================== */
/* #19 typography düzeltme: section-tag DRY — tek tanım, modifier ile */
/* #20 not: section-tag-center aşağıda birleştirildi */
:root {
    --red: #E30613;
    --red-dark: #B71C1C;
    --red-light: #FF1744;
    --black: #1A1A1A;
    --dark-gray: #333333;
    --gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --green-whatsapp: #25D366;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
    --shadow-xl: 0 16px 60px rgba(0,0,0,.18);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all .3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--black); }

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

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

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

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

.top-bar a, .top-bar span { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--white); }
.top-bar i { margin-right: 6px; color: var(--red); }

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

.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.15); }

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--black); line-height: 1.2; }
.logo-tagline { font-size: 11px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--dark-gray);
    border-radius: var(--radius-sm);
    position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); background: rgba(227,6,19,.06); }

.header-cta {
    background: var(--red);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.header-cta:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--white);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

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

.hero-slider-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
}

.hero-content { max-width: 680px; }

@keyframes animUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: animUp .7s ease both; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

/* #19 typography: duplicate h1 kuralı birleştirildi */
.hero h1,
.hero-slider-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero h1 span,
.hero-slider-content h1 span { color: var(--red); }

.hero-content p {
    font-size: 18px;
    opacity: .92;
    margin-bottom: 32px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0,0,0,.2);
}

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

/* Hero Stats Band */
.hero-stats {
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

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

.hero-stat {
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid #f0f0f0;
    position: relative;
}
.hero-stat:last-child { border-right: none; }

.hero-stat::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    transition: transform .3s ease;
}
.hero-stat:hover::before { transform: translateX(-50%) scaleX(1); }

.stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--red);
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: .3px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227,6,19,.4); }
    50% { box-shadow: 0 0 0 10px rgba(227,6,19,0); }
}

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 90px 0; }
.section-gray { background: var(--light-gray); }
.section-dark { background: var(--black); color: var(--white); }
.section-red { background: var(--red); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 38px; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--gray); max-width: 580px; margin: 0 auto; }
.section-dark .section-header p { color: rgba(255,255,255,.65); }
.section-dark .section-header h2 { color: var(--white); }

.section-header .section-line {
    display: block;
    width: 36px;
    height: 3px;
    background: var(--red);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Section Tags */
.section-tag,
.section-tag-center {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--red);
    padding: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    position: relative;
    padding-left: 20px;
}
.section-tag::before,
.section-tag-center::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

/* center versiyonu: blok yapıp ortalar */
.section-tag-center {
    display: flex;
    justify-content: center;
    padding-left: 0;
    padding-top: 0;
    margin-bottom: 12px;
    gap: 8px;
}
.section-tag-center::before { display: none; }
.section-tag-center i { color: var(--red); }

.section-tag-center.light,
.section-tag.light {
    color: rgba(255,255,255,.9);
}
.section-tag-center.light i,
.section-tag.light i { color: rgba(255,255,255,.9); }

.section-cta-center {
    text-align: center;
    margin-top: 44px;
}

/* ========================================
   SERVICES CARDS — 3 sütun
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    transform: scaleX(0);
    transition: transform .35s ease;
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
    width: 76px;
    height: 76px;
    background: rgba(227,6,19,.08);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 22px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon { background: var(--red); color: var(--white); transform: rotate(10deg) scale(1.1); }

.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray); margin-bottom: 18px; flex: 1; }

.service-card .card-link {
    color: var(--red);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.service-card .card-link i { transition: transform .25s ease; }
.service-card:hover .card-link i { transform: translateX(4px); }

/* ========================================
   ABOUT SECTION (HOME)
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius-lg); display: block; }

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--red);
    color: var(--white);
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.about-content h2 { font-size: 38px; margin-bottom: 16px; }
.about-content h2 span { color: var(--red); }
.about-content p { margin-bottom: 16px; color: var(--gray); line-height: 1.8; }

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-gray);
}
.about-feature i { color: var(--red); font-size: 18px; flex-shrink: 0; }

/* ========================================
   ROT BALANS SECTION
   ======================================== */
.rot-balans-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 60%, #fff5f5 100%);
    overflow: hidden;
    position: relative;
}

.rot-balans-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227,6,19,.06) 0%, transparent 70%);
    pointer-events: none;
}

.rot-balans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.rot-balans-content h2 { font-size: 38px; margin-bottom: 14px; }
.rot-balans-content h2 span { color: var(--red); }

.rot-lead {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 36px;
    line-height: 1.8;
}

.rot-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }

.rot-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.rot-feature-item:hover { border-left-color: var(--red); transform: translateX(4px); box-shadow: var(--shadow-lg); }

.rot-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(227,6,19,.1);
    color: var(--red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}
.rot-feature-item:hover .rot-feature-icon { background: var(--red); color: var(--white); }

.rot-feature-text h4 { font-size: 16px; margin-bottom: 4px; color: var(--black); }
.rot-feature-text p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.5; }

/* Rot Visual */
.rot-balans-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

.rot-img-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

.rot-img-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.rot-img-placeholder {
    width: 100%;
    height: 320px;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    gap: 12px;
    font-size: 14px;
    border-radius: 16px;
}
.rot-img-placeholder i { font-size: 44px; opacity: .35; }

/* 4 stat card */
.rot-stat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
}

.rot-stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.rot-stat-card:hover {
    border-bottom-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.rot-stat-card i {
    font-size: 24px;
    color: var(--red);
}

.rot-stat-card strong {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.rot-stat-card span {
    font-size: 12px;
    color: var(--gray);
}

/* ========================================
   WHY US / FEATURES
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.04);
    transition: var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }

.feature-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(227,6,19,.15);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.section-dark .feature-card-icon { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }
.feature-card:hover .feature-card-icon { transform: scale(1.1); }

.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.section-dark .feature-card h3 { color: var(--white); }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.section-dark .feature-card p { color: rgba(255,255,255,.55); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,6,19,.35); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }

.btn-secondary { background: var(--black); color: var(--white); }
.btn-secondary:hover { background: var(--dark-gray); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

.btn-whatsapp { background: var(--green-whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1da851; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }

.btn-cta-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-cta-outline:hover { background: var(--white); color: var(--red); transform: translateY(-2px); }

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner { padding: 70px 0; }

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

.cta-text { flex: 1; min-width: 200px; }
.cta-banner h2 { font-size: 34px; color: var(--white); margin-bottom: 10px; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,.85); }

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

/* ========================================
   MAP SECTION
   ======================================== */
.map-section iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* ========================================
   PAGE HEADER (Inner Pages)
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--black), var(--dark-gray));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--red);
    border-radius: 50%;
    opacity: .08;
    pointer-events: none;
}

.page-header h1 { font-size: 40px; color: var(--white); margin-bottom: 12px; }

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--white); }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-page-text h2 { font-size: 30px; margin-bottom: 20px; }
.about-page-text p { margin-bottom: 16px; color: var(--gray); }
.about-page-image img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; min-height: 400px; }

/* ========================================
   SERVICES LIST PAGE
   ======================================== */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-list-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.service-list-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-list-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    position: relative;
    overflow: hidden;
}
.service-list-card-img img { width: 100%; height: 100%; object-fit: cover; }

.service-list-card-body { padding: 24px; }
.service-list-card-body h3 { font-size: 20px; margin-bottom: 10px; }
.service-list-card-body p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */
.service-detail { max-width: 800px; margin: 0 auto; }
.service-detail-image { margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; }
.service-detail-image img { width: 100%; height: 400px; object-fit: cover; }
.service-detail h2 { font-size: 30px; margin-bottom: 20px; }
.service-detail-content p { margin-bottom: 16px; color: var(--gray); line-height: 1.8; }
.service-detail-content strong { color: var(--black); }

.service-detail-cta {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-top: 40px;
}
.service-detail-cta h3 { margin-bottom: 12px; }
.service-detail-cta p { color: var(--gray); margin-bottom: 20px; }
.service-detail-cta .cta-buttons { justify-content: center; }

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

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

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow); }

.contact-info-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info-card h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--gray); }
.contact-info-card a { color: var(--red); font-weight: 500; }

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-form-wrapper h3 { font-size: 22px; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--dark-gray); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    background: #fafafa;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(227,6,19,.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.form-message { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.form-message.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-message.error   { background: #fde8e8; color: #c62828; border: 1px solid #ef9a9a; }

/* ========================================
   FLOAT BUTTONS
   ======================================== */
.float-buttons {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.float-btn {
    position: fixed;
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    pointer-events: all;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    z-index: 9999;
}

.float-btn-phone   { left: 20px; bottom: 24px; background: var(--red); color: var(--white); }
.float-btn-whatsapp{ right: 20px; bottom: 24px; background: var(--green-whatsapp); color: var(--white); }

.float-btn-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.float-btn-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    padding-right: 0;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
}

.float-btn.expanded .float-btn-text { max-width: 140px; opacity: 1; padding-right: 20px; }

.float-btn:hover { transform: scale(1.06); box-shadow: 0 6px 28px rgba(0,0,0,.3); }
.float-btn-phone:hover { background: var(--red-dark); color: var(--white); }
.float-btn-whatsapp:hover { background: #1da851; color: var(--white); }

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

.footer-top { padding: 70px 0 50px; }

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

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-icon { background: var(--red); }
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-tagline { color: var(--red); }

.footer-about { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 24px; line-height: 1.7; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }

.footer-col h3 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 14px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.footer-contact li i { color: var(--red); margin-top: 4px; min-width: 16px; }
.footer-contact li a { color: rgba(255,255,255,.55); }
.footer-contact li a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.35);
}

/* ========================================
   MOBILE NAV CLOSE BUTTON
   ======================================== */
.nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1.5px solid rgba(0,0,0,.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark-gray);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1000;
}
.nav-close:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-stats-grid { grid-template-columns: repeat(4, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
    .rot-balans-grid { gap: 50px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .cta-content { flex-direction: column; text-align: center; }
}

@media (max-width: 900px) {
    .rot-balans-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-content { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
    .top-bar-left, .top-bar-right { gap: 12px; font-size: 12px; }
    .top-bar-email { display: none; }

    /* Mobile Nav */
    .mobile-toggle { display: flex; }
    .nav-close { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 999;
    }
    .main-nav.active { transform: translateX(0); }
    .main-nav a { font-size: 18px; padding: 10px 24px; }
    .header-cta { display: none; }

    /* Hero */
    .hero-slider { min-height: 650px; }
    .hero-slider-content { padding: 44px 0 44px; }
    .hero-slider-content h1, .hero h1 { font-size: 28px; }
    .hero-badge { font-size: 12px; padding: 5px 14px; margin-bottom: 14px; }
    .hero-content p { font-size: 15px; margin-bottom: 18px; line-height: 1.6; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { justify-content: center; }
    .btn { padding: 12px 22px; font-size: 14px; }

    /* Hero h1 span - mobilde alt satır */
    .hero-slider-content h1 span { display: block; }

    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stat { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 20px 10px; }
    .hero-stat:nth-child(odd) { border-right: 1px solid #f0f0f0; }
    .hero-stat:nth-last-child(-n+2) { border-bottom: none; }
    .stat-num { font-size: 26px; }
    .stat-label { font-size: 12px; }

    /* Sections */
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 28px; }
    .section-header { margin-bottom: 30px; }

    .about-grid, .about-page-content, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-image img { height: 280px; }
    .about-content h2 { font-size: 26px; }

    /* Services - 2 sütuna düş */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-card { padding: 24px 16px; }
    .service-card-icon { width: 60px; height: 60px; font-size: 24px; margin-bottom: 14px; }
    .service-card h3 { font-size: 16px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .feature-card { padding: 24px 14px; }
    .feature-card-icon { width: 64px; height: 64px; font-size: 26px; margin-bottom: 14px; }
    .feature-card h3 { font-size: 16px; }

    .services-list-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { padding: 50px 0 36px; }

    .cta-banner { padding: 44px 0; }
    .cta-banner h2 { font-size: 24px; }
    .cta-banner p { font-size: 15px; }

    .page-header h1 { font-size: 28px; }
    .page-header { padding: 36px 0; }

    .float-btn-phone   { left: 12px; bottom: 16px; }
    .float-btn-whatsapp{ right: 12px; bottom: 16px; }

    .rot-balans-content h2 { font-size: 26px; }
    .rot-feature-item { padding: 12px 14px; gap: 14px; }
    .rot-feature-icon { width: 42px; height: 42px; min-width: 42px; font-size: 18px; }
}

@media (max-width: 480px) {
    .hero-slider { min-height: 620px; }
    .hero-slider-content h1, .hero h1 { font-size: 23px; }
    .hero-content p { font-size: 14px; }
    .hero-badge { font-size: 11px; }
    .btn { padding: 11px 20px; font-size: 13px; }

    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 24px; }

    /* Services - 1 sütuna düş */
    .services-grid { grid-template-columns: 1fr; }

    .features-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 24px; }
    .about-content h2 { font-size: 24px; }

    .rot-img-wrap img { height: 240px; }
    .rot-stat-cards { gap: 10px; }

    .cta-content { align-items: stretch; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px 16px; }
}

/* ========================================
   #3 FOCUS-VISIBLE — Klavye navigasyon halkası
   ======================================== */
:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Fare kullanıcısında outline gizle, klavyede göster */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

.main-nav a:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.btn:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(227,6,19,.2);
}

.float-btn:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

.header-cta:focus-visible {
    outline: 3px solid var(--red-dark);
    outline-offset: 3px;
}

.footer-col ul li a:focus-visible,
.footer-social a:focus-visible {
    outline: 3px solid rgba(255,255,255,.7);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ========================================
   #5 MOBİL MENÜ OVERLAY
   ======================================== */
#navOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
    backdrop-filter: blur(2px);
    animation: overlayIn .25s ease;
}

@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 768px) {
    .main-nav { z-index: 999; } /* overlay'in üstünde */
}

/* ========================================
   #10 FLOAT BUTONLAR — safe-area + her zaman görünür
   ======================================== */
.float-btn-phone {
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
}
.float-btn-whatsapp {
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
}

@media (max-width: 768px) {
    .float-btn-phone   { bottom: max(16px, env(safe-area-inset-bottom, 16px)); }
    .float-btn-whatsapp{ bottom: max(16px, env(safe-area-inset-bottom, 16px)); }
}

/* #11 Slider dot indikatörleri kaldırıldı */

/* ========================================
   #7 FORM — inline validasyon stilleri
   ======================================== */
.form-group input.field-error,
.form-group textarea.field-error {
    border-color: #c62828;
    background: #fff8f8;
}

.form-group input.field-ok,
.form-group textarea.field-ok {
    border-color: #2e7d32;
    background: #f8fff8;
}

.field-error-msg {
    display: block;
    font-size: 12px;
    color: #c62828;
    margin-top: 5px;
}

.form-char-hint {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}

/* ========================================
   #8 INLINE STİL SINIFLARI (iletisim.php, header.php)
   ======================================== */
.contact-section-title {
    font-size: 28px;
    margin-bottom: 24px;
}

.contact-section-desc {
    color: var(--gray);
    margin-bottom: 30px;
}

.btn-full { width: 100%; justify-content: center; }

.logo-img-header {
    max-height: 52px;
    width: auto;
    display: block;
}

/* ========================================
   #13 TESTİMONİALS — Müşteri yorumları
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    display: block;
    color: inherit;
    text-decoration: none;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Google badge */
.testimonial-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    background: #fafafa;
}
.testimonial-card-link:hover .testimonial-google-badge {
    border-color: #4285F4;
    color: #4285F4;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: Georgia, serif;
    font-size: 64px;
    color: rgba(227,6,19,.1);
    line-height: 1;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-author-info strong {
    display: block;
    font-size: 14px;
    color: var(--black);
}
.testimonial-author-info span {
    font-size: 12px;
    color: var(--gray);
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ========================================
   #15 AKTİF DURUM BADGE'İ
   ======================================== */
.hero-badge.available::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 2px rgba(76,175,80,.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 2px rgba(76,175,80,.4); }
    50%       { box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}

/* ========================================
   #16 SSS — FAQ Accordion
   ======================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.faq-question:hover { color: var(--red); }
.faq-question[aria-expanded="true"] { color: var(--red); }

.faq-question i {
    color: var(--red);
    font-size: 14px;
    transition: transform .3s ease;
    flex-shrink: 0;
}
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }

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

.faq-answer.open { max-height: 400px; }

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.75;
}

/* ========================================
   #17 HİZMET ALANI — Servis kapsam bölümü
   ======================================== */
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
}

.area-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--dark-gray);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.area-tag:hover,
.area-tag.main { background: var(--red); color: var(--white); }
.area-tag i { color: var(--red); font-size: 12px; }
.area-tag.main i { color: var(--white); }

.area-note {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray);
}

/* ========================================
   #18 HİZMET DETAY — yapılandırılmış bölümler
   ======================================== */
.service-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.service-process-step {
    text-align: center;
    padding: 24px 16px;
    background: var(--light-gray);
    border-radius: var(--radius);
    position: relative;
}

.service-process-num {
    width: 44px;
    height: 44px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 14px;
}

.service-process-step h4 { font-size: 15px; margin-bottom: 8px; }
.service-process-step p  { font-size: 13px; color: var(--gray); }

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-gray);
}
.service-benefits li i { color: var(--red); font-size: 14px; flex-shrink: 0; }

@media (max-width: 768px) {
    .service-process { grid-template-columns: 1fr; gap: 12px; }
    .service-benefits { grid-template-columns: 1fr; }
}

/* ========================================
   #6 REDUCED-MOTION — Animasyonları kapat
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .hero-slide { transition: none !important; }
    .loader-inner { display: none; }
    #page-loader { display: none; }

    /* Scroll animasyonları — JS tarafında da kontrol var */
    .service-card,
    .feature-card,
    .contact-info-card,
    .service-list-card,
    .rot-feature-item,
    .hero-stat,
    .testimonial-card,
    .faq-item,
    .area-tag {
        opacity: 1 !important;
        transform: none !important;
    }
}
