
/* ═══════════════════════════════════════════════════════
   STUDIO SHALEM — Premium Landing Page Styles
   סטודיו שלם — קרמיקה בעבודת יד
   ═══════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;900&family=Frank+Ruhl+Libre:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Earthy Color Palette */
  --clay:        #8B5E3C;
  --clay-light:  #A97B5A;
  --clay-dark:   #5C3D28;
  --terracotta:  #C17B4A;
  --sand:        #F5EDE3;
  --sand-light:  #FAF7F2;
  --sand-dark:   #E8DDD0;
  --cream:       #FFF9F0;
  --linen:       #F0E8DB;
  --stone:       #9B9185;
  --charcoal:    #2C2418;
  --warm-black:  #1A140D;
  --lavender:    #8B7DB8;
  --sage:        #8FA68A;
  --gold:        #C8A45C;
  --gold-light:  #E2C97E;

  /* Typography */
  --font-display: 'Frank Ruhl Libre', 'David Libre', serif;
  --font-body:    'Heebo', 'Segoe UI', sans-serif;
  --font-accent:  'Playfair Display', serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 80px);

  /* Transitions */
  --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--sand-light);
  color: var(--charcoal);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--sand);
}
::-webkit-scrollbar-thumb {
  background: var(--clay-light);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clay);
}

/* ── Loading & Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════
   NAVIGATION BAR
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 60px);
  transition: all 0.5s var(--ease-premium);
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 30px rgba(44, 36, 24, 0.08);
  padding: 12px clamp(20px, 5vw, 60px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.4s var(--ease-premium);
}

.navbar.scrolled .nav-logo img {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  transition: color 0.5s;
}

.navbar.scrolled .nav-logo-text {
  color: var(--clay-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s, transform 0.3s;
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.4s var(--ease-premium);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-cta {
  background: var(--terracotta) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: all 0.4s var(--ease-premium) !important;
  box-shadow: 0 4px 15px rgba(193, 123, 74, 0.3);
}

.nav-cta:hover {
  background: var(--clay) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 123, 74, 0.45) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: white;
  transition: all 0.3s;
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background: var(--charcoal);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
#studio {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/studio.jpeg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  z-index: 0;
}

#studio::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 13, 0.3) 0%,
    rgba(26, 20, 13, 0.15) 40%,
    rgba(26, 20, 13, 0.5) 80%,
    rgba(26, 20, 13, 0.75) 100%
  );
  z-index: 1;
}

.studio-content {
  position: relative;
  z-index: 2;
  padding: 50px 40px;
  max-width: 700px;
  background: none;
  border-radius: 0;
}

.studio-content h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 90px);
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 12px;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.hero-location {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--terracotta);
  margin: 0 auto 32px;
  opacity: 0.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.5s var(--ease-premium);
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

/* ═══════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 70px);
}

.section-tag {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--clay-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  margin: 0 auto;
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   ABOUT / STORY SECTION
   ═══════════════════════════════════════ */
.about-section {
  padding: var(--section-padding);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,123,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(44, 36, 24, 0.15);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--terracotta);
  border-radius: 16px;
  opacity: 0.3;
  z-index: -1;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--clay-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  font-size: 17px;
  line-height: 1.9;
  color: #5a4e40;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--sand-dark);
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.about-stat-label {
  font-size: 13px;
  color: var(--stone);
  margin-top: 6px;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════
   FEATURES / PROCESS SECTION
   ═══════════════════════════════════════ */
.process-section {
  padding: var(--section-padding);
  background: var(--sand-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-card {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-premium);
  border: 1px solid rgba(139, 94, 60, 0.08);
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  opacity: 0;
  transition: opacity 0.5s;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(44, 36, 24, 0.1);
}

.process-card:hover::before {
  opacity: 1;
}

.process-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--linen));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: var(--terracotta);
}

.process-icon svg {
  stroke: var(--terracotta);
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--clay-dark);
  margin-bottom: 12px;
}

.process-card p {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   SHOWCASE / CURATED GALLERY
   ═══════════════════════════════════════ */
.showcase-section {
  padding: var(--section-padding);
  background: var(--cream);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.showcase-item:nth-child(1) {
  grid-row: span 2;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-premium), filter 0.5s;
}

.showcase-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(26, 20, 13, 0.6) 100%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-premium);
}

.showcase-item:hover img {
  transform: scale(1.08);
}

.showcase-item:hover::after {
  opacity: 1;
}

.showcase-label {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  z-index: 2;
  color: white;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-premium);
}

