/* ============================================
   Cagdas Alci Dekorasyon — Ana Stil Dosyasi
   Son guncelleme: Mayis 2026
   ============================================ */

/* Google Fonts header.php icerisinde yukleniyor — burada tekrar import etmeye gerek yok */

:root {
    --renk-zemin: #f8fafc; /* Platin beyaz/gri (Kalite/Temizlik) */
    --renk-kart: #ffffff;
    --renk-koyu-zemin: #e2e8f0; /* Açık slate (Modern derinlik) */
    --renk-ana: #1e3a8a; /* Derin Lacivert / Royal Navy (Güven/Sağlamlık) */
    --renk-ana-acik: rgba(30, 58, 138, 0.08);
    --renk-ana-hover: #172554;
    --renk-yazi: #0f172a; /* Çok Koyu Antrasit (Saygı/Otorite) */
    --renk-yazi-ikincil: #334155;
    --renk-yazi-soluk: #64748b;
    --renk-cizgi: rgba(15, 23, 42, 0.08);
    --renk-cizgi-acik: rgba(15, 23, 42, 0.04);
    --font-baslik: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-govde: 'DM Sans', system-ui, -apple-system, sans-serif;
    --gecis: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --golge: 0 8px 32px -8px rgba(0, 0, 0, 0.06);
    --golge-buyuk: 0 20px 60px -15px rgba(0, 0, 0, 0.1);
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 6px;
}

/* Sifirlama ve temel */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--renk-zemin);
    color: var(--renk-yazi);
    font-family: var(--font-govde);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-baslik);
    font-weight: 600;
    line-height: 1.2;
    color: var(--renk-yazi);
}

/* ==========================================
   Ust Navigasyon
   ========================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(245, 243, 239, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--renk-cizgi-acik);
    transition: var(--gecis);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--gecis);
}

header.scrolled .nav-container {
    padding: 12px 24px;
}

.logo a {
    font-family: var(--font-baslik);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--renk-ana);
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-family: var(--font-govde);
    font-weight: 500;
    font-size: 14px;
    color: var(--renk-yazi-ikincil);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--renk-ana);
    border-radius: 2px;
    transition: var(--gecis);
}

.nav-link:hover,
.nav-link.active {
    color: var(--renk-yazi);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-contact-header {
    background: var(--renk-ana);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-govde);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2px;
    transition: var(--gecis);
}

.btn-contact-header:hover {
    background: var(--renk-yazi);
    color: #fff;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--renk-yazi);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}


/* ==========================================
   Hero Alani
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 243, 239, 0.96) 30%, rgba(245, 243, 239, 0.6) 65%, rgba(245, 243, 239, 0.2) 100%);
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    z-index: 1;
    transform: scale(1.03);
    animation: heroSoluk 25s ease-in-out infinite alternate;
}

@keyframes heroSoluk {
    0% { transform: scale(1.03); }
    100% { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    padding: 140px 24px 80px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    background: var(--renk-ana-acik);
    color: var(--renk-ana);
    padding: 7px 16px;
    border-radius: 20px;
    font-family: var(--font-govde);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(30, 58, 138, 0.12);
}

.hero-title {
    font-family: var(--font-baslik);
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: -1px;
    line-height: 1.08;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--renk-yazi-ikincil);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* ==========================================
   Butonlar
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-family: var(--font-govde);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--gecis);
    letter-spacing: 0.1px;
}

.btn-primary {
    background: var(--renk-ana);
    color: #fff;
}

.btn-primary:hover {
    background: var(--renk-ana-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -6px rgba(30, 58, 138, 0.35);
}

.btn-outline {
    border: 1.5px solid var(--renk-cizgi);
    color: var(--renk-yazi);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--renk-ana);
    color: var(--renk-ana);
    transform: translateY(-2px);
}


/* ==========================================
   Genel Bolum Yapisi
   ========================================== */

section {
    padding: 90px 0;
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    color: var(--renk-ana);
    font-family: var(--font-govde);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--renk-yazi-ikincil);
    font-size: 15px;
    line-height: 1.7;
}

/* Scroll ile gorunur olma animasyonu */
.gorunur-alan {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.gorunur-alan.gorundu {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   Hizmetler Bolumu
   ========================================== */

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

.service-card {
    background: var(--renk-kart);
    border: 1px solid var(--renk-cizgi);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    transition: var(--gecis);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--renk-ana), var(--renk-ana-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: var(--renk-ana-acik);
    color: var(--renk-ana);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 26px;
    transition: var(--gecis);
}

.service-card:hover .service-icon {
    background: var(--renk-ana);
    color: #fff;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--renk-yazi-ikincil);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--renk-ana);
    font-weight: 600;
    font-size: 13px;
}

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

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


/* ==========================================
   Istatistikler Bolumu
   ========================================== */

.stats-section {
    background: var(--renk-yazi);
    padding: 60px 0;
}

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

.stat-item h3 {
    font-family: var(--font-baslik);
    font-size: 42px;
    font-weight: 800;
    color: var(--renk-ana);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==========================================
   Portfolyo / Galeri
   ========================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--renk-kart);
    border: 1px solid var(--renk-cizgi);
    color: var(--renk-yazi-ikincil);
    padding: 9px 22px;
    border-radius: 24px;
    font-family: var(--font-govde);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: var(--gecis);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--renk-ana);
    color: #fff;
    border-color: var(--renk-ana);
}

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

