/* Genel ayarlar */
body {
  font-family: 'Supera Gothic', sans-serif;
  color: #333;
  background-color: #fff;
  margin: 0;
  /* Tüm sayfalarda sabit navbar için boşluk */
  padding-top: 80px; 
}

:root {
  --main-color: #00304A; /* Helvacı Yapı ana lacivert rengi */
  --secondary-color: #B3A389; /* İkincil kahverengi tonu */
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: var(--main-color);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background-color: rgba(0, 48, 74, 0.7);
}
.navbar-brand img {
  height: 50px;
  transition: 0.3s;
}
.navbar.scrolled .navbar-brand img {
  height: 40px;
}
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  padding: 10px 15px;
}
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}
.dropdown-menu {
  z-index: 1050;
}

/* Carousel (Video desteği ve Z-index ayarı eklendi) */
.carousel-item img,
.carousel-item video { /* Hem resim hem video için geçerli */
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  z-index: 2;
  bottom: 30%;
  left: 10%;
  text-align: left;
}
.carousel-caption h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
}
.carousel-caption a {
  background-color: var(--main-color);
  border: none;
}
.carousel-control-prev,
.carousel-control-next {
  z-index: 1000;
}

/* Page Header (Tüm iç sayfaların başlıkları için) */
.page-header {
  background-color: var(--main-color);
  color: #fff;
  padding: 80px 0 50px;
  text-align: center;
  margin-bottom: 40px;
}
.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
}
.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Genel İçerik Bölümleri (Hakkımızda vb.) */
.content-section {
  padding: 60px 0;
}
.info-section {
  padding: 80px 0;
}
.info-section img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}
.info-section .text-primary {
    color: var(--main-color) !important;
}

/* Haberler Bölümü (index.html'deki kartlar) */
.news-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.news-section .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.news-section .card-img-top {
    height: 200px;
    object-fit: cover;
}
.news-section .btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.news-section .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}


/* Pure CSS Logo Carousel Stilleri */
.logo-carousel-section {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    padding: 20px 0;
}
.logos {
    overflow: hidden;
    padding: 10px 0;
    white-space: nowrap;
    position: relative;
}
.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
    animation-play-state: running;
}
.logos:hover .logos-slide {
    animation-play-state: paused;
}
.logos-slide .logo-item {
    height: 60px;
    width: auto;
    margin: 0 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    vertical-align: middle;
}
.logos-slide .logo-item:hover {
    opacity: 1;
}
@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* Fotoğraf Galerisi Stilleri */
.photo-gallery {
    background-color: #fff;
    padding-bottom: 60px;
}
.gallery-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.7);
}
.gallery-item-link:hover .gallery-img {
    transform: scale(1.05);
    filter: brightness(1.0);
}
.gallery-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 80%;
    z-index: 10;
}
.gallery-caption h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.gallery-caption p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0;
}


/* İletişim Sayfası Stilleri */
.contact-section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.contact-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 30px;
}
.info-box {
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
}
.info-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.info-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}
.map-section {
    line-height: 0;
    margin-top: 40px;
}
.contact-section .text-primary {
    color: var(--main-color) !important;
}
.contact-section .btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.contact-section .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}


/* Yönetim Sayfası Stilleri */
.management-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.management-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.management-card img {
    width: 60%;
    max-height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}
.management-card .card-body {
    padding: 15px;
}
.management-card .card-title {
    color: var(--main-color);
    margin-top: 10px;
}
.management-card .text-primary {
    color: var(--main-color) !important;
}


/* TARİHÇE (Timeline) Stilleri */
.timeline-section {
    padding-top: 50px;
    padding-bottom: 50px;
}
.main-timeline {
    position: relative;
}
/* Ana Dikey Çizgi */
.main-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--main-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    z-index: 0;
}
/* Her Bir Zaman Çizelgesi Öğesi */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
/* Tarih Yuvarlak İkonları */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: #fff;
    border: 3px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
