@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --theme-red: #d32f2f;
    --theme-dark-red: #b71c1c;
    --theme-black: #1a1a1a;
    --theme-gray: #f8f9fa;
    --nav-height: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--theme-gray);
    color: #333;
    overflow-x: hidden;
}

/* ============ Navbar ============ */
.navbar {
    background-color: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
}
.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--theme-red) !important;
}

/* ============ Utilities ============ */
.text-theme { color: var(--theme-red); }
.bg-theme { background-color: var(--theme-red); color: white; }
.bg-black { background-color: var(--theme-black); color: white; }

/* ============ Buttons ============ */
.btn-theme {
    background-color: var(--theme-red);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}
.btn-theme:hover {
    background-color: var(--theme-dark-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

/* ============ Carousel / Slider ============ */
/* Metin artık mutlak konumlu değil; slaytın içinde akıyor ve
   ekran küçüldükçe slayt yüksekliği içeriğe göre uzuyor. */
.carousel-item {
    min-height: 100vh;
    min-height: 100svh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--nav-height) + 30px);
    padding-bottom: 70px;
}
.hero-caption {
    color: #fff;
    max-width: 720px;
    padding: 0 60px;
}
.hero-caption.hero-center {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.hero-caption h1 {
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}
.hero-caption .lead {
    font-size: clamp(1rem, 2.6vw, 1.25rem);
    max-width: 560px;
}
.hero-caption.hero-center .lead {
    margin-left: auto;
    margin-right: auto;
}
.carousel-indicators { z-index: 3; }
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 60px;
}

/* ============ Cards ============ */
.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--theme-red);
}
.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--theme-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: 0.3s;
}
.service-card:hover .icon-box {
    background-color: var(--theme-red);
    color: white;
}

/* ============ Footer ============ */
footer {
    background-color: var(--theme-black);
    color: #aaa;
}
footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}
footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}
footer a:hover {
    color: var(--theme-red);
}
.footer-contact li {
    display: flex;
    align-items: center;
    word-break: break-word;
}
.footer-contact i {
    width: 22px;
    flex-shrink: 0;
}

/* Sosyal medya ikonları */
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--theme-red);
    color: #fff;
    transform: translateY(-3px);
}

/* ============ WhatsApp Button ============ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}
.whatsapp-btn:hover {
    background-color: #1ebe57;
    color: white;
    transform: scale(1.1) rotate(10deg);
}

/* ============ Page Headers ============ */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(26,26,26,0.9), rgba(26,26,26,0.9)), url('../img/komp2.jpeg') center/cover;
    color: white;
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 10px 0 15px;
    }
}

@media (max-width: 767.98px) {
    :root { --nav-height: 70px; }

    .hero-caption {
        padding: 0 10px;
    }
    /* Telefonda slayt tam ekran değil, içeriğe yakın yükseklikte */
    .carousel-item,
    .hero-inner {
        min-height: 560px;
    }
    .hero-inner {
        padding-top: calc(var(--nav-height) + 20px);
        padding-bottom: 50px;
    }
    .carousel-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.85) 100%);
    }
    /* Ok tuşları metnin üstüne binmesin */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    .hero-caption .btn-lg {
        padding: 10px 22px;
        font-size: 1rem;
    }
    .hero-caption .badge.fs-6 {
        font-size: 0.8rem !important;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 375px) {
    .navbar-brand { font-size: 1.05rem; }
    .navbar-brand .fs-2 { font-size: 1.5rem !important; }
    .hero-caption h1 { font-size: 1.75rem; }
    .hero-caption .lead { font-size: 0.95rem; }
    .display-6 { font-size: 1.6rem; }
}

/* ============ Marka Sayfaları ============ */
.disclaimer-box {
    background: #fff;
    border-left: 4px solid var(--theme-red);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.92rem;
    color: #555;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.fault-item {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border-top: 3px solid var(--theme-red);
}
.region-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.region-card:hover {
    border-color: var(--theme-red);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.brand-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.brand-chip {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #e3e3e3;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.brand-chip:hover {
    background: var(--theme-red);
    border-color: var(--theme-red);
    color: #fff;
}
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px 14px;
    background: var(--theme-gray);
    border-radius: 12px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
}
.brand-card:hover {
    background: var(--theme-black);
    color: #fff;
    transform: translateY(-4px);
}
.brand-card .brand-name { font-size: 1.25rem; font-weight: 800; }
.brand-card .brand-sub { font-size: 0.8rem; color: #888; margin: 4px 0 10px; }
.brand-card .brand-link { font-size: 0.85rem; font-weight: 600; color: var(--theme-red); }
.accordion-button:not(.collapsed) {
    background-color: rgba(211, 47, 47, 0.08);
    color: var(--theme-dark-red);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15);
}
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #bbb; }

@media (max-width: 575.98px) {
    .brand-card { padding: 20px 10px; }
    .brand-card .brand-name { font-size: 1.05rem; }
    .brand-chip { padding: 8px 14px; font-size: 0.85rem; }
}
