/* =========================================================
   MENESA DRESS - ANA STİL DOSYASI (REVİZE EDİLMİŞ)
   ========================================================= */

/* === TEMEL === */
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #2b2b2b;
  background-color: #fff;
  width: 100%;
  overflow-x: hidden;
}

:root {
  --gold: #d6a04c;
  --text: #2b2b2b;
  --light: #fafafa;
}

/* === GENEL === */
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.container {
  width: 94%;
  margin: 0 auto;
  max-width: 1200px;
}

@media (min-width:768px) {
  .container {
    width: 90%;
  }
}

@media (min-width:1200px) {
  .container {
    width: 80%;
  }
}

/* =========================================================
   HEADER
   ========================================================= */
.menesa-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  z-index: 999;
  transition: box-shadow 0.3s ease;
}

/* --- Üst Bar --- */
.header-top {
  border-bottom: 1px solid #f3e9d8;
  background: #fff;
  padding: 10px 0;
}

/* Mobil alt çizgi temizliği */
@media (max-width: 768px) {

  .menesa-header,
  .header-top,
  .header-bottom,
  .mobile-menu-apple {
    border: none !important;
    box-shadow: none !important;
  }
}

/* --- Logo Alanı --- */
.site-logo {
  height: 46px;
  width: auto;
  margin-right: 8px;
  transition: all 0.3s ease;
}

@media(max-width:768px) {
  .site-logo {
    height: 34px;
  }
}

.site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

/* --- Arama Kutusu --- */
.search-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  border: 1px solid #e8e0cc;
  border-radius: 30px;
  overflow: hidden;
  height: 40px;
  background: #fffdf8;
  transition: all 0.3s ease;
}

.search-bar:focus-within {
  box-shadow: 0 0 0 3px rgba(214, 160, 76, 0.15);
}

.search-input {
  border: none;
  flex: 1;
  padding: 0 14px;
  font-size: 0.95rem;
  background: transparent;
  outline: none;
}

.search-btn {
  border: none;
  background: transparent;
  color: #444;
  padding: 0 14px;
  cursor: pointer;
  transition: color 0.3s;
}

.search-btn:hover {
  color: var(--gold);
}

/* --- Randevu ve Menü Linkleri --- */
.btn-gold {
  background-color: var(--gold);
  color: #fff;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background-color: #c48f3f;
  transform: translateY(-2px);
}

.small-link {
  color: #2b2b2b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.small-link:hover,
.small-link.active {
  color: var(--gold);
}


/* =========================================================
   ALT MENÜ (Ana Kategoriler)
   ========================================================= */
.header-bottom {
  background: #fffdf8;
  border-top: 1px solid #f0e6d0;
}

.main-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 10px 4px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 40%;
}


/* =========================================================
   💎 MENESA DRESS - ALT MENÜ (NİHAİ ORTALAMA VE ESTETİK REVİZYON)
   ========================================================= */

/* === ALT MENÜ (Beyaz Zemin + Gold Hover) === */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 88vw;
  max-width: 1350px;
  background: #fff; /* saf beyaz zemin */
  border: 1px solid #f3f0e6;
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.12);
  display: none;
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  padding: 25px 35px 30px;
}

/* === İçerik Alanı === */
.submenu-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  justify-content: center;
  gap: 25px;
  width: 100%;
  margin: 0 auto;
}

/* === Kart (Beyaz kutu, gold hover) === */
.submenu-card {
  background: #ffffff; /* kirli beyaz / soft ivory */
  border-radius: 10px;
  height: 180px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 8px;
  transition: all 0.3s ease;
}

.submenu-card:hover {
  border-color: #c9b075; /* gold border */
  box-shadow: 0 6px 15px rgba(201, 164, 79, 0.25);
  transform: translateY(-5px);
}

/* === Görsel === */
.submenu-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  background: #f9f9f9;
  border: 1px solid #f1f1f1;
  margin-bottom: 8px;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.submenu-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* === Yazı === */
