﻿/* =====================================================
   GENEL AYARLAR
===================================================== */
body {
    background: #f5f7fa;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #212529;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
}


/* =====================================================
   ORTAK KART YAPISI
===================================================== */
.card-box,
.product-card,
.service-card,
.blog-card,
.contact-card,
.detail-card,
.blog-detail {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* =====================================================
   ÜRÜN LİSTE
===================================================== */
.product-card {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card img {
        width: 100%;
        height: 220px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    .product-card h5 {
        font-weight: 700;
    }

    .product-card .btn {
        margin-top: auto;
    }

/* =====================================================
   ÜRÜN & SERVİS DETAY
===================================================== */
.detail-card {
    padding: 30px;
}

.sticky-box {
    position: sticky;
    top: 100px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
}

/* =====================================================
   SERVİS & BAKIM PAKETLERİ
===================================================== */
.service-card {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-card ul li {
        padding: 6px 0;
    }

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
}

/* =====================================================
   KARŞILAŞTIRMA TABLOSU
===================================================== */
.comparison-table {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .comparison-table th,
    .comparison-table td {
        padding: 16px;
        vertical-align: middle;
    }

    .comparison-table thead th {
        background: #f1f3f6;
        font-weight: 700;
    }

    .comparison-table .highlight {
        background: #f8fff9;
        font-weight: 600;
    }

/* =====================================================
   BLOG LİSTE
===================================================== */
.blog-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .blog-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.blog-card-body {
    padding: 20px;
    flex: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

/* =====================================================
   BLOG DETAY
===================================================== */
.blog-detail {
    padding: 30px;
}

    .blog-detail img {
        width: 100%;
        border-radius: 6px;
        margin-bottom: 20px;
    }

/* =====================================================
   İLETİŞİM SAYFASI
===================================================== */
/* Genel kart */
.contact-card {
    background: #fff;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* Bilgi kutuları */
.info-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: #e9f7ef;
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 20px;
}

/* Form */
.form-control {
    height: 48px;
}

textarea.form-control {
    height: auto;
}

.info-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: #e9f7ef;
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 20px;
}

.form-control {
    height: 48px;
}

textarea.form-control {
    height: auto;
}

/* =====================================================
   BUTON & BADGE KÜÇÜK DOKUNUŞLAR
===================================================== */
.btn {
    border-radius: 4px;
}

.badge {
    font-weight: 600;
}

/* =====================================================
   RESPONSIVE DÜZENLEMELER
===================================================== */
@media (max-width: 768px) {
    .sticky-box {
        position: static;
        margin-top: 20px;
    }

    .product-card img,
    .blog-card img {
        height: 180px;
    }
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
    background: #1f2933;
    color: #cbd5e1;
}

.footer-logo {
    height: 40px;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

    .footer-text a {
        color: #cbd5e1;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .footer-links a {
        color: #cbd5e1;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: #ffffff;
        }

.footer-bottom {
    background: #111827;
    color: #9ca3af;
    font-size: 0.85rem;
    padding: 15px 0;
}

/* Mobil */
@media (max-width: 768px) {
    .footer-bottom {
        text-align: center;
    }
}

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

/* Fixed navbar yüksekliği kadar offset */
section {
    scroll-margin-top: 80px;
}



    #mainNavbar {
        background: rgba(0, 0, 0, 0.9);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

.navbar-nav .nav-link {
    font-weight: 500;
    color: #0d6efd;
}

    .navbar-nav .nav-link:hover {
        color: #0d6efd;
    }



.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
}

.icon {
    width: 40px;
    height: 40px;
    background: #e0ecff;
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-box h4 {
    margin: 0 0 6px;
    font-size: 15px;
}

.feature-box p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.hero {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* SOL TARAF */
.hero-left h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 35px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
}

.icon {
    width: 40px;
    height: 40px;
    background: #e0ecff;
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-box h4 {
    margin: 0 0 6px;
    font-size: 15px;
}

.feature-box p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* SAĞ TARAF */
.hero-right {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 520px;
}

    .hero-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.6));
}

.overlay-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
}

    .overlay-text h3 {
        margin: 0 0 5px;
        font-size: 20px;
    }

    .overlay-text p {
        margin: 0;
        font-size: 14px;
        opacity: 0.9;
    }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        height: 380px;
    }
}