.showcase-item:hover .showcase-label {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   FIREBASE PRODUCTS GALLERY
   ═══════════════════════════════════════ */
.gallery-section {
  padding: var(--section-padding);
  background: var(--sand-light);
}

.logo-container {
  text-align: center;
  margin-bottom: 40px;
}

.studio-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(44, 36, 24, 0.12);
  margin: 0 auto;
  border: 3px solid white;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.product {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  cursor: pointer;
  transition: all 0.5s var(--ease-premium);
  border: 1px solid rgba(139, 94, 60, 0.06);
  box-shadow: 0 4px 20px rgba(44, 36, 24, 0.05);
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(44, 36, 24, 0.12);
}

.product img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: whitesmoke;
  transition: transform 0.8s var(--ease-premium);
}

.product:hover img {
  transform: scale(1.05);
}

.product .product-info {
  padding: 20px 24px;
}

.product .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--clay-dark);
  margin-bottom: 4px;
}

.product .description {
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 12px;
  line-height: 1.6;
}

.product .price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--terracotta);
}

.product .status {
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

.instock {
  color: var(--sage);
}

.outstock {
  color: #c0392b;
  opacity: 0.7;
}

/* Gallery Wrapper (kept for compatibility) */
.gallery-wrapper {
  position: relative;
}

.scroll-hint {
  display: none;
}

/* ═══════════════════════════════════════
   PRODUCT SLIDER (Mobile)
   ═══════════════════════════════════════ */
.slider-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(139, 94, 60, 0.15);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--clay-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(44, 36, 24, 0.1);
  transition: all 0.3s var(--ease-premium);
}

.slider-btn:hover {
  background: white;
  box-shadow: 0 6px 20px rgba(44, 36, 24, 0.15);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-prev {
  right: 12px;
}

.slider-next {
  left: 12px;
}

.slider-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand-dark);
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
}

.slider-dot.active {
  background: var(--terracotta);
  width: 24px;
  border-radius: 100px;
}

.slider-counter {
  display: none;
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--stone);
  letter-spacing: 2px;
}

/* Slider mode (activated by JS on mobile) */
#gallery.slider-mode {
  display: block;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

#gallery.slider-mode .product {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

#gallery.slider-mode .product img {
  height: 300px;
  border-radius: 16px 16px 0 0;
}

/* ═══════════════════════════════════════
   TESTIMONIAL / QUOTE SECTION
   ═══════════════════════════════════════ */
.quote-section {
  padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 80px);
  background: var(--clay-dark);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '״';
  position: absolute;
  top: 30px;
  right: 10%;
  font-size: 200px;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.quote-author {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: 2px;
}

/* ═══════════════════════════════════════
   CONTACT / CTA SECTION
   ═══════════════════════════════════════ */
.contact-section {
  padding: var(--section-padding);
  background: var(--cream);
  text-align: center;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info p {
  font-size: 17px;
  color: #5a4e40;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-whatsapp, .contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  transition: all 0.4s var(--ease-premium);
  text-decoration: none;
}

.contact-whatsapp {
  background: #25D366;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3);
}

.contact-whatsapp:hover {
  background: #1eba57;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4);
}

.contact-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 25px rgba(220, 39, 67, 0.3);
}

.contact-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(220, 39, 67, 0.4);
}

.contact-whatsapp svg, .contact-instagram svg {
  width: 24px;
  height: 24px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-detail {
  text-align: center;
}

.contact-detail-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--linen));
  margin-left: auto;
  margin-right: auto;
}

.contact-detail-label {
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--clay-dark);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  background: var(--warm-black);
  color: rgba(255, 255, 255, 0.5);
  padding: 40px clamp(20px, 5vw, 60px);
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 16px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-logo:hover {
  opacity: 1;
}

.site-footer p {
  margin-top: 8px;
}

/* ═══════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ═══════════════════════════════════════ */
#whatsappBtn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  right: auto;
  z-index: 2000;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.4s var(--ease-premium);
}

#whatsappBtn:hover {
  transform: translateY(-4px);
}

#whatsappBtn img {
  width: 60px;
  height: 60px;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(37, 211, 102, 0.4));
  transition: filter 0.3s;
}

#whatsappBtn:hover img {
  filter: drop-shadow(0 6px 20px rgba(37, 211, 102, 0.6));
}

.whatsapp-text {
  font-size: 12px;
  color: var(--charcoal);
  font-weight: 500;
  background: white;
  padding: 4px 12px;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   MODAL (Admin Product Edit)
   ═══════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 20, 13, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
  z-index: 3000;
}