/* İçerik Kutusu */
.timeline-content {
    padding: 20px 30px;
    background-color: #f8f9fa;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
/* SOL TARAFTAKİ ÖĞELER */
.timeline-item:nth-child(odd) {
    left: 0;
}
/* SAĞ TARAFTAKİ ÖĞELER */
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
    padding-right: 10px;
}
/* Sağ taraftaki öğelerde ikonu sola hizala */
.timeline-item:nth-child(even)::after {
    left: -12px;
}
/* SOL taraftaki içerik okları */
.timeline-item:nth-child(odd) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -10px;
    border: medium solid #f8f9fa;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f8f9fa;
}
/* SAĞ taraftaki içerik okları */
.timeline-item:nth-child(even) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid #f8f9fa;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f8f9fa transparent transparent;
}
/* Başlık ve Tarih Stili */
.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--main-color);
}
.timeline-content .date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
/* TARİHÇE (Timeline) Görsel Stili */
.timeline-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
}


/* İNŞAAT VE EMLAK BUTONLARI (project-buttons) */
.project-buttons {
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.project-btn-link {
    display: block;
    text-decoration: none;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}
.project-btn-item {
    position: relative;
    overflow: hidden;
    height: 450px;
}

/* BUTON GÖRSELİNİN KENDİSİ */
.project-btn-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: brightness(0.5);
}

/* Hover Efekti: Zoom ve Parlaklık */
.project-btn-link:hover .project-btn-img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

/* Başlık ve Metin (Caption) */
.project-btn-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 90%;
    z-index: 10;
    padding: 20px;
}
.project-btn-caption h2 {
    font-size: 2.4rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0,0,0,1);
}


/* DEVAM EDEN PROJELER SAYFASI STİLLERİ (LightBox hariç) */
.ongoing-projects .project-card {
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 60px !important;
    padding-bottom: 60px;
}
.ongoing-projects .project-card:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}
.ongoing-projects .project-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 20px;
}
.ongoing-projects .project-main-image {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    height: 400px;
    object-fit: cover;
    width: 100%;
}
.ongoing-projects .project-info-box ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}
.ongoing-projects .project-info-box ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555;
}
.ongoing-projects .project-info-box ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}
.ongoing-projects .project-info-box p {
    font-size: 1.15rem;
    line-height: 1.8;
}
.ongoing-projects .gallery-title {
    font-size: 1.5rem;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 15px;
}
.ongoing-projects .gallery-thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.8;
}
.ongoing-projects .gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(0, 48, 74, 0.3);
}

/* LIGHTBOX (POP-UP) MODAL KESİN DÜZELTME STİLLERİ */
#projectGalleryModal .modal-content {
    background-color: #000;
    border: none;
    height: 100%;
}
#projectGalleryModal .btn-close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1060;
    opacity: 1;
    font-size: 1.5rem;
}
#projectGalleryModal .carousel-inner {
    display: flex;
    align-items: center;
    height: 100%;
}
#projectGalleryModal .carousel-item {
    height: 100%;
}
.modal-img-wrapper {
    height: 100vh;
    padding: 5vh;
}
.modal-img {
    max-height: 90vh;
    width: auto !important;
    object-fit: contain !important;
    max-width: 100%;
}
.carousel-control-prev, .carousel-control-next {
    width: 10%;
}
/* FLİGRAN SORUNU DÜZELTMESİ (Görünmez yapar) */
.modal-backdrop {
    opacity: 0 !important;
    display: none !important;
}


/* RESPONSIVE DÜZENLEMELER */

/* Genel Mobil Uyumlu Düzenlemeler */
@media (max-width: 768px) {
  .carousel-caption h2 { font-size: 1.2rem; }
  .carousel-caption a { font-size: 0.8rem; padding: 6px 12px; }
  .carousel-caption { bottom: 10%; }
  .page-header h1 { font-size: 2rem; }
  .page-header p { font-size: 0.9rem; }
  .navbar-brand img { height: 45px; }
  
  .project-btn-item, .project-btn-img {
        height: 250px;
  }
  .project-btn-caption h2 {
      font-size: 1.8rem;
  }
}