@media (min-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 300px;
        gap: 20px;
    }
    .portfolio-item:nth-child(1) {
        grid-column: span 4;
        grid-row: span 2;
    }
    .portfolio-item:nth-child(2) {
        grid-column: span 2;
    }
    .portfolio-item:nth-child(3) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .portfolio-item:nth-child(4) {
        grid-column: span 4;
    }
    .portfolio-item:nth-child(5) {
        grid-column: span 3;
    }
    .portfolio-item:nth-child(6) {
        grid-column: span 3;
    }
}

.portfolio-item {
    background: var(--renk-kart);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--renk-cizgi);
    transition: var(--gecis);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    box-shadow: var(--golge);
    border-color: transparent;
}

.portfolio-img-container {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    min-height: 200px;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}

.portfolio-item:hover .portfolio-img-container img {
    transform: scale(1.06);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--renk-ana);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transform: scale(0.8);
    transition: var(--gecis);
}

.portfolio-item:hover .portfolio-icon {
    transform: scale(1);
}

.portfolio-icon:hover {
    background: var(--renk-ana);
    color: #fff;
}

.portfolio-info {
    padding: 20px 22px;
}

.portfolio-cat {
    color: var(--renk-ana);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.portfolio-info h3 {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--renk-yazi-ikincil);
    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================
   Lightbox (Resim Buyutme)
   ========================================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 850px;
    max-height: 80vh;
    position: relative;
}

.lightbox-content img {
    border-radius: var(--radius-md);
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}


/* ==========================================
   Hakkimizda Bolumu
   ========================================== */

.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-img-box {
    position: relative;
}

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

.about-experience {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--renk-ana);
    color: #fff;
    padding: 26px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--golge-buyuk);
    border: 3px solid var(--renk-zemin);
}

.about-experience h3 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
    color: #fff;
}

.about-experience p {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.about-text p {
    color: var(--renk-yazi-ikincil);
    margin-bottom: 24px;
    line-height: 1.75;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.about-feature i {
    color: var(--renk-ana);
    font-size: 16px;
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 600;
    font-size: 14px;
}


/* ==========================================
   Referans / Yorum Kartlari
   ========================================== */

.testimonials {
    background: var(--renk-kart);
}

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

.testimonial-card {
    background: var(--renk-zemin);
    border: 1px solid var(--renk-cizgi);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--gecis);
}

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

.stars {
    color: var(--renk-ana);
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--renk-yazi-ikincil);
    font-style: italic;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--renk-ana);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-baslik);
    font-weight: 700;
    font-size: 17px;
}

.client-details h4 {
    font-size: 15px;
    font-weight: 600;
}

.client-details span {
    font-size: 12px;
    color: var(--renk-yazi-soluk);
}


/* ==========================================
   Iletisim Formu
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact-icon {
    width: 46px;
    height: 46px;
    background: var(--renk-ana-acik);
    color: var(--renk-ana);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-details p {
    color: var(--renk-yazi-ikincil);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--renk-kart);
    border: 1px solid var(--renk-cizgi);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--gecis);
}

.social-link:hover {
    background: var(--renk-ana);
    color: #fff;
    border-color: var(--renk-ana);
    transform: translateY(-2px);
}


/* ==========================================
   Formlar
   ========================================== */

.contact-form {
    background: var(--renk-kart);
    border: 1px solid var(--renk-cizgi);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--golge);
}

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

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--renk-yazi-ikincil);
}

.form-control {
    background: var(--renk-zemin);
    border: 1px solid var(--renk-cizgi);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--renk-yazi);
    font-family: var(--font-govde);
    font-size: 14px;
    transition: var(--gecis);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--renk-ana);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* Honeypot alani — gorunmez olmali */
.form-alan-ekstra {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}


/* ==========================================
   Harita Alani
   ========================================== */

.map-section {
    padding: 0;
    line-height: 0;
}

.map-container {
    width: 100%;
    height: 420px;
}

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


/* ==========================================
   Alt Sayfa Banner (Hakkimizda, Hizmetler vs.)
   ========================================== */

