@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Red Hat Display", sans-serif;
    font-weight: <weight>;
    font-style: normal;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
    background: linear-gradient(
                rgba(0,0,0,.7),
                rgba(0,0,0,.7)
                ),
                url('../resimler/arkaplan3.jpg') center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position:bottom;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Üst Menü Tasarımı */
.site-header {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  z-index: 1000;
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 90px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: all  0.3s ease;
}

.main-nav ul li a::after { /* burası o altta çıkan çizgi geri dönerken - mouse u oradan çekince */
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #B9B9B9;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.main-nav ul li a:hover { /* burası mouse üzerinde geldiğinde yazının değişen rengi */
  color: #D0D0D0; 
}

.main-nav ul li a:hover::after { /* burası o altta çıkan çizgi çıkarken - mouse u oraya getirince  */
  width: 100%;
  background-color: #B9B9B9;
}

.nav-icons a {
  color: #000;
  margin-left: 20px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-icons a:hover {
  color: #e67e22;
}



header {
    background-color: white;
    padding: 20px 0;
    position: relative;
}

.container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.hero {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    color: antiquewhite;
}

.hero-content p {
    font-size: 20px;
    color: white;
    margin-top: 10px;
}

.shop-now {
    background-color: #e67e22;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    margin-top: 20px;
    border-radius: 5px;
}

.featured-products {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(34, 34, 34, 0.8);
  border-radius: 20px;
  margin: 50px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.featured-products h3 {
  font-size: 40px;
  margin-bottom: 30px;
  color: #e67e22;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.featured-products {
    padding: 50px 20px;
    text-align: center;
}

.featured-products h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: white;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.product-item {
    background-color: rgba(255, 255, 255, 0.4);;
    padding: 20px;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
  .product-item {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .product-item {
    width: 100%;
  }
}

.product-item:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.product-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.product-item p {
    margin-top: 10px;
    font-size: 18px;
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.product-item span {
    font-size: 16px;
    color: #E0E0E0; /* yeni şık renk */
    font-weight: 600;
    margin-top: 10px;
    display: block;
}

.product-item button {
    background-color: #E0E0E0;
    color: black;
    border: none;
    padding: 10px 20px;
    width: 100%;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
}

.product-item button:hover {
    background-color: #C0C0C0;
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
  .product-item {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .product-item {
    width: 100%;
  }
}


.modern-footer {
  margin-top: auto;
  background-color: #111;
  padding: 70px 20px 125px 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer-inner {
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 10px;
}

.footer-inner p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

.footer-links a {
  color: #aaa;
  margin: 0 12px;
  font-size: 22px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #e67e22;
  transform: scale(1.2);
}

.sticky-bar {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #212121;
  color: white;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 25px;
  font-size: 14px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
}

.sticky-bar a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.sticky-bar a:hover {
  color: #006666;
}

/*hamburger kısmı*/

.hamburger.shrink {
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

    @media (max-width: 768px) {
      .main-nav ul {
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 100%;
        padding-top: 10px;
        padding-left: 15px;
        right: 0;
        width: 150px;
        height: 90px;
        display: none;
        border-radius: 5px;
      }

      .main-nav.active ul {
        display: flex;
      }

      .hamburger {
        display: block;
        color: white;
      }
    }

    .site-header.scrolled {
      background-color: rgba(0, 0, 0, 0.5);
      transition: background-color 0.5s ease;
    }

    .site-header.scrolled-up {
      background-color: rgba(0, 0, 0, 0.2);
      transition: background-color 0.5s ease;
    }




/* animasyon */


#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 1s ease, visibility 1s ease;
}

.loader-logo img {
  width: 200px;
  opacity: 0;
  transform: scale(0.5);
  animation: fadeGrow 1.2s ease forwards;
}

@keyframes fadeGrow {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

body.loading {
  overflow: hidden;
  height: 100vh;
  pointer-events: none;
}