/* Slider ve açılır menü z-index uyumu (Tablet ve Mobil) */
@media (max-width: 991.98px) {
  .dropdown-menu {
    z-index: 1060 !important;
    position: relative;
  }
  .carousel-control-prev,
  .carousel-control-next {
    z-index: 1000 !important;
  }
}

/* Mobil cihazlarda Logo Carousel animasyon süresi ve logo boyutu */
@media (max-width: 768px) {
    .logos-slide { animation-duration: 25s; }
    .logos-slide .logo-item { height: 50px; margin: 0 20px; }
    
    .ongoing-projects .project-main-image { height: 250px; } /* Ana görsel mobil yüksekliği */
    .ongoing-projects .gallery-thumbnail { height: 70px; } /* Thumbnail mobil yüksekliği */
}

/* Mobil Uyumlu Galeri Yüksekliği */
@media (max-width: 576px) {
    .gallery-img { height: 180px; }
    .gallery-caption h5 { font-size: 1rem; }
    .gallery-caption p { display: none; }
    
    .management-card img { width: 50%; max-height: 120px; }
    .management-card .card-title { font-size: 1.1rem; }
    .management-card p { font-size: 0.9rem; }
}

/* Mobil Uyumlu Yönetim Kartları */
@media (max-width: 576px) {
    .management-card img { width: 50%; max-height: 120px; }
    .management-card .card-title { font-size: 1.1rem; }
    .management-card p { font-size: 0.9rem; }
}

/* Mobil Uyumlu Zaman Çizelgesi (Timeline) */
@media (max-width: 768px) {
    .main-timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 18px; right: auto; }
    .timeline-item:nth-child(even)::after { left: 18px; }
    .timeline-item:nth-child(odd) .timeline-content::before { left: 60px; right: auto; border-width: 10px 10px 10px 0; border-color: transparent #f8f9fa transparent transparent; }
    .timeline-item:nth-child(even) .timeline-content::before { left: 60px; border-width: 10px 10px 10px 0; border-color: transparent #f8f9fa transparent transparent; }
    .timeline-img { max-height: 150px; }
}

/* FOOTER DÜZENLEMELERİ */
footer {
  background-color: var(--main-color);
  color: #fff;
  padding: 40px 0 20px;
}
.footer-left img {
  max-height: 40px;
  margin-bottom: 10px;
}
.footer-left p {
  font-size: 0.9rem;
  margin-top: 5px;
}
.footer-right h5 {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 600;
}
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block; 
}
.footer-right ul li {
  margin-bottom: 8px;
  display: block; 
}
.footer-right ul li a {
  color: #fff;
  text-decoration: none;
}
.footer-right ul li a:hover {
  color: var(--secondary-color);
}
.copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* FOOTER RESPONSIVE DÜZELTMESİ (Masaüstü ve Mobil) */
@media (min-width: 768px) {
    .footer-left { text-align: left !important; }
    .footer-right { text-align: right !important; }
    .footer-right h5, .footer-right ul {
        text-align: right; 
    }
    .footer-right ul {
        display: block;
    }
}
@media (max-width: 767.98px) {
    .footer-left { text-align: center !important; }
    .footer-right { text-align: center !important; }
}

/* TARIM VE HAYVANCILIK SAYFASI STİLLERİ */
.tarim-content {
    padding-top: 40px;
    padding-bottom: 80px;
}
.tarim-content h2 {
    font-size: 2.2rem;
}
.tarim-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}
.tarim-content .text-primary {
    color: var(--main-color) !important;
}
.tarim-content .text-secondary {
    color: var(--main-color) !important; /* Alt başlıkları ana renk yapalım */
}
.tarim-content .tarim-img {
    height: auto;
    width: 100%;
    max-height: 700px; /* Görselin çok uzamasını engelle */
    object-fit: cover;
    transition: transform 0.3s ease;
}
.tarim-content .tarim-img:hover {
    transform: scale(1.01); /* Hafif zoom efekti */
}

