/* ==========================================================================
   Yusuf Köse Tekstil - Ana Stil Dosyası
   ========================================================================== */

/* Kök değişkenler - renkleri buradan kolayca değiştirebilirsin */
:root {
    --theme-dark:       #1a1a2e;       /* footer ve ana koyu arka plan */
    --theme-primary:    #1a1a2e;       /* butonlar, aktif linkler vb. */
    --theme-primary-hover: #0f0f1f;    /* hover için biraz daha koyu */
    --theme-text:       #ffffff;       /* footer ve butonlardaki yazı rengi */
    --text-muted:       #9ca3af;
    --light-bg:         #f8f9fa;
}

/* Genel ayarlar */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #b0b7bb;          /* açık gri - en yaygın ve temiz seçim */
    color: #212529;
    line-height: 1.6;
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: rgba(40, 40, 50, 0.45) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s ease;
    padding: 0.75rem 1rem;
}

.navbar.scrolled {
    background-color: rgba(30, 30, 40, 0.92) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.07);
}

.nav-link {
    font-weight: 500;
    color: #f0f0f0 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    padding: 0.6rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: #e0f7ff !important;
}

/* Offcanvas (mobil menü) */
.offcanvas {
    background-color: rgba(40, 40, 50, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f0f0f0;
    height: 100vh !important;
}

.offcanvas-header {
    background-color: rgba(31, 31, 41, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.offcanvas-body .nav-link {
    padding: 0.85rem 1.5rem !important;
    font-size: 1.15rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.offcanvas-body .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Hero bölümü - tam ekran kaplama */
.hero-section {
    position: relative;
    height: 100vh;              /* tam viewport yüksekliği */
    min-height: 100vh;          /* bazı tarayıcılarda sorun çıkmasın diye */
    margin-top: 0 !important;   /* navbar üstten yer kaplamasın */
    padding-top: 0 !important;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item,
.hero-section .carousel-item img {
    height: 100% !important;
    width: 100% !important;
}

.hero-section img {
    object-fit: cover;
    object-position: center;
}

/* Overlay - metinlerin daha iyi okunması için */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.70));
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navbar fixed olduğu için hero'yu üstten örtmemesi adına (gerekirse) */
body {
    padding-top: 0 !important;   /* eğer navbar yüksekliği sorun yaratıyorsa burayı 70px-80px yapabilirsin */
}

/* Mobil için daha iyi görünüm */
@media (max-width: 991px) {
    .hero-section {
        min-height: 70vh;          /* mobilde çok uzun olmasın */
    }
    
    h1.display-3 {
        font-size: 2.5rem !important;
    }
    
    .lead.fs-4 {
        font-size: 1.25rem !important;
    }
}

.hero-overlay {
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.35), 
        rgba(0,0,0,0.55)) !important;   /* eskiden daha koyuydu */
}

/* Kartlar */
.card {
    transition: all 0.25s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Butonlar - footer ile aynı renk */
.btn-primary {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: var(--theme-text) !important;
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--theme-primary-hover) !important;
    border-color: var(--theme-primary-hover) !important;
}

/* Footer - daha kompakt ve navbar rengiyle eşleşen */
footer {
    background-color: #1e1e28 !important;
    color: #ffffff !important;
    padding: 2rem 0 1.5rem !important;    /* py-5 yerine py-4'e yakın, daha az boşluk */
    margin-top: 2rem !important;           /* üst boşluğu küçült */
    font-size: 0.95rem;                    /* yazı biraz daha küçük olsun (isteğe bağlı) */
}

footer .container {
    max-width: 900px;                      /* çok geniş olmasın, daha derli toplu dursun */
}

footer p.mb-3 {
    margin-bottom: 1rem !important;
}

footer .mb-4 {
    margin-bottom: 1.25rem !important;
}

footer small {
    font-size: 0.875rem !important;       /* small yazı biraz küçülsün */
}

/* Responsive ayarlar */
@media (min-width: 992px) {
    .navbar-toggler,
    #offcanvasNavbar {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 38px;
    }
    
    .hero-section {
        margin-top: -56px;
        padding-top: 56px;
    }
    
    h1.display-3 {
        font-size: 2.8rem;
    }
}

/* Ek yardımcı sınıflar */
.text-shadow {
    text-shadow: 0 3px 12px rgba(0,0,0,0.75);
}

.bg-light-gray {
    background-color: #f1f5f9;
}

.mt-section {
    margin-top: 6rem;
}

/* ----------------------------------------------------------------------
   İçerik metinleri için tutarlı stil (products.html maddelerine benzer)
   ---------------------------------------------------------------------- */

