/* Google Fonts - Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
/* Tüm Site İçin Ortak Yazı Tipi */
body, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea {
    font-family: 'Roboto', sans-serif; /* Ana yazı tipi */
}

/* Açılış Sayfası */
#splash-screen h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem; /* Başlık boyutu */
    font-weight: 700; /* Kalın yazı */
    color: var(--mainPink); /* Sitenin ana renk tonu */
}

/* Navbar */
.navbar .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem; /* Yazı boyutu */
    font-weight: 400; /* Normal yazı kalınlığı */
    color: var(--mainPink); /* Link rengi */
    transition: color 0.3s ease; /* Hover geçiş efekti */
}
/* Navbar Instagram Simgesi */
.navbar .fa-instagram {
  color: #E1306C; /* Instagram'ın ana rengi */
  transition: color 0.3s ease;
  margin-left: 10px;
}

.navbar .fa-instagram:hover {
  color: #C13584; /* Hover efekti için daha koyu bir ton */
}

.navbar .nav-link:hover {
    color: var(--mainBlack); /* Hover renk değişimi */
}

/* Footer */
.footer-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem; /* Yazı boyutu */
    font-weight: 300; /* Hafif yazı */
    text-align: center;
    color: var(--mainBlack);
}

/* Karanlık Tema İçin Font */
.dark-theme {
    font-family: 'Roboto', sans-serif;
}

/* Referanslar Bölümü */
#referanslar {
  background: var(--mainGrey);
  padding: 2rem 0;
  overflow: hidden;
}

#referanslar h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--mainBlack);
  margin-bottom: 1.5rem;
}

/* Slider */
.referans-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.referans-wrapper {
  display: flex;
  width: fit-content;
  animation: slideInfinite 30s linear infinite;
}

.referans-wrapper img {
  max-width: 300px; /* Logo boyutunu büyüttüm (Önceden 150px idi) */
  height: auto;
  margin: 0 1.5rem; /* Sağ ve sol boşlukları artırdım */
  transition: transform 0.3s ease;
}

.referans-wrapper img:hover {
  transform: scale(1.15); /* Hover büyüme oranını biraz artırdım */
}

/* Sonsuz Döngü Animasyonu */
@keyframes slideInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Animasyon */
@keyframes slideLeft {
  from {
      transform: translateX(100%);
  }
  to {
      transform: translateX(-100%);
  }
}


:root {
  --mainPink: #3498db; /* Açık mavi */
  --mainYellow: rgb(173, 216, 230); /* Açık mavi tonu */
  --mainWhite: #fff;
  --mainBlack: #000;
  --yellowTrans: rgba(173, 216, 230, 0.5); /* Açık mavi şeffaf */
  --mainGrey: rgb(238, 238, 238);
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--mainWhite);
  color: var(--mainBlack);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--mainWhite);
  border-bottom: 1px solid var(--mainGrey);
}

.nav-links {
  display: flex;
  gap: 1rem;
}
/* Varsayılan Açık Tema */
body {
  background-color: #ffffff;
  color: #000000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
  background-color: #ffffff;
  color: #000000;
}

.navbar .nav-link {
  color: #3498db;
}
/* Açılış Sayfası */
#splash-screen {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #f8f9fa; /* Açılış ekranı arka plan rengi */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Açılış sayfası başlığı */
#splash-screen h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2980b9;
}

/* Açılış ekranını gizlemek için */
.hidden {
  display: none;
}
/* Footer Genel Stil */
.footer {
  background-color: #f8f9fa;
  color: #6c757d;
  width: 100%;
  position: relative;
  bottom: 0;
}

/* Karanlık Tema için Footer */
.dark-theme .footer {
  background-color: #1f1f1f;
  color: #a8a8a8;
}

/* Footer içeriğini ortala */
.footer-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Karanlık Tema */
.dark-theme {
  background-color: #121212;
  color: #ffffff;
}

.dark-theme .navbar {
  background-color: #1f1f1f;
  color: #ffffff;
}

.dark-theme .navbar .nav-link {
  color: #80d8ff;
}

.nav-links a {
  color: var(--mainPink);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--mainBlack);
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mainBlack);
  font-size: 1.2rem;
}

.cart-info__icon {
  font-size: 1.5rem;
  color: var(--mainPink);
}

/* Diğer stiller aynı kalacak */
/* nav links */
.navbar-toggler {
  outline: none !important;
}
.toggler-icon {
  font-size: 2.5rem;
  color: var(--mainPink);
}
.nav-link {
  color: var(--mainPink);
  font-size: 1.5rem;
  transition: all 0.5s ease-in-out;
}
.nav-link:hover {
  color: var(--mainBlack);
}
/* Navbar mobil uyumluluğu */
.navbar-toggler {
  outline: none;
  border: none;
}

.navbar-collapse {
  text-align: center;
}

.navbar-nav .nav-link {
  font-size: 1.5rem;
  color: var(--mainPink);
  margin: 0.5rem 0;
}