/* Mobil Görünümde Görseli Metinden Ayır */
@media (max-width: 767.98px) {
    .tarim-content .tarim-img {
        max-height: 400px;
    }
}
/* PETROL SAYFASI STİLLERİ (Tarım sayfası ile aynı stili kullanabilir) */
.petrol-content {
    padding-top: 40px;
    padding-bottom: 80px;
}
.petrol-content h2 {
    font-size: 2.2rem;
}
.petrol-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}
.petrol-content .text-primary {
    color: var(--main-color) !important;
}
.petrol-content .text-secondary {
    color: var(--main-color) !important;
}
.petrol-content .petrol-img {
    height: auto;
    width: 100%;
    max-height: 700px; 
    object-fit: cover;
    transition: transform 0.3s ease;
}
.petrol-content .petrol-img:hover {
    transform: scale(1.01); 
}

/* Mobil Görünümde Görseli Metinden Ayır */
@media (max-width: 767.98px) {
    .petrol-content .petrol-img {
        max-height: 400px;
    }
}
/* YENİ EKLENEN KOD: Yapı Materyalleri Sayfası Stilleri */
.text-main-color {
    color: var(--main-color) !important;
}

/* Bien Seramik Özel Bölümü */
.bien-section {
    padding-top: 40px;
    padding-bottom: 40px;
}
.bien-section .bien-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}
.bien-section .gallery-title {
    font-size: 1.8rem;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 20px;
}
/* Bien Galeri Thumbnail stillerini Devam Eden Projeler'den miras alır */


/* Materyal Grupları (Kaba, Alçı, vb.) Stilleri */
.materyal-gruplari {
    background-color: #fff; /* Beyaz zemini koru */
}
.materyal-blok {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    background-color: #fcfcfc;
}
.materyal-baslik {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--main-color);
    display: inline-block;
    padding-bottom: 5px;
}
.materyal-blok h4 {
    font-size: 1.3rem;
    color: var(--main-color);
    margin-bottom: 10px;
}
.materyal-gorsel {
    height: auto;
    width: 100%;
    max-height: 250px; /* Görsel yüksekliğini sınırla */
    object-fit: cover;
}

/* Mobil Düzenleme */
@media (max-width: 767.98px) {
    .bien-section .bien-img {
        height: 300px;
    }
    .materyal-blok {
        padding: 20px;
    }
    .materyal-baslik {
        font-size: 1.5rem;
    }
}
/* YENİ EKLENEN KOD: Yapı Materyalleri Sayfası Stilleri */
.text-main-color {
    color: var(--main-color) !important;
}

/* Bien Seramik Özel Bölümü */
.bien-section {
    padding-top: 40px;
    padding-bottom: 40px;
}
.bien-section .bien-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.bien-section .gallery-title {
    font-size: 1.8rem;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 20px;
}
/* Bien Galeri Thumbnail stillerini Devam Eden Projeler'den miras alır */


