html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f2f2f2;
}

/* Navbar Temel Ayarları */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 15px;
  background-color: #013133;
  z-index: 1030;
  display: flex;
  align-items: center;
}

.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

/* Marka yazısı */
.navbar-brand {
  color: #fff;
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
}

/* Menü linkleri */
.navbar-nav {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: white !important;
}

/* Hamburger Menü Butonu */
.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
  display: none; /* Sadece küçük ekranlarda görünecek */
}
.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
  display: none;
  
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Hamburger ikon */
.navbar-toggler-icon {
  width: 30px;
  height: 25px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Responsive ayarlar */
@media (max-width: 992px) {
  .navbar {
    height: 56px; /* mobilde biraz daha kısa */
    padding: 0 15px;
  }

  .navbar .container-fluid {
    justify-content: space-between; /* marka sola, toggle sağa */
    padding: 0;
  }

  /* Toggle ve marka sıralaması */
  .navbar-brand {
    order: 1;
    font-size: 1.1rem; /* mobilde biraz daha küçük */
  }

  .navbar-toggler {
    order: 2;
    display: block; /* hamburger görünsün */
  }

  /* Menü açılır panel */
  .navbar-collapse {
    position: fixed;
    top: 56px; /* navbar altına yerleştir */
    left: 0;
    right: 0;
    background-color: #013133;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 1029;
  }

  .navbar-collapse.show {
    max-height: 300px; /* açılınca görünür */
  }

  .navbar-nav {
    flex-direction: column;
    padding: 10px 0;
    gap: 10px;
  }

  .nav-link {
    padding: 10px 20px;
    font-size: 1.1rem;
  }
}




.sliderr h5 {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
}

.sliderr p {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.5rem;
}

.carousel-inner {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

/* Resim genişlik ve yükseklik yerine max ile kontrol */
.carousel-item img {
  width: 100%;
  max-height: 600px;
  height: auto;
  object-fit: cover;
}

/* Özel boyut için örnek */
.custom-size {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
}
/* Responsive font küçültme ve slider düzeni */
@media (max-width: 992px) {
  /* Slider üst boşluk - navbar yüksekliği kadar */
  .sliderr {
    padding-top: 56px;
  }

  .carousel-caption {
    left: 15px !important;      /* soldan boşluk */
    right: auto !important;     /* sağ boş */
    text-align: left !important;
    padding: 0 !important;      /* padding kaldır */
    bottom: 20px !important;    /* biraz yukarı */
    max-width: 75% !important;  /* genişlik sınırla */
  }

  .carousel-caption .text-box {
    max-width: 100%;            /* text-box tam genişlik */
    padding-left: 5px;          /* hafif iç boşluk */
  }

  .sliderr h5 {
    font-size: 2.2rem;
  }

  .sliderr p {
    font-size: 1.8rem;
  }

  .carousel-inner {
    max-height: 400px;
  }

  .carousel-item img {
    max-height: 400px;
  }
}

@media (max-width: 576px) {
  #anasayfa {
    padding-top: 56px;
  }

  .carousel-caption {
    left: 10px !important;
    right: auto !important;
    bottom: 15px !important;
    max-width: 85% !important;
  }

  .sliderr h5 {
    font-size: 1.5rem;
  }

  .sliderr p {
    font-size: 1.2rem;
  }

  .carousel-inner {
    max-height: 250px;
  }

  .carousel-item img {
    max-height: 250px;
  }
}


  
  .hakkimizda h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2.5rem; /* Büyük ekran için */
  margin-bottom: 1rem;
}

.hakkimizda p {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Küçük ve orta ekranlar için */
@media (max-width: 992px) {
  .hakkimizda h2 {
    font-size: 2rem;
  }
  .hakkimizda p {
    font-size: 1.1rem;
  }
}

/* Mobil (küçük ekran) için */
@media (max-width: 576px) {
  .hakkimizda h2 {
    font-size: 1.5rem;
  }
  .hakkimizda p {
    font-size: 1rem;
    padding: 0 10px; /* Kenarlardan biraz boşluk */
  }
}

  
  .urun img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
  }
  
  .urun-quotes {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
  }
  
  .urun:hover .urun-quotes {
    opacity: 1;
  }
  
  
  .soz{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    color: white;
  }
  
  
  .soz2{
    font-family: 'Pacifico', cursive;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,0.4),0px 0px 10px rgba(0,0,0,0.6);
    text-decoration: underline;
    
  }
  
  .soz::before, .soz::after {
    content: '"';
    color: white;
  }
  
  .tema{
    background-color: #013133;  
  }
  
  .fonttema{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
  }
  
  .text-box {
    padding: 20px; 
    padding-left: 200px;
    width: 50%;
  }
  
  .carousel-caption {
    position: absolute;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%); 
    text-align: left; 
  }
  


