:root {
    --bg-color: #0d0d0d;
    --text-color: #e0e0e0;
    --primary-color: #d4af37;
    /* Gold-like color for accents */
    --gray-dark: #1a1a1a;
    --gray-light: #333333;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    padding-top: 70px;
    /* For fixed-top navbar */
}

/* HEADER */
.navbar {
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
    transition: background-color 0.3s;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .form-control {
    background-color: transparent;
    border: 1px solid var(--gray-light);
    color: var(--text-color);
    border-radius: 0;
}

.navbar .form-control::placeholder {
    color: #888;
}

.navbar .form-control:focus {
    background-color: var(--gray-light);
    box-shadow: none;
    border-color: var(--primary-color);
}

.navbar .input-group-text {
    background-color: transparent;
    border: 1px solid var(--gray-light);
    border-left: none;
    color: #888;
    border-radius: 0;
}

/* HERO SECTION */
.hero-section {
    height: 70vh;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-color) 0%, rgba(13, 13, 13, 0.2) 100%);
}

/* GENERAL CONTENT STYLES */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.section-subtitle {
    color: white;
    font-weight: 500;
}

.lead {
    color: #b0b0b0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* BRANDS SECTION */
.brands-section {
    background-color: var(--bg-color);
}

.brand-box {
    display: block;
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.brand-box:hover {
    transform: translateY(-5px);
}

.brand-box img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.brand-box span {
    display: block;
    color: #333;
    font-weight: 500;
}

/* GALLERY SECTION */
.gallery-section {
    background-color: var(--bg-color);
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    transition: transform 0.4s ease;
    width: 110%;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* FOOTER */
.site-footer {
    background-color: var(--gray-dark);
    border-top: 1px solid var(--gray-light);
    color: #aaa;
}

.site-footer h5 {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-logo {
    max-width: 150px;
    filter: brightness(0) invert(1);
}

.social-icon {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* HERO SLIDER SECTION */
.hero-slider-section,
.hero-slider {
    height: 70vh;
    /* Ekran yüksekliğinin %70'i kadar */
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-color) 0%, rgba(13, 13, 13, 0.2) 100%);
}

/* Swiper Navigasyon Okları */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    /* Ok ikonlarının boyutunu küçültür */
    font-weight: 900;
}

/* ================= PRODUCTS PAGE STYLES ================= */
.products-page {
    /* Sayfanın arka planını ana sitenizle uyumlu hale getirin.
       Eğer bu sayfa tek başına ise arka planı buradan ayarlayabilirsiniz. */
    background-color: #0d0d0d;
    min-height: 100vh;
    /* Sayfanın en az ekran boyu kadar olmasını sağlar */
}

.products-header {
    background-color: #262626;
    padding: 15px 30px;
    margin-bottom: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 25px rgba(120, 120, 120, 0.15);
    /* Hafif başlık ışıması */
}

.products-title {
    color: var(--primary-color, #d4af37);
    /* Ana projedeki altın rengi */
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.brand-link {
    display: block;
    width: 100%;
    padding: 20px 15px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 20px rgba(180, 180, 180, 0.2);
    /* Tasarımdaki anahtar ışıma efekti */
}

.brand-link:hover {
    transform: translateY(-5px) scale(1.02);
    background-color: #333;
    color: #fff;
    box-shadow: 0 5px 30px rgba(200, 200, 200, 0.3);
    /* Hover durumunda daha belirgin ışıma */
}

/* ================= CONTACT PAGE STYLES ================= */
.contact-page {
    background-color: #0d0d0d;
    min-height: 100vh;
}

/* Önceki sayfadan genel başlık stilini alıyoruz */
.page-header {
    background-color: #262626;
    padding: 15px 30px;
    margin-bottom: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 25px rgba(120, 120, 120, 0.15);
}

.page-title {
    color: var(--primary-color, #d4af37);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* İletişim Bilgileri Stilleri */
.contact-heading {
    color: var(--primary-color, #d4af37);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-address {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #1a73e8;
    /* Mavi telefon ikonu arka planı */
    border-radius: 8px;
    margin-right: 20px;
    font-size: 1.2rem;
    color: #fff;
}

.phone-numbers p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Harita Stilleri */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    /* iframe'in köşelerinin de yuvarlak olmasını sağlar */
    box-shadow: 0 0 30px rgba(150, 150, 150, 0.2);
}

.map-container iframe {
    display: block;
    /* Altındaki gereksiz boşluğu kaldırır */
    /* Koyu temaya uyum için haritayı tersine çevirip renksizleştiriyoruz */
    filter: invert(100%) grayscale(80%) contrast(0.9);
}

/* ================= PRODUCT LIST PAGE STYLES ================= */
.product-list-page {
    background-color: #0d0d0d;
    min-height: 100vh;
}

/* Önceki sayfalardan genel başlık stilini alıyoruz */
.page-header {
    background-color: #262626;
    padding: 15px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 25px rgba(120, 120, 120, 0.15);
}

.page-title {
    color: var(--primary-color, #d4af37);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Kategori bilgisi barı */
.category-info {
    margin-bottom: 40px;
}

.category-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    padding-left: 5px;
}
.category-info p a {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    text-decoration: underline;
}

/* Ürün Kartı Stilleri */
.product-card {
    display: block;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #2a2a2a;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.product-image-wrapper {
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Resimlerin kare ve orantılı olmasını sağlar */
    object-fit: cover;
    /* Resmin kutuya sığmasını sağlar, kırpma yapabilir */
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card-body {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: center;
}

.product-name {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-category {
    color: #777;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ================= PRODUCT DETAIL PAGE STYLES ================= */
.product-detail-page {
    background-color: #0d0d0d;
    min-height: 100vh;
}

/* Breadcrumb Stilleri */
.breadcrumb {
    --bs-breadcrumb-divider: '/';
    margin-bottom: 30px;
    background-color: var(--bg-color);
    padding: 10px 0;
}

.breadcrumb-item a {
    color: #a0a0a0;
    font-size: 0.85rem;
}

.breadcrumb-item.active {
    color: #fff;
    font-size: 0.85rem;
}

/* Ana Görsel */
.main-image-wrapper {
    background-color: var(--gray-light, #333333);
    border: 1px solid var(--gray-light, #333333);
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
}

.main-product-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Thumbnail Galerisi */
.thumbnail-gallery {
    /* Galeri satırını yatayda ortalamak için */
    justify-content: center;
}

.thumbnail {
    display: block;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color, #d4af37);
    /* Altın rengi çerçeve */
}

/* Ürün Detayları */
.product-details {
    color: var(--text-color, #e0e0e0);
}

.product-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Meta Bilgileri (Marka/Model) */
.product-meta {
    border-top: 2px solid var(--gray-light, #333333);
    border-bottom: 2px solid var(--gray-light, #333333);
}

.meta-label {
    color: #a0a0a0;
    font-weight: 500;
    font-size: 1rem;
}

.meta-value {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobil Cihaz Uyumluluğu */
@media (max-width: 991.98px) {
    .thumbnail-gallery {
        justify-content: start;
        /* Mobil cihazlarda sola hizala */
    }

    .navbar-collapse {
        background-color: var(--bg-color);
        padding: 15px;
        margin-top: 10px;
        border-radius: 8px;
    }
    .gallery-item {
    height: 450px;
    }
}

@media (max-width: 575.98px) {
    .product-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
    }

    .hero-section {
        height: 50vh;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-weight: 700;
    margin-bottom: 0;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: inherit;
}

.breadcrumb-item.active {
    color: #6c757d;
}