/* =====================================================
   GENEL AYARLAR
===================================================== */
html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

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;
}

/* Fixed navbar offset */
section {
    scroll-margin-top: 80px;
}

/* =====================================================
   NAVBAR & LOGO
===================================================== */
#mainNavbar {
    padding: 14px 0;
    background: rgba(0, 0, 0, 0.15);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

    #mainNavbar.scrolled {
        padding: 8px 0;
        background: rgba(0, 0, 0, 0.9);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

.navbar-logo {
    height: 42px;
    transition: all 0.3s ease;
}

#mainNavbar.scrolled .navbar-logo {
    height: 34px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #0d6efd;
}

    .navbar-nav .nav-link:hover {
        color: #0d6efd;
    }
/* =========================
   MOBILE TOGGLE FIX
========================= */
.navbar-toggler {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 6px 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.navbar-toggler-icon {
    filter: invert(1);
}
/* =========================
   MOBILE MENU OVERLAY
========================= */
.mobile-menu-overlay {
    
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 998;
    display: none;
}

/* =========================
   MOBILE MENU FIX
========================= */
@media (max-width: 991px) {

    .navbar {
        z-index: 999;
    }

    .navbar-collapse {
        position: fixed;
        top: 120px; /* logo yüksekliği */
        left: 0;
        width: 100%;
        background: #0d1b2a;
        padding: 20px;
        z-index: 999;
    }

    .navbar-nav .nav-link {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }
}


/* =====================================================
   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);
}

/* =====================================================
   FEATURE / AVANTAJ KARTLARI
===================================================== */
.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #f2f6ff;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: #6c757d;
}

/* =====================================================
   Ü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
===================================================== */
.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-detail {
    padding: 30px;
}

    .blog-detail img {
        width: 100%;
        border-radius: 6px;
        margin-bottom: 20px;
    }

/* =====================================================
   İLETİŞİM
===================================================== */
.contact-card {
    padding: 30px;
}

.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
===================================================== */
.btn {
    border-radius: 4px;
}

.badge {
    font-weight: 600;
}

/* =====================================================
   CAROUSEL / HERO
===================================================== */
.carousel,
.carousel-inner,
.carousel-item {
    height: 100vh;
}

.carousel-item {
    position: relative;
}

    .carousel video,
    .carousel-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.carousel-caption {
    z-index: 3;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
    background: #1f2933;
    color: #cbd5e1;
}

.footer-logo {
    height: 40px;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-text,
.footer-links a {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a:hover {
        color: #ffffff;
    }

.footer-bottom {
    background: #111827;
    color: #9ca3af;
    font-size: 0.85rem;
    padding: 15px 0;
}

.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;
    }
/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {

    .sticky-box {
        position: static;
        margin-top: 20px;
    }

    .product-card img,
    .blog-card img {
        height: 180px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .footer-bottom {
        text-align: center;
    }
}
