:root {
    /* Renk Paleti */
    --primary-color: #279AF1; /* Canlı Mavi Vurgu Rengi */
    --secondary-color: #1a1a1a; /* Koyu Gri Başlıklar ve Vurgu */
    --text-color: #555555; /* Normal Metin Rengi */
    --light-bg-color: #f8f9fa; /* Açık Gri Arka Plan */
    --white-color: #ffffff; /* Beyaz */
    --dark-color: #343a40; /* Koyu renk - Yeni eklendi */
    --border-color: #e9ecef; /* Hafif Kenarlıklar */
    --shadow-color: rgba(0, 0, 0, 0.08); /* Hafif Gölge */
}

/* Genel Tipografi ve Renk Ayarları */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: var(--font-name, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
    color: var(--text-color);
    background-color: var(--white-color);
    margin-bottom: 0px; /* Footer için boşluk */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Bootstrap'in Varsayılanlarını Güncelleme */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #217bbd;
        border-color: #217bbd;
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        color: var(--white-color);
    }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--white-color), 0 0 0 0.25rem var(--primary-color);
}

.card {
    border: none;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px var(--shadow-color);
    }

/* Özel Sınıflar */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.bg-light-custom {
    background-color: var(--light-bg-color);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* Görsel Uyumu ve Mobil Uyum (Responsive) */
.card-img-top {
    width: 100%;
    height: 250px; /* Sabit bir yükseklik belirle */
    object-fit: cover; /* Görseli bozmadan sığdır */
}

img.img-fluid {
    width: 100%;
    height: auto;
}

/* Ekstra Küçük Cihazlar (Mobil) için Ayarlar */
@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2.5rem;
    }
}

/* Küçük Cihazlar (Tablet Dikey) için Ayarlar */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-3 {
        font-size: 3rem;
    }
}

/* Orta Boy Cihazlar (Tablet Yatay) ve Üzeri */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .display-3 {
        font-size: 4rem;
    }
}

/* Footer için boşluk */
body {
    margin-bottom: 0px;
}