.navbar-nav .nav-link:hover {
  color: var(--mainBlack);
}

/* end of nav links */
/* info icons */
.cart-info__icon {
  color: var(--mainBlack);
  cursor: pointer;
}

.cart-info {
  border: 0.1rem solid var(--mainBlack);
  color: var(--mainBlack);
  border-radius: 0.25rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}
.cart-info:hover {
  background: var(--mainPink);
  border-color: var(--mainPink);
  color: var(--mainWhite);
}
.cart-info:hover .cart-info__icon {
  color: var(--mainWhite);
}
/* end of info icons */
/* banner */

.max-height {
  min-height: calc(100vh - 76px);
  background: url("../img/acilis.png") center/cover fixed no-repeat;
  position: relative;
}

/* 📱 Mobil uyumluluk için düzeltme */
@media screen and (max-width: 768px) {
  .max-height {
    background: url("../img/acilis.png") center/contain no-repeat;
    background-attachment: scroll;
  }
}


.banner {
  color: var(--mainWhite);
  margin-top: -35rem; /* Başlığı daha fazla yukarı taşımak için artırıldı */
  position: relative;
  z-index: 1;
}

.banner-title {
  color: var(--mainPink);
  font-size: 4rem;
  margin-top: -2rem; /* Başlığı biraz daha yukarı taşımak için */
}

.banner-link {
  font-size: 1.5rem;
  color: var(--mainBlack);
  border: 0.2rem solid var(--mainBlack);
}
.banner-link:hover {
  background: var(--mainBlack);
  color: var(--mainPink);
}
/* endo of banner */
/* cart  */
.cart {
  position: absolute;
  min-height: 10rem;
  background: var(--mainWhite);
  top: 0;
  right: 0;
  transition: all 0.3s ease-in-out;
  background: rgba(255, 255, 255, 0.5);
  width: 0;
  overflow: hidden;
}
.show-cart {
  width: 18rem;
  padding: 2rem 1.5rem;
  transform: rotateY(-360deg);
}
.cart-item {
  transition: all 2s ease-in-out;
}

/* end of cart */
/* cart item */
.cart-item-remove {
  color: var(--mainPink);
  transition: all 1s ease-in-out;
}
.cart-item-remove:hover {
  transform: scale(1.1);
  color: var(--mainBlack);
}
#cart-item-price {
  font-size: 0.8rem;
}
/* cart item */
/* cart buttons */
.btn-pink {
  color: var(--mainPink) !important;
  border-color: var(--mainPink) !important;
}
.btn-black {
  color: var(--mainBlack) !important;
  border-color: var(--mainBlack) !important;
}
.btn-black:hover {
  color: var(--mainPink) !important;
  background: var(--mainBlack) !important;
}
.btn-pink:hover {
  background: var(--mainPink) !important;
  color: var(--mainBlack) !important;
}
/* end of cart buttons */

/* about */
.about-img__container {
  position: relative;
}

.about-img__container::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: -1.7rem;
  width: 100%;
  height: 100%;
  outline: 0.5rem solid var(--mainYellow);
  z-index: -1;
  transition: all 1s ease-in-out;
}
.about-img__container:hover:before {
  top: 0;
  left: 0;
}

/*end of  about */

/* store items */
.store {
  background: var(--mainGrey);
}
.img-container {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.store-img {
  transition: all 1s ease-in-out;
}
.img-container:hover .store-img {
  transform: scale(1.2);
}
.store-item-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.75rem;
  background: var(--mainYellow);
  border-top-left-radius: 1rem;
  transition: all 1s ease-in-out;
  transform: translate(100%, 100%);
}
.img-container:hover .store-item-icon {
  transform: translate(0, 0);
}
.store-item-icon:hover {
  color: var(--mainWhite);
}
.store-item-value {
  color: --mainYellow;
}
/*end of  store items */
.search-box {
  background: var(--mainPink);
  color: var(--mainBlack);
}

/* ligthbox */

.lightbox-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6) !important;
  display: none;
}
.show {
  display: block;
}

.lightbox-holder {
  position: relative;
}
.lightbox-item {
  min-height: 80vh;
  background: url("../img/cake-1.jpeg") center/cover fixed no-repeat;
  border-radius: 0.3rem;
}
.lightbox-close {
  color: var(--mainPink);
  font-size: 3rem;
  transition: all 1s ease-in-out;
  cursor: pointer;
}
.lightbox-close:hover {
  color: var(--mainYellow);
}

.lightbox-control {
  position: absolute;
  font-size: 4rem;
  color: var(--mainPink);
  transition: all 1s linear;
  cursor: pointer;
}
.lightbox-control:hover {
  color: var(--mainYellow);
}
.btnLeft {
  top: 50%;
  left: 0;
  transform: translateX(-60%);
}
.btnRight {
  top: 50%;
  right: 0;
  transform: translateX(60%);
}