/* tanitim */

.about{
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.about .wrapper{
  width: 100%;
  max-width: 1366px;
  display: flex;
  padding: 10px;
  margin: 30px 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  flex-wrap: wrap;
}

.about .wrapper:nth-child(2n){
  flex-direction: row-reverse;
}

.about .text{
  flex: 5;
  padding: 5px;
}

.about .picture{
  flex: 1;
  padding: 5px;
}

.about .text h1{
  font-family:'Josefin Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-left: 10px;
  color: #0c233a;
}

.about .text p{
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.2rem;
  padding: 10px;
  line-height: 25px;
  color: #102e4c;
}

.about .text p::first-letter{
  margin-left: 20px;
  font-size: 1.3rem;
}

.about .picture img{
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s;
  height: 300px;
  object-fit: cover;
}

/* Tablet ve altı */
@media (max-width: 992px) {
  .about .text h1 {
    font-size: 1.7rem;
  }
  .about .text p {
    font-size: 1.5rem;
  }
}

/* Mobil */
@media (max-width: 768px) {
  /* İlk wrapper içindeki başlık için daha büyük font */
  .about .wrapper:first-child .text h1 {
    font-size: 1.8rem !important; /* önemli yapalım ki geçersiz kalmasın */
  }
  .about .wrapper:first-child .text p{
    font-size: 1.2rem !important;
  }
  
}

@media (max-width: 768px) {
  .about .wrapper {
    flex-direction: column !important; /* Dikey yığılma */
    align-items: center;
  }

  .about .text, .about .picture {
    flex: none; /* Flex büyümeyi iptal et */
    width: 90%; /* Genişliği %90 yap, yan boşluk bırak */
    max-width: 500px; /* Çok büyük olmaması için max genişlik */
    padding: 10px 15px;
    box-sizing: border-box;
  }

  .about .text {
    order: 2;
    text-align: left;
      padding: 0px 0px;
  }

  .about .picture {
    order: 1;
  }
  
  .about .text h1 {
    font-size: 1.5rem;
  }
  
  .about .text p {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .about .picture img {
    height: auto; /* Yüksekliği otomatik yap */
    max-width: 100%; /* Genişlik kapsayıcıya göre */
  }
}

/* Çok küçük ekranlar */
@media (max-width: 480px) {
  .about .text h1 {
    font-size: 1.3rem;
  }
  .about .text p {
    font-size: 0.9rem;
  }
}



/* sponsor */
/* .btn-custom {
    background-color: #013133;
    border: 2px solid #013133;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #014547;
    border-color: #014547;
    color: white;
} */
.sponsor-form {
    border: 1px solid #0d6efd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f8f9fa; 
} 

footer#iletisim {
  flex-shrink: 0; 
}

 .card-img-top {
    max-height: 200px;
    width: 100%;
    object-fit: contain;
  }
  
/* Mobilde resim ve kart boyutlarını küçült */
@media (max-width: 576px) {
  .col-md-6 {
    max-width: 300px; /* Maksimum genişlik ver */
    margin-left: auto;
    margin-right: auto;
  }

  .card-img-top {
    max-height: 150px; /* Daha küçük yükseklik */
  }

  .card {
    margin-left: auto;
    margin-right: auto;
  }

  .card-body {
    padding: 0.75rem 1rem;
  }

  .card-title {
    font-size: 1.2rem;
  }
}

     .logo img {
  width: 120px;
  height: 120px;
  margin-top: 1px;   /* Boşluğu net kontrol altına al */
  margin-left: 0;
  margin-right: 0;
  display: block;     /* Satır boşluklarını yok eder */
}