/* Materyal Grupları (Broşür Tarzı Bloklar) Stilleri */
.materyal-gruplari {
    background-color: #fff;
}
.materyal-blok {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    background-color: #fcfcfc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.materyal-baslik {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--main-color);
    display: inline-block;
    padding-bottom: 5px;
}
.materyal-blok h4 {
    font-size: 1.3rem;
    color: var(--main-color);
    margin-bottom: 10px;
}
.materyal-blok p {
    line-height: 1.6;
}
.materyal-gorsel-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.materyal-gorsel {
    height: auto;
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.materyal-gorsel:hover {
    transform: scale(1.02);
}

/* Mobil Düzenleme */
@media (max-width: 767.98px) {
    .bien-section .bien-img {
        height: 300px;
    }
    .materyal-blok {
        padding: 20px;
    }
    .materyal-baslik {
        font-size: 1.5rem;
    }
    .materyal-blok .row {
        flex-direction: column; /* Mobil'de ters sırayı kaldır */
    }
    .materyal-blok .col-md-4 {
        order: 1; /* Görseli mobil'de üste al */
    }
    .materyal-blok .col-md-8 {
        order: 2; /* Metni alta al */
    }
    .materyal-gorsel-wrapper {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .materyal-gorsel {
        max-height: 200px;
    }
}/* LIGHTBOX KAPATMA DÜĞMESİ DÜZELTMESİ VE BOYUT ARTIŞI */
/* Bien galerisindeki aydınlık görsellerde X işaretinin görünür olmasını sağlar */
#bienGalleryModal .btn-close-white {
    /* Normalde Bootstrap'te btn-close-white kullanılır, biz bunu override ediyoruz */
    background-color: transparent !important;
    color: var(--main-color) !important; /* Lacivert yapıldı */
    opacity: 1; 
    filter: invert(0.5); /* Koyu renkli bir filtre uygulayarak her zeminde görünür olmasını sağlar */
    font-size: 2.0rem; /* BOYUT ARTIRILDI */
}

/* Mobil cihazlarda ve genel kullanımda önizleme ikonlarının da rengini netleştirelim */
#bienCarousel .carousel-control-prev-icon,
#bienCarousel .carousel-control-next-icon {
    filter: invert(0.5) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* Modal kapatıldıktan sonra mavi/gri ekranın kalmasını engeller (KESİN ÇÖZÜM) */
.modal-backdrop {
    opacity: 0 !important;
    display: none !important;
}/* PARTNER LOGO GRID STİLLERİ */
.partner-logos-grid {
    background-color: #fcfcfc;
}
.logo-grid-link {
    display: block;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s ease, opacity 0.3s ease;
    background-color: #fff;
    height: 100%;
}
.logo-grid-link:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 1;
}
.logo-grid-img {
    max-height: 50px; /* Logoların maksimum yüksekliği */
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.logo-grid-link:hover .logo-grid-img {
    opacity: 1;
}
.partner-logos-grid .text-main-color {
    color: var(--main-color) !important;
}

/* LIGHTBOX KAPATMA DÜĞMESİ KESİN DÜZELTMESİ */
#bienGalleryModal .btn-close-white {
    background-color: transparent !important;
    color: var(--main-color) !important;
    opacity: 1; 
    filter: invert(0.5); /* Koyu filtre */
    font-size: 2.0rem; /* Boyut artırıldı */
}/* GALERİ / BLOG SAYFASI STİLLERİ (Instagram Akışı) */
.insta-feed {
    padding-top: 20px;
    padding-bottom: 60px;
}
.feed-title {
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    display: inline-block;
}
.feed-title.text-primary {
    color: var(--main-color) !important;
}

/* Her bir postun kapsayıcısı ve linki */
.insta-post-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}
.insta-post-link:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Post Görseli (Kareye yakın ve Zoom efekti) */
.insta-post-img {
    width: 100%;
    /* Kare Görünümünü sağlamak için yükseklik ve object-fit */
    height: 350px; 
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover'da Zoom Efekti */
.insta-post-link:hover .insta-post-img {
    transform: scale(1.05);
}

/* Mobil Uyumlu Görsel Boyutu */
@media (max-width: 767.98px) {
    .insta-post-img {
        height: 250px; /* Mobil ekranlarda daha az yer kaplasın */
    }
}/* GALERİ / BLOG SAYFASI STİLLERİ (Instagram Akışı) */
.insta-feed {
    padding-top: 20px;
    padding-bottom: 60px;
}
.feed-title {
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    display: inline-block;
}
.feed-title.text-primary {
    color: var(--main-color) !important;
}

/* Her bir postun kapsayıcısı ve linki */
.insta-post-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}
.insta-post-link:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Post Görseli (500x625 piksel boyutuna göre uyarlandı) */
.insta-post-img {
    width: 100%;
    /* YENİ YÜKSEKLİK: Genişliğe göre 5:4 oranını korur (625/500 = 1.25) */
    /* Bootstrap'in col-4 yapısı içinde genişlik %100 olur, bu yüzden yükseklik piksel değeriyle ayarlanmaz, oranla ayarlanır. */
    height: 38vw; /* Genişliğin %38'i (yaklaşık 500x625 oranını korur) */
    max-height: 625px; /* Aşırı büyük ekranlarda 625px'i geçmez */
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover'da Zoom Efekti */
.insta-post-link:hover .insta-post-img {
    transform: scale(1.05);
}

/* Mobil Uyumlu Görsel Boyutu */
@media (max-width: 767.98px) {
    .insta-post-img {
        /* Mobil ekranlarda daha az yer kaplasın ve dikey kalsın */
        height: 50vw; /* Mobil col-4'te genişliğin %50'si (Yatay ekranlarda bile dikey kalır) */
    }
}/* HABER LİSTELEME SAYFASI STİLLERİ */
.news-list {
    padding-top: 20px;
    padding-bottom: 60px;
}
.news-list .news-item {
    border-bottom: 1px solid #eee; /* Her haber arasına ayırıcı çizgi */
    padding-bottom: 40px;
}
.news-list .news-item:last-child {
    border-bottom: none;
}
.news-list .news-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 15px;
    line-height: 1.4;
}
.news-list .news-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}
.news-list .news-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}
.news-list .news-date i {
    color: var(--main-color);
}
.news-list .news-img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 300px; /* Görsel yüksekliğini sabitle */
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}
.news-list .news-img:hover {
    transform: scale(1.01);
}

