/* 
  Pura Bebe - Global Styles
  Consolidated CSS for all pages
*/

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


h1, h2, h3, h4, .nav-link {
  font-family: 'Quicksand', sans-serif;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ── Active Nav State (Refined) ── */
.nav-link.active-nav {
  color: #edaf2e !important;
  background-color: #fff8eb;
  padding: 0.5rem 1.25rem !important;
  border-radius: 99px;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(237, 175, 46, 0.1);
}

#mobile-menu a.active-nav {
  color: #edaf2e !important;
  background: linear-gradient(to right, #fff8eb, #fff);
  padding-left: 1.25rem !important;
  border-left: 3px solid #edaf2e;
  font-weight: 700;
}
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ── Feature Cards ── */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.feature-card:hover img {
  transform: scale(1.15) rotate(3deg);
}
.feature-card img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Contact Cards ── */
.contact-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 2rem;
  text-align: center;
  border: 1px solid #f5f0eb;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ── Product Cards ── */
.product-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f5f0eb;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.product-card .product-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img {
  transform: scale(1.06);
}
.product-card .product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
}
.product-card:hover .product-overlay {
  opacity: 1;
}

/* ── Blog Cards ── */
.blog-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}
.blog-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* ── Badges ── */
.badge-sold-out {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  position: absolute;
  top: 12px;
  left: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}
.badge-discount {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  position: absolute;
  top: 12px;
  right: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* ── Navbar ── */
nav {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
nav.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* ── UI Elements ── */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  border-radius: 99px;
  margin: 0 auto 2rem;
}

.filter-btn {
  position: relative;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
  border-radius: 99px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

@media (max-width: 640px) {
  .filter-btn {
    padding: 0.5rem 0.8rem !important;
    font-size: 12px !important;
    letter-spacing: 0.02em !important;
  }
}
.filter-btn.active {
  background: #f97316;
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.btn-shopify {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}
.btn-shopify:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}

/* ── Gallery & Product Details ── */
.thumbnail-active {
  border: 2px solid #edaf2e;
}
.pura-shadow {
  box-shadow: 0 10px 40px -10px rgba(237, 175, 46, 0.15);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.accordion-content.open {
  max-height: 800px;
}

/* ── Utilities ── */
/* Tailwind handles .hidden natively */

:target { scroll-margin-top: 80px; }
[id] { scroll-margin-top: 80px; }

/* ── Hakkımızda & Sayfa Dekorları ── */
.blob-bg {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.image-mask {
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}
.image-mask img {
  transition: transform 0.6s ease;
}
.image-mask:hover img {
  transform: scale(1.05);
}

.highlight-red {
  color: #ef4444;
  font-weight: 700;
}

/* ── Certification Cards ── */
.cert-card {
  background: #fff;
  border-radius: 2.5rem;
  border: 1px solid #f5f0eb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}
.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.cert-image-container {
  background: #fdf8ee;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.cert-image-container img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.6s ease;
}
.cert-card:hover .cert-image-container img {
  transform: scale(1.05);
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #1c1917;
  color: #fff;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-download:hover {
  background: #edaf2e;
  transform: translateY(-2px);
}

/* ── Process Journey Styles ── */
.bg-dashed-line {
  background-image: linear-gradient(to right, #edaf2e 33%, rgba(255,255,255,0) 0%);
  background-position: bottom;
  background-size: 15px 1px;
  background-repeat: repeat-x;
}

.feature-card .image-mask {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .image-mask {
  transform: translateY(-10px) scale(1.02);
}

/* ── Custom Shadows ── */
.shadow-stone-200\/50 {
  box-shadow: 0 10px 30px -10px rgba(120, 113, 108, 0.3);
}