.modal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal img {
  max-width: 100%;
  max-height: 40vh;
  border-radius: 16px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#close {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 28px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s, transform 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

#close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.modal input,
.modal textarea {
  width: 100%;
  font-size: 16px;
  padding: 14px 18px;
  margin: 8px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.modal input:focus,
.modal textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

.modal button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin: 8px 0;
  border: none;
  border-radius: 12px;
  background: var(--terracotta);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal button:hover {
  background: var(--clay);
}

/* ═══════════════════════════════════════
   ADMIN BUTTONS
   ═══════════════════════════════════════ */
#adminBtn {
  position: fixed;
  bottom: 100px;
  left: 28px;
  right: auto;
  top: auto;
  background: rgba(44, 36, 24, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: all 0.3s;
  opacity: 0.3;
}

#adminBtn:hover {
  opacity: 1;
  background: rgba(44, 36, 24, 0.9);
  color: white;
}

#addBtn {
  position: fixed;
  bottom: 144px;
  left: 28px;
  right: auto;
  top: auto;
  background: var(--sage);
  color: white;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 4px 15px rgba(143, 166, 138, 0.4);
  transition: all 0.3s;
}

#addBtn:hover {
  transform: translateY(-2px) rotate(90deg);
  box-shadow: 0 6px 20px rgba(143, 166, 138, 0.5);
}

/* ═══════════════════════════════════════
   ADD PRODUCT FORM
   ═══════════════════════════════════════ */
#addForm {
  display: none;
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(44, 36, 24, 0.12);
}

#addForm h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--clay-dark);
  margin-bottom: 20px;
}

#addForm input,
#addForm textarea {
  width: 100%;
  padding: 14px 18px;
  margin: 8px 0;
  border: 1px solid var(--sand-dark);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--sand-light);
  transition: border-color 0.3s;
}

#addForm input:focus,
#addForm textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

#addForm button {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s;
}

#addForm button:hover {
  background: var(--clay);
}

/* ═══════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .about-image-wrapper::after {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 300px;
  }

  .showcase-item:nth-child(1) {
    grid-row: span 1;
  }

  .showcase-item:nth-child(5),
  .showcase-item:nth-child(6) {
    display: none;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--charcoal) !important;
    font-size: 22px;
    font-weight: 600;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .studio-content h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .about-stats {
    gap: 24px;
  }

  .about-stat-number {
    font-size: 28px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .showcase-item:nth-child(1) {
    grid-row: span 1;
  }

  .showcase-item {
    height: 280px;
  }

  .showcase-item:nth-child(n+4) {
    display: none;
  }

  /* Gallery becomes slider on mobile - grid override not needed */
  #gallery:not(.slider-mode) {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 8px;
  }

  #gallery:not(.slider-mode) .product img {
    height: 260px;
  }

  /* Slider-mode mobile overrides */
  .gallery-wrapper {
    padding: 0 8px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-prev {
    right: 4px;
  }

  .slider-next {
    left: 4px;
  }

  /* Contact — stack vertically on mobile */
  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .contact-detail {
    width: 100%;
    max-width: 280px;
  }

  .contact-detail-icon {
    width: 50px;
    height: 50px;
  }

  .contact-detail-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Smaller WhatsApp on mobile */
  #whatsappBtn {
    bottom: 16px;
    left: 16px;
  }

  #whatsappBtn img {
    width: 50px;
    height: 50px;
  }

  .whatsapp-text {
    font-size: 11px;
    padding: 3px 10px;
  }

  /* Admin button smaller on mobile */
  #adminBtn {
    bottom: 16px;
    right: auto;
    left: 76px;
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  #addBtn {
    bottom: 58px;
    left: 16px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .quote-text {
    font-size: 22px;
    padding: 0 16px;
  }

  /* Gallery section spacing */
  .gallery-section {
    padding-bottom: 40px;
  }

  /* Slider counter */
  .slider-counter {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 16px;
    color: var(--clay-dark);
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .studio-content h1 {
    font-size: 34px;
  }

  #gallery {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }
}

/* ═══════════════════════════════════════
   ANIMATION KEYFRAMES
   ═══════════════════════════════════════ */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
/* ═══════════ ADMIN DISCOUNT & PRICING ═══════════ */
#discountBtn {
  position: fixed;
  bottom: 198px; /* ממוקם מעל כפתור הוספת המוצר */
  left: 28px;
  right: auto;
  top: auto;
  background: var(--terracotta);
  color: white;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 4px 15px rgba(193, 123, 74, 0.4);
  transition: all 0.3s;
}

#discountBtn:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 6px 20px rgba(193, 123, 74, 0.5);
}

.price-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.price-original {
  font-size: 16px;
  color: var(--stone);
  text-decoration: line-through; /* זה הקו שחוצה את המחיר הישן */
  font-weight: 500;
}

@media (max-width: 700px) {
  #discountBtn {
    bottom: 100px;
    left: 16px;
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}
/* ═══════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════ */
@media print {
  .navbar, #whatsappBtn, #adminBtn, #addBtn, .scroll-arrow {
    display: none !important;
  }

  body {
    background: white;
  }
}