main p,
.container p,
.row p {
    font-size: 1.25rem;          /* fs-5 ≈ 20px */
    line-height: 1.7;
    margin-bottom: 1.25rem;      /* mb-4 benzeri */
    color: #333;
}

main .lead {
    font-size: 1.5rem;           /* lead metinler biraz daha büyük kalsın */
    margin-bottom: 1.5rem;
}

/* Maddeler / listeler için products.html stiline yakın */
main ul,
main ol,
.container ul,
.container ol {
    font-size: 1.25rem;          /* fs-5 */
    padding-left: 1.75rem;       /* ps-4 ≈ 1.5-2rem */
    margin-bottom: 2rem;
    list-style-position: outside;
}

main ul li,
main ol li {
    margin-bottom: 0.75rem;      /* mb-3'e yakın */
    padding-left: 0.5rem;
}

/* Eğer bazı yerlerde daha küçük yazı istemiyorsan bunları da güçlendir */
small, .text-muted, .fs-6 {
    font-size: 1rem !important;  /* çok küçük kalmasın */
}

/* Başlıkları da biraz standartlaştır (isteğe bağlı) */
h1, h2, h3 {
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Bilgi / açıklama metinleri için products tarzı tutarlı stil */
.info-text p,
main p:not(.lead),
.container p:not(.lead),
.row p:not(.lead),
.about-content p,
.vision-content p,
.managers-content p {
    font-size: 1.25rem;          /* fs-5 */
    line-height: 1.75;           /* ferah okuma */
    margin-bottom: 1.5rem;       /* paragraflar arası boşluk - mb-5 yerine daha dengeli */
    color: #2d2d2d;
    font-weight: 400;
}

/* Eğer lead metinler de aynı boyutta olsun istiyorsan */
.lead {
    font-size: 1.38rem;          /* biraz daha büyük ama abartısız */
    margin-bottom: 1.75rem;
}

/* Eğer hala bazı paragraflarda fs-5 mb-5 varsa onları da kontrol altına al */
p.fs-5.mb-5 {
    margin-bottom: 1.5rem !important;   /* mb-5 çok fazla boşluk bırakıyordu */
}

/* Ana sayfada footer üstündeki beyaz boşluğu kaldırma */
body {
    margin: 0 !important;
    padding: 0 !important;
}

.hero-section {
    margin: 0 !important;
    padding: 0 !important;
    height: 100vh !important;
    min-height: 100vh !important;
}

.hero-section + * {           /* hero'dan sonraki ilk element (genellikle boş div veya footer) */
    margin-top: 0 !important;
}

footer {
    margin-top: 0 !important;
    border-top: none !important;   /* varsa gizli border'ı da kaldır */
}

/* Eğer navbar fixed yüzünden body padding-top varsa onu da sıfırla */
body {
    padding-top: 0 !important;
}



/* Sadece soldaki fotoğrafların sola yaslanması */
.row.align-items-center > .col-lg-6:first-child img {
    margin-left: calc(-50vw + 50%) !important;
    width: calc(50vw + 50%) !important;
    max-width: none !important;
    border-radius: 0 !important; /* sol kenarda yuvarlak olmasın */
}

/* Mobil cihazlarda taşmayı önle (fotoğraf normal tam genişlikte kalsın) */
@media (max-width: 991px) {
    .row.align-items-center > .col-lg-6:first-child img {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Neler Yapıyoruz sayfasındaki tüm fotoğrafları biraz küçült */
.wwd-section img {
    max-height: 500px;          /* İstersen 400px-600px arası dene */
    width: 100%;
    object-fit: cover;          /* Fotoğraf bozulmasın, güzel kesilsin */
    border-radius: 8px;
}

/* Eğer sadece soldaki fotoğrafları etkilemesini istersen */
.row.align-items-center > .col-lg-6:first-child img {
    max-height: 480px;          /* biraz daha küçük */


}


.section-image {
    height: 380px;          /* istediğiniz yüksekliği seçin - 350-450 arası iyi olur */
    overflow: hidden;       /* taşan kısmı kes */
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* kırparak doldurur - en-boy oranını bozmadan */
    object-position: center;
}

@media (max-width: 991px) {
    .section-image {
        height: 300px;   /* mobilde biraz daha kısa olsun */
    }
}


footer {
    background-color: #0b1620 !important;  /* bg-dark rengi */
    color: white !important;
}

footer a {
    color: white !important;
}

footer small, footer p {
    color: white !important;
} 

body {
  margin: 0;
  background-color: #fff; /* site geneli */
}

.site-footer {
  background-color: #212529;
  margin-top: 0;
}

.site-footer .container {
  background-color: transparent;
}
