/* ==========================================================================
   URUN DETAY SAYFASI CSS
   ========================================================================== */

body {
  background-color: #000;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

/* ==========================================================================
   1. HERO SECTION (Ürünler sayfası ile aynı mantık)
   ========================================================================== */
.urunler-hero {
  position: relative;
  width: 100%;
  background-color: #000;
  padding-top: 150px;
}

/* Sağdan sola doğru kesilme (solda aşağıda, sağda yukarıda) */
.urunler-hero .hero-img-wrapper {
  position: relative;
  width: 100%;
  height: 1000px;
  /* Daha uzun yapıyoruz */
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  /* Figma'daki gibi hafif eğimli */
}

.urunler-hero .urunler-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 57%;
  /* Şişelerin alt kısmının görünmesi için pozisyonu ayarlıyoruz */
  display: block;
}

.urunler-hero .hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  /* Sadece alt kısmı kapsayacak şekilde ayarladık */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    #000000 100%
  );
  pointer-events: none;
}

/* Başlık konumu iletişim sayfası ile aynı */
.urunler-hero-title {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #ffffff;
  font-family: "Joyride 2.0", sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 97px;
  text-align: center;
  margin: 0;
  width: 100%;
  white-space: nowrap;
  letter-spacing: 0;
}

.hero-crown {
  position: absolute;
  bottom: 25px;
  /* Tacı biraz yukarı çektik */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

@media only screen and (max-width: 1440px)
{
    .urun-detay-info-section .text-content {
        padding-top: 50px;
        padding-left: 15px!important;
        padding-right: 0;
    }

    .urun-el-img {
        width: 650px!important;
        object-fit: contain;
    }
}

/* İletişim sayfası ile aynı: tüm çözünürlüklerde başlık görselin içine girmesin */
@media (max-width: 1200px) {
  .urunler-hero-title {
    font-size: 60px;
    top: -28px;
    transform: translateX(-50%);
  }
}

@media (max-width: 992px) {
  .urunler-hero-title {
    font-size: 50px;
    top: -32px;
    transform: translateX(-50%);
  }
}

@media only screen and (max-width: 991px)
{
    .urun-el-img
    {
        display: none!important;
    }
}

@media (max-width: 768px) {
  .urunler-hero {
    padding-top: 280px;
  }

  .urunler-hero-title {
    font-size: 40px;
    top: -48px;
    transform: translateX(-50%);
  }

  .urunler-hero .hero-img-wrapper {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 576px) {
  .urunler-hero {
    padding-top: 260px;
  }

    .urunler-hero-title {
        font-size: 32px;
        top: -40px;
        transform: translateX(-50%);
        word-break: break-word;
        width: 100%;
        display: block;
        word-break: break-word;
        display: flex;
        column-gap: 24px;
        flex-direction: column;
        line-height: 40px;
    }

    .urun-detay-info-section .boyutlar-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 !important;
        column-gap: 24px !important;
        row-gap: 24px !important;
    }

  .urunler-hero .hero-img-wrapper {
    height: 550px;
  }
}

/* ==========================================================================
   2. ÜRÜN DETAY INFO SECTION
   ========================================================================== */
.urun-detay-info-section {
  background-color: #000;
  position: relative;
  height: auto;
  padding-top: 100px;
  padding-bottom: 350px;
  /* Görselin taşmaması ve alt bölüme binmemesi için */
}

.custom-container {
  max-width: 1400px;
  margin: 0 auto;
}

.urun-detay-info-section .text-content {
  padding-top: 50px;
  padding-left: 300px;
  /* Soldan biraz daha boşluk bırakalım */
  padding-right: 0;
}

.urun-detay-info-section .info-title {
  font-family: "Joyride 2.0", sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 25px !important;
}

.urun-detay-info-section .text-yellow {
  color: #ffce00 !important;
 
}

.urun-detay-info-section .info-desc {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  color: #dddddd;
  max-width: 550px;
}

.urun-detay-info-section .info-subtitle {
  font-family: "Joyride 2.0", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  margin-top: 50px;
}

.urun-detay-info-section .boyut-item {
  font-family: "Joyride 2.0", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #ffce00;
}

.urun-el-img {
  position: absolute;
  top: -510px;
  /* Textin yanında hizalanması için */
  right: 0;
  /* Sayfanın tam sağında 0 boşluk */
  width: auto;
  height: 1300px;
  /* Boyutunu oldukça büyüttük */
  z-index: 5;
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
  .urun-el-img {
    margin-right: 0;
    transform: none;
  }
}

@media (max-width: 991px) {
  .urun-detay-info-section .text-content {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .urun-detay-info-section .info-desc {
    max-width: 100%;
    margin: 0 auto;
  }

  .urun-detay-info-section .boyutlar-list {
    justify-content: center;
  }

  .urun-el-img {
    position: relative;
    top: -80px;
    margin-top: 20px;
    height: auto;
    width: 100%;
    /* Boyutunu biraz daha artırdık */
    margin-left: auto;
    margin-right: -15px;
    /* Sağ tarafa yapışık durması için */
    display: block;
    transform: none;
  }

  .urun-detay-info-section {
    padding-bottom: 50px;
  }

  .urun-detay-info-section .info-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .urun-detay-info-section .info-title {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .urun-detay-info-section .info-title {
    font-size: 26px;
  }

  .urun-detay-info-section .info-desc {
    font-size: 16px;
  }

  .urun-detay-info-section .info-subtitle {
    font-size: 20px;
  }

  .urun-detay-info-section .boyut-item {
    font-size: 16px;
  }
}

/* ==========================================================================
   3. ÜRÜN BESİN DEĞERLERİ SECTION
   ========================================================================== */
.urun-nutrition-section {
  background-color: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nutrition-card {
  background-color: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
  height: 100%;
  /* Kartların eşit boyutta olması için */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.nutrition-card:hover {
  transform: translateY(-5px);
  background-color: #222;
}

.nutrition-icon {
  font-size: 32px;
  color: #555;
  margin-bottom: 20px;
}

.nutrition-icon svg {
  max-width: 100%;
  height: auto;
  max-height: 48px;
  display: block;
  margin: 0 auto;
}

.nutrition-value {
  font-family: "Joyride 2.0", sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #ffce00;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.nutrition-value .unit {
  font-size: 14px;
  color: inherit;
}

.nutrition-label {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #555;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Section 3 Responsive */
@media (max-width: 768px) {
  .nutrition-card {
    padding: 30px 10px;
    min-height: 220px;
    height: 100%;
  }

  .nutrition-value {
    font-size: 28px;
  }

  .nutrition-value .unit {
    font-size: 14px;
    display: block;
    margin-top: 5px;
  }

  .nutrition-label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nutrition-card {
    min-height: 180px;
    padding: 20px 10px;
  }

  .nutrition-value {
    font-size: 24px;
  }
}

/* ==========================================================================
   4. ÜRÜN NAVİGASYON SECTION
   ========================================================================== */
.urun-nav-section {
  background-color: #000;
}

.nav-buttons-wrapper {
  padding: 40px 0;
}

.nav-btn {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.nav-btn .arrow-box {
  width: 60px;
  height: 60px;
  background-color: #1a1a1a;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.nav-btn .product-name {
  background-color: #ffce00;
  color: #000;
  height: 60px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Joyride 2.0", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-btn:hover .arrow-box {
  background-color: #222;
  color: #fff;
}

.nav-btn:hover .product-name {
  background-color: #e6b800;
}

/* Responsive Düzenlemeler */
@media (max-width: 991px) {
  .nutrition-value {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .nutrition-card {
    padding: 30px 15px;
    min-height: 200px;
  }

  .nutrition-value {
    font-size: 24px;
  }

  .nav-btn .product-name {
    padding: 0 20px;
    font-size: 14px;
  }

  .nav-btn .arrow-box {
    width: 50px;
    height: 50px;
  }

  .nav-btn .product-name {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .nutrition-card {
    min-height: 180px;
  }

  .nutrition-value {
    font-size: 20px;
  }

  .nav-btn .product-name {
    display: none;
    /* Mobilde yazıyı gizleyip sadece okları bırakabiliriz veya küçültebiliriz */
  }

  /* Mobilde isimleri gizlemek yerine okları kutu içinde tutalım */
  .prev-btn .product-name,
  .next-btn .product-name {
    display: flex;
    padding: 0 15px;
    font-size: 12px;
  }
}

.sm-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1550px;
  height: 100%;
}

.sm-center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-color: transparent;
  width: 251px;
  height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.sm-text {
  font-family: "Joyride 2.0", sans-serif;
  font-weight: 400;
  font-size: 38px;
  color: #ffffff;
  line-height: 1;
  text-align: center;
}

.sm-icon {
  margin: 15px 0;
}

.sm-img {
  position: absolute;
  width: clamp(240px, 18vw, 320px);
  /* Ekran genişliğine göre akışkan boyut */
  height: 350px;
  object-fit: contain;

  transition: transform 0.3s ease;
  z-index: 5;
  border-radius: 4px;
}

.sm-img:hover {
  transform: scale(1.05) !important;
  z-index: 15;
}

/* Position and Rotation Details: Sol üst 1, Sağ üst 2, Sol alt 3, Sağ alt 4 */
.sm-img-1 {
  top: 100px;
  left: 200px;
  transform: rotate(-12deg);
}

.sm-img-2 {
  top: 100px;
  right: 200px;
  transform: rotate(10deg);
}

.sm-img-3 {
  bottom: 100px;
  left: 250px;
  transform: rotate(5deg);
}

.sm-img-4 {
  bottom: 100px;
  right: 250px;
  transform: rotate(-12deg);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .sm-img {
    width: 260px;
  }

  .sm-img-1 {
    left: 5%;
  }

  .sm-img-2 {
    right: 5%;
  }

  .sm-img-3 {
    left: 5%;
  }

  .sm-img-4 {
    right: 5%;
  }
}

@media (max-width: 991px) {
  .sosyal-medya-section {
    height: auto;
    padding: 80px 0;
  }

  .sm-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .sm-center-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 40px 0;
    order: 1;
  }

  .sm-img {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 60%;
    margin-bottom: 30px;
  }

  .sm-img-1 {
    order: 2;
  }

  .sm-img-2 {
    order: 3;
  }

  .sm-img-3 {
    order: 4;
  }

  .sm-img-4 {
    order: 5;
  }
}

@media (max-width: 576px) {
  .sm-img {
    width: 90%;
  }
}