.sub-hero {
    position: relative;
    padding: 140px 0 70px;
    background: linear-gradient(rgba(245, 243, 239, 0.88), rgba(245, 243, 239, 0.97)), url('../uploads/hero_bg.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--renk-cizgi);
}

.sub-hero-content {
    text-align: center;
}

.sub-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: var(--renk-yazi-ikincil);
    font-size: 13px;
    align-items: center;
}

.breadcrumbs i {
    font-size: 10px;
    color: var(--renk-yazi-soluk);
}

.breadcrumbs span {
    color: var(--renk-ana);
}


/* ==========================================
   Detay Sayfalari (Hizmet Detay)
   ========================================== */

.detail-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 44px;
}

.detail-img {
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--golge);
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.detail-content h2 {
    font-size: 26px;
    margin-bottom: 16px;
}

.detail-content p {
    color: var(--renk-yazi-ikincil);
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.sidebar-box {
    background: var(--renk-kart);
    border: 1px solid var(--renk-cizgi);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-box h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--renk-ana);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--renk-zemin);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    transition: var(--gecis);
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: var(--renk-ana);
    color: #fff;
}


/* ==========================================
   Alt Bilgi (Footer)
   ========================================== */

footer {
    background: #f8f6f2;
    border-top: 1px solid var(--renk-cizgi);
    padding: 72px 0 24px;
}

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

.footer-logo {
    font-family: var(--font-baslik);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.footer-logo span {
    color: var(--renk-ana);
}

.footer-desc {
    color: var(--renk-yazi-ikincil);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--renk-ana);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--renk-yazi-ikincil);
    font-size: 13px;
    transition: var(--gecis);
}

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

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

.footer-contact-item {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--renk-yazi-ikincil);
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--renk-ana);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--renk-cizgi);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--renk-yazi-soluk);
    font-size: 12px;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    color: var(--renk-yazi-soluk);
    transition: var(--gecis);
    font-weight: 500;
}
.footer-bottom-links a:hover {
    color: var(--renk-ana);
}

/* Formal Legal Pages styling (No split screen, no images) */
.legal-page-container {
    max-width: 800px;
    margin: 140px auto 80px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid var(--renk-cizgi);
}
.legal-page-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--renk-yazi);
    border-bottom: 2px solid var(--renk-ana);
    padding-bottom: 12px;
}
.legal-page-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--renk-yazi-ikincil);
}
.legal-page-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 10px 0;
    color: var(--renk-yazi);
}
.legal-page-text p {
    margin-bottom: 15px;
}
.legal-page-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.legal-page-text li {
    margin-bottom: 8px;
}

/* Modal Content overrides for Legal Pages */
.spa-modal-content .legal-page-container {
    max-width: 100%;
    margin: 0;
    padding: 35px 40px;
    background: transparent;
    border: none;
    box-shadow: none;
}


/* ==========================================
   WhatsApp Butonu
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--gecis);
    animation: nabiz 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

@keyframes nabiz {
    0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55); }
}


/* ==========================================
   Cerez Bilgilendirme
   ========================================== */

.cerez-uyari {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--renk-yazi);
    color: rgba(255, 255, 255, 0.85);
    padding: 16px 24px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    line-height: 1.5;
}

.cerez-uyari.goster {
    display: flex;
}

.cerez-uyari p {
    margin: 0;
    flex: 1;
}

.cerez-kapat {
    background: var(--renk-ana);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-govde);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--gecis);
}

.cerez-kapat:hover {
    background: var(--renk-ana-hover);
}


/* ==========================================
   Hata Sayfasi (404)
   ========================================== */

.hata-sayfasi {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.hata-sayfasi h1 {
    font-size: 120px;
    font-weight: 800;
    color: var(--renk-ana);
    line-height: 1;
    margin-bottom: 12px;
}

.hata-sayfasi h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.hata-sayfasi p {
    color: var(--renk-yazi-ikincil);
    margin-bottom: 28px;
    font-size: 15px;
}


/* ==========================================
   Duyarli Tasarim (Mobil Uyumluluk)
   ========================================== */

@media (max-width: 991px) {
    section {
        padding: 70px 0;
    }

    .about-block {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about-img-box {
        max-width: 480px;
        margin: 0 auto;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--renk-zemin);
        flex-direction: column;
        padding: 40px 24px;
        gap: 20px;
        transition: left 0.4s ease;
        border-top: 1px solid var(--renk-cizgi);
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-contact-header {
        width: 100%;
        text-align: center;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-experience {
        padding: 18px;
        bottom: -16px;
        right: -16px;
    }

    .about-experience h3 {
        font-size: 28px;
    }

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

    .stat-item h3 {
        font-size: 32px;
    }

    .cerez-uyari {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 120px 20px 60px;
    }

    .hero-btns {
        flex-direction: column;
    }

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

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