.submenu-card a {
  text-decoration: none;
  color: #222; /* koyu gri/siyah */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}
.submenu-card:hover a {
  color: #c9a44f; /* gold hover */
}

/* === Hover görünürlüğü === */
.menu-item {
  position: static !important;
}
.menu-item:hover > .submenu,
.menu-item.show-submenu > .submenu,
.submenu:hover {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === Mobilde kapalı === */
@media (max-width: 992px) {
  .submenu {
    display: none !important;
  }
}


/* 🔸 Sayfa gövdesi aşağı kayma efekti (KALDIRILDI) */
/*
body.submenu-open main {
  margin-top: 100px;
  transition: margin-top 0.4s ease;
}

body:not(.submenu-open) main {
  margin-top: 0;
  transition: margin-top 0.4s ease;
}
*/


/* =========================================================
   💎 MENESA DRESS - MOBİL MENÜ (KLASİK BLUR VERSİYON)
   ========================================================= */
.mobile-menu-apple {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: max-height 0.4s ease;
  z-index: 999;
}

.mobile-menu-apple.open {
  max-height: 480px;
  overflow-y: auto;
}

.mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-list a,
.mobile-toggle {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 22px;
  text-align: left;
  font-size: 1.05rem;
  color: #2b2b2b;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mobile-list a:hover,
.mobile-toggle:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.5);
}

.mobile-list a.active,
.mobile-toggle.active {
  color: var(--gold);
  font-weight: 600; /* Aktif olduğunu vurgula */
  background: rgba(214, 160, 76, 0.05); /* Hafif altın arka plan */
}

/* Alt kategorideki aktif link için (daha belirgin) */
.mobile-sublist a.active {
    color: #fff !important; /* Beyaz yazı */
    background: var(--gold) !important; /* Tam altın arka plan */
}

.mobile-item .arrow {
  float: right;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.mobile-item.open .arrow {
  transform: rotate(90deg);
}

.mobile-sublist {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.6);
}

.mobile-item.open .mobile-sublist {
  display: block;
  animation: subFade 0.3s ease;
}

@keyframes subFade {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.menu-open {
  overflow: hidden;
}

/* =========================================================
   MOBİL ARAMA
   ========================================================= */
.mobile-search-container {
  background: #fffdf8;
  border-top: 1px solid #f3e9d8;
}

.mobile-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 6px;
}

.mobile-search-input {
  width: 100%;
  border: 1px solid #e7dfc8;
  border-radius: 25px;
  padding: 10px 40px 10px 16px;
  font-size: 0.95rem;
  background: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.mobile-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(214, 160, 76, 0.15);
}

.mobile-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-search-btn:hover {
  background: #c48f3f;
}

/* =========================================================
   ANA İÇERİK (Main)
   ========================================================= */
main {
  padding-top: 130px;
}

@media (max-width:768px) {
  main {
    padding-top: 110px;
  }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero-slider .carousel-item img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
  transition: transform 0.6s ease;
}

.hero-slider .carousel-item:hover img {
  transform: scale(1.01);
}

/* =========================================================
   ÜRÜN KARTLARI
   ========================================================= */
.product-card .thumb-wrap {
  position: relative;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

/* =========================================================
   4 ADIMDA KİRALA
   ========================================================= */
.steps-section {
  background-color: #fff;
}

.step-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  text-align: center;
}

.step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-color: #fff8e7;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.step-box:hover .icon-wrap {
  background-color: var(--gold);
  color: #fff;
}

.step-box h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #2b2b2b;
  margin-bottom: 8px;
}

.short-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {

  /* .submenu { display: none !important; } */
  /* Zaten yukarıda tanımlı */
  .step-box {
    min-height: 240px;
    padding: 20px 15px;
  }

  .icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .step-box {
    min-height: 220px;
    margin-bottom: 15px;
  }
}

body.menu-open {
  overflow: hidden;
}



/* =========================================================
   BREADCRUMB (DALLANMA) GENEL STİLİ — TÜM SAYFALAR İÇİN
   ========================================================= */

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: " / ";
  color: #888;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb-item.active {
  font-weight: 600;
  color: #000;
}


/* =========================================================
   RESPONSIVE (Tekrarlanan bloklar kaldırıldı)
   ========================================================= */


/* =========================================================
   ESTETİK İYİLEŞTİRME: PROFESYONEL ARAMA BAŞLIĞI (REVİZE EDİLMİŞ)
   ========================================================= */

.search-title-professional {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text, #2b2b2b);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold, #d6a04c);
  padding-bottom: 10px;
  margin-top: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.search-title-professional>.search-term-highlight-simple {
  font-weight: 500;
  font-size: 1em;
  color: var(--gold, #d6a04c);
  padding-left: 10px;
  text-transform: none;
  white-space: nowrap;
}

.search-title-professional>.search-term-highlight-simple::before {
  content: " - ";
  color: #a0a0a0;
  padding-right: 5px;
}

/* Mobil Uyumlu Başlık (Uzun kelime kırılması için çözüm) */
@media (max-width: 768px) {
  .search-title-professional {
    font-size: 1.3rem;
    padding-bottom: 8px;
    display: block;
    text-align: center;
    border-bottom: none;
    line-height: 1.3;
  }

  .search-title-professional>.search-term-highlight-simple {
    display: block;
    white-space: normal;
    font-size: 1em;
    padding-left: 0;
    margin-top: 5px;
    text-align: center;
  }

  .search-title-professional>.search-term-highlight-simple::before {
    content: "";
  }
}