/* Mobil Görünüm Düzeltmeleri */
@media (max-width: 767.98px) {
    .news-list .news-item {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    .news-list .news-title {
        font-size: 1.4rem;
        margin-top: 15px; /* Mobilde görselin altına boşluk */
    }
    .news-list .news-img {
        height: 200px; /* Mobil için görseli kısalt */
    }
}/* YENİ EKLENEN KOD: İKİ ADRESLİ BÖLÜM STİLLERİ */
.address-component {
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: #fff;
}
.address-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
    background-color: #fcfcfc;
    height: 100%;
}
.address-box:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.address-box h3 {
    font-size: 1.5rem;
    color: var(--main-color);
    margin-bottom: 20px;
}
.address-box p {
    font-size: 1rem;
    margin-bottom: 10px;
}
.address-box p i {
    color: var(--secondary-color);
}
.address-box .btn-outline-primary {
    border-color: var(--main-color);
    color: var(--main-color);
}
.address-box .btn-outline-primary:hover {
    background-color: var(--main-color);
    color: #fff;
}
.address-component .text-primary {
    color: var(--main-color) !important;
}

/* Harita için başlık düzenlemesi */
.map-section h2 {
    font-size: 2rem;
    padding-top: 40px;
    margin-bottom: 20px;
}

/* Form bölümünün arka planı */
.contact-section.bg-light {
    background-color: #f8f9fa !important;
}
/* YENİ EKLENEN KOD: ADRES ve GENEL İLETİŞİM BÖLÜMÜ STİLLERİ */
.contact-details-section {
    padding: 60px 0; /* Daha fazla dikey boşluk */
    background-color: #fcfcfc; /* Hafif arka plan rengi */
}
.address-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
    background-color: #fff; /* Adres kutularının beyaz kalması için */
    height: 100%;
}
.address-box:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.address-box h3 {
    font-size: 1.5rem;
    color: var(--main-color);
    margin-bottom: 20px;
}
.address-box p {
    font-size: 1rem;
    margin-bottom: 10px;
}
.address-box p i {
    color: var(--secondary-color);
}
.address-box .btn-outline-primary {
    border-color: var(--main-color);
    color: var(--main-color);
}
.address-box .btn-outline-primary:hover {
    background-color: var(--main-color);
    color: #fff;
}
.contact-details-section .text-primary {
    color: var(--main-color) !important;
}

/* Genel İletişim Bilgileri */
.contact-details-section .lead {
    font-size: 1.25rem;
    color: #333;
}
/* Sosyal Medya Butonları */
.contact-details-section .btn-social {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.contact-details-section .btn-social:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}/* MOBİL MENÜ İKON GÖRÜNÜRLÜK DÜZELTMESİ */
.navbar-toggler-icon {
    /* Bootstrap varsayılan rengini beyaz SVG ile değiştirir */
    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, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Navbar butonu kenarlığını da beyaz yapalım ki, ikonun çevresi de görünür olsun */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}