.footer {
    /* Arka plan rengini tema rengiyle uyumlu yap */
    background-color: var(--secondary-color) !important;
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: var(--white-color);
}

    .footer h4 {
        color: var(--white-color);
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .footer p, .footer ul {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .footer a {
        color: var(--light-bg-color); /* Hafif beyaz */
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: var(--primary-color); /* Üzerine gelince birincil renk */
            text-decoration: underline;
        }

    .footer .list-unstyled li {
        margin-bottom: 0.5rem;
    }

    .footer hr {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }


.footer-logo {
    max-height: 80px; /* Logoyu küçült */
    width: auto;
    margin-right: 1rem;
    /* filter: brightness(0) invert(1); /* Logoyu beyaza çevir */
}

/* Footer Başlığı İçin El Yazısı Fontu */
.footer-title {
    font-family: 'Tangerine', cursive; /* Ya da 'Cormorant Garamond' */
    font-size: 2.5rem; /* Yazıyı büyütmek için */
    font-weight: 700;
    margin-top: 1rem;
    color: var(--white-color); /* Metnin rengini beyaz yapın */
}


/* Footer Slogan Metni İçin Stil */
.footer-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem; /* Okunabilirliği korumak için boyutu ayarlayın */
    line-height: 1.8;
    color: var(--light-bg-color); /* Hafif beyaz tonu */
}

/* İletişim ikonları ve linkleri için yeni stil */
.contact-info a,
.contact-info span {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.contact-info a {
    text-decoration: none;
    color: var(--light-bg-color);
    transition: color 0.3s ease;
}

    .contact-info a:hover {
        color: var(--primary-color);
        text-decoration: none;
    }

.contact-info .bi {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

/* Ana sayfa kahraman görseli stili */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Masaüstü ekranın tamamını kapla */
    background-size: cover;
    background-position: center;
    display: flex; /* İçeriği ortalamak için */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Hafif karartma */
}

.hero-content {
    position: relative; /* Overlay'in üstünde kalması için */
    z-index: 1;
    color: var(--white-color);
    padding: 20px; /* İçeriğin çevresine boşluk bırak */
}

    .hero-content h1 {
        font-size: 4rem; /* Büyük başlık boyutu */
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.5rem;
    }


@media (max-width: 767.98px) {
    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

.jumbotron.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/images/background.PNG') no-repeat center center;
    background-size: cover;
    color: var(--white-color);
    padding: 75px 0;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

    .jumbotron.page-header h1 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--white-color);
        margin-bottom: 1rem;
    }

    .jumbotron.page-header .container {
        position: relative;
        z-index: 10;
    }

    .jumbotron.page-header a {
        color: var(--white-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .jumbotron.page-header a:hover {
            color: var(--primary-color);
        }

    .jumbotron.page-header .fa-angle-double-right {
        font-size: 1rem;
        margin: 0 0.5rem;
        vertical-align: middle;
    }

/* Üst menü (navbar) stili */
/* Navbar varsayılan stili: Mobil öncelikli tasarım */
.navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background-color: var(--primary-color) !important; /* Mobil görünüm için varsayılan arka plan */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand,
.navbar-nav .nav-link {
    color: var(--white-color) !important;
    transition: color 0.3s ease;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Masaüstü için şeffaf navbar davranışı (768px ve üzeri) */
@media (min-width: 768px) {
    .homepage .navbar,
    .has-banner .navbar {
        background-color: transparent !important;
        box-shadow: none;
    }

        .homepage .navbar.navbar-scrolled,
        .has-banner .navbar.navbar-scrolled {
            background-color: var(--primary-color) !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
}


/* Tam ekran menü ayarları */
.navbar-collapse {
    background-color: var(--secondary-color) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    z-index: 1030;
    transition: transform 0.5s ease-in-out;
    transform: translateX(100%);
}

    .navbar-collapse.show {
        transform: translateX(0);
    }

/* Menü listesi ve elemanları */
.navbar-nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

    .navbar-nav .nav-item {
        margin: 10px 0;
        font-size: 1.5rem;
        padding: 10px 0;
    }

        .navbar-nav .nav-item .nav-link {
            color: var(--white-color) !important;
            font-weight: bold;
            transition: color 0.3s ease;
        }

            .navbar-nav .nav-item .nav-link:hover {
                color: var(--primary-color) !important;
            }

/* Navbar'ın logo ve buton hizalaması */
.navbar .container {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-toggler {
    margin-left: auto;
}

/* Sayfa içeriği için üst boşluk (padding) */
.header-padding {
    padding-top: 100px;
}

/* Slogan başlığı için özel stil */
.slogan-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

.slogan-font {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-style: italic;
}

/* Ürün kartları ve overlay için stiller */
.product-card {
    height: 350px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
    overflow: hidden;
}

    .product-card img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s ease-in-out;
    }

    .product-card:hover {
        transform: translateY(-10px);
    }

        .product-card:hover img {
            transform: scale(1.1);
        }

.product-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 20px;
    text-align: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay h4 {
    margin-bottom: 0.5rem;
}

.product-overlay p {
    font-size: 0.95rem;
}

/* Hakkımızda sayfası galerisi */
.hakkimizda-galeri {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hakkimizda-gorsel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.gorsel-kare-buyuk {
    grid-column: span 1;
    grid-row: span 1;
}

.gorsel-kare-kucuk {
    grid-column: span 1;
    grid-row: span 1;
}

.hakkimizda-gorsel {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hakkimizda-gorsel:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

.card-link-item {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .card-link-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

.hakkimizda-galeri-yeni {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.hakkimizda-gorsel-container-yeni {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    grid-template-rows: auto auto;
    gap: 1.5rem;
    transform: rotate(-5deg);
    margin: 2rem 0;
}

.gorsel-kare-buyuk {
    width: 250px;
    height: 250px;
    grid-row: span 1;
}

.gorsel-kare-kucuk {
    width: 150px;
    height: 150px;
    grid-row: span 1;
}

.hakkimizda-gorsel-container-yeni .gorsel-kare-buyuk:nth-child(odd) {
    justify-self: end;
}

.hakkimizda-gorsel-container-yeni .gorsel-kare-kucuk:nth-child(even) {
    justify-self: start;
}

.hakkimizda-gorsel-yeni {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .hakkimizda-gorsel-yeni:hover {
        transform: scale(1.05) rotate(0deg) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

@media (max-width: 992px) {
    .hakkimizda-galeri-yeni {
        justify-content: center;
        margin-top: 2rem;
        transform: rotate(0deg);
    }

    .hakkimizda-gorsel-container-yeni {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        transform: rotate(0deg);
    }

        .hakkimizda-gorsel-container-yeni .gorsel-kare-buyuk,
        .hakkimizda-gorsel-container-yeni .gorsel-kare-kucuk {
            width: 100%;
            height: auto;
        }

            .hakkimizda-gorsel-container-yeni .gorsel-kare-buyuk:nth-child(odd),
            .hakkimizda-gorsel-container-yeni .gorsel-kare-kucuk:nth-child(even) {
                justify-self: unset;
            }
}

/* Dark Tema için Özel Bölüm */
.dark-section {
    background-color: var(--secondary-color) !important;
    color: var(--light-bg-color);
}

    .dark-section h2,
    .dark-section h3,
    .dark-section h4,
    .dark-section h5,
    .dark-section h6 {
        color: var(--white-color);
    }

    .dark-section p,
    .dark-section .lead,
    .dark-section .text-muted {
        color: var(--light-bg-color) !important;
    }

    .dark-section .card {
        background-color: var(--dark-color);
        color: var(--light-bg-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .dark-section .card-text {
        color: var(--light-bg-color) !important;
    }

    .dark-section .card-footer {
        background-color: var(--dark-color) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .dark-section .btn-outline-primary {
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

        .dark-section .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: var(--white-color);
        }

/* Banner ve Header Stilleri */
.jumbotron.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/images/background.PNG') no-repeat center center;
    background-size: cover;
    color: var(--white-color);
    padding: 25px 0;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

    .jumbotron.page-header h1 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--white-color);
        margin-bottom: 1rem;
    }

    .jumbotron.page-header .container {
        position: relative;
        z-index: 10;
    }

    .jumbotron.page-header a {
        color: var(--white-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .jumbotron.page-header a:hover {
            color: var(--primary-color);
        }

    .jumbotron.page-header .fa-angle-double-right {
        font-size: 1rem;
        margin: 0 0.5rem;
        vertical-align: middle;
    }

/* Yeni Breadcrumb (Navigasyon Yolu) Stili */
.breadcrumb-banner {
    position: absolute;
    bottom: 5px; /* Alttan boşluk */
    right: 25px; /* Sağdan boşluk */
    color: var(--white-color);
    font-family: 'Times New Roman', Times, serif; /* Şık bir font seçtik */
    font-size: 1.25rem;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Okunabilirliği artırmak için gölge */
    font-weight: bold; /* Yazı stilini kalın yap */
}

    .breadcrumb-banner a {
        color: inherit; /* Üst elementin rengini miras al */
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb-banner a:hover {
            color: var(--primary-color);
        }

    .breadcrumb-banner span {
        margin: 0 5px; /* Eğik çizgi etrafındaki boşluk */
    }

/* Küçük ekranlarda okunabilirliği artırmak için */
@media (max-width: 768px) {
    .jumbotron.page-header h1 {
        font-size: 2.5rem;
    }

    .jumbotron.page-header {
        padding: 20px 0; /* Mobil kalınlığı azalttık */
    }

    .breadcrumb-banner {
        right: 20px;
        font-size: 1rem;
    }
}
