/* =========================================================
   Elinoy Avraham | Brides in harmony
   Design System — styles.css
   ========================================================= */

:root {
  /* Colors */
  --ivory: #FAF7F2;
  --pure-white: #FFFFFF;
  --warm-cream: #F2EBE0;
  --champagne-gold: #C9A961;
  --deep-gold: #A58544;
  --soft-gold: #E8D4A6;
  --sage: #7A8B6C;
  --sage-hover: #5F7055;
  --sage-light: #B9C4A8;
  --sage-muted: #E8EDE2;
  --charcoal: #2C2620;
  --warm-gray: #6B5D4F;
  --light-gray: #D4CDC2;
  --cream-white: #F9F6F1;

  /* Typography */
  --font-hero: 'Playfair Display', 'Heebo', serif;
  --font-body: 'Heebo', 'Assistant', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  /* Layout */
  --container: 1280px;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s ease; }

/* =========================================================
   MARQUEE — Top Running Banner
   ========================================================= */
.marquee {
  background: linear-gradient(90deg, var(--sage-hover) 0%, var(--sage) 50%, var(--sage-hover) 100%);
  color: var(--pure-white);
  overflow: hidden;
  border-bottom: 1px solid var(--champagne-gold);
  position: relative;
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { right: 0; background: linear-gradient(-90deg, transparent, var(--sage-hover)); }
.marquee::after  { left: 0;  background: linear-gradient(90deg,  transparent, var(--sage-hover)); }

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee-slide 45s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.marquee-item .diamond {
  color: var(--champagne-gold);
  font-size: 10px;
}
.marquee-item .strike {
  text-decoration: line-through;
  color: var(--sage-light);
  margin-left: 6px;
}
.marquee-item .price-now {
  color: var(--champagne-gold);
  font-weight: 700;
  margin-right: 6px;
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header {
  background: var(--ivory);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-hero);
  font-size: 26px;
  font-weight: 500;
  color: var(--deep-gold);
  letter-spacing: 0.02em;
}
.logo-sub {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 12px;
  color: var(--sage);
  letter-spacing: 0.1em;
  margin-top: -4px;
}

.nav {
  display: flex;
  gap: 40px;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.nav a:hover { color: var(--deep-gold); }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--sage);
  color: var(--sage);
  padding: 10px 20px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.cart-btn:hover { background: var(--sage); color: white; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 92vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ivory);
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-content {
  animation: fade-up 1s ease-out;
}

.hero-eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--deep-gold);
  font-size: 22px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.hero-title em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--deep-gold);
}

.hero-text {
  font-size: 18px;
  color: var(--warm-gray);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  animation: fade-up 1.2s ease-out 0.2s both;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  pointer-events: none;
  z-index: 2;
}

.hero-tag {
  position: absolute;
  top: 40px;
  right: 40px;
  background: var(--ivory);
  border: 1px solid var(--champagne-gold);
  padding: 12px 24px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--deep-gold);
  font-size: 18px;
  z-index: 3;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--sage);
  color: var(--pure-white);
}
.btn-primary:hover {
  background: var(--sage-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 139, 108, 0.3);
}

.btn-gold {
  background: transparent;
  border: 1px solid var(--champagne-gold);
  color: var(--deep-gold);
}
.btn-gold:hover {
  background: var(--champagne-gold);
  color: var(--pure-white);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  padding: 16px 0;
  border-bottom: 1px solid var(--champagne-gold);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--deep-gold); }

/* =========================================================
   FAIR COUNTDOWN BANNER
   ========================================================= */
.fair-banner {
  background: linear-gradient(135deg, #FAF7F2 0%, #F2EBE0 100%);
  border-top: 1px solid var(--champagne-gold);
  border-bottom: 1px solid var(--champagne-gold);
  padding: 80px 32px;
  text-align: center;
  position: relative;
}
.fair-banner::before,
.fair-banner::after {
  content: '❖';
  position: absolute;
  color: var(--champagne-gold);
  font-size: 20px;
}
.fair-banner::before { top: 24px; right: 50%; transform: translateX(50%); }
.fair-banner::after  { bottom: 24px; right: 50%; transform: translateX(50%); }

.fair-eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--sage);
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.fair-title {
  font-family: var(--font-hero);
  font-size: 48px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.fair-subtitle {
  color: var(--warm-gray);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.countdown-box {
  background: var(--pure-white);
  border: 1px solid var(--champagne-gold);
  padding: 24px 32px;
  min-width: 110px;
}
.countdown-num {
  font-family: var(--font-hero);
  font-size: 52px;
  color: var(--deep-gold);
  line-height: 1;
}
.countdown-label {
  font-size: 12px;
  color: var(--warm-gray);
  letter-spacing: 0.15em;
  margin-top: 8px;
  text-transform: uppercase;
}

/* =========================================================
   SECTIONS GENERAL
   ========================================================= */
section {
  padding: 96px 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--deep-gold);
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.section-title {
  font-family: var(--font-hero);
  font-size: 48px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--warm-gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */
.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cat-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.cat-card:hover img { transform: scale(1.05); }

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 38, 32, 0.65) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  color: var(--pure-white);
}
.cat-overlay .eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--soft-gold);
  font-size: 20px;
  margin-bottom: 8px;
}
.cat-overlay h3 {
  font-family: var(--font-hero);
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 16px;
}
.cat-overlay .arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--champagne-gold);
  padding-bottom: 4px;
  width: fit-content;
}

/* =========================================================
   PRODUCT GRID
   ========================================================= */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.product {
  cursor: pointer;
  transition: transform 0.4s ease;
}
.product:hover { transform: translateY(-4px); }

.product-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--warm-cream);
  margin-bottom: 20px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, opacity 0.6s ease;
}
.product:hover .product-img img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ivory);
  color: var(--deep-gold);
  font-size: 10px;
  padding: 6px 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--champagne-gold);
  z-index: 2;
}

.product-name {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 26px;
  color: var(--deep-gold);
  margin-bottom: 4px;
}
.product-meta {
  font-size: 12px;
  color: var(--warm-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.price-original {
  font-size: 14px;
  color: var(--light-gray);
  text-decoration: line-through;
}
.price-current {
  font-size: 20px;
  color: var(--charcoal);
  font-weight: 600;
}

.product-add {
  background: transparent;
  border: 1px solid var(--sage);
  color: var(--sage);
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}
.product-add:hover {
  background: var(--sage);
  color: var(--pure-white);
}

/* =========================================================
   EXCLUSIVE AT FAIR SECTION (Teaser)
   ========================================================= */
.exclusive {
  background: var(--charcoal);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.exclusive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.08), transparent 70%);
  pointer-events: none;
}

.exclusive .section-eyebrow { color: var(--champagne-gold); }
.exclusive .section-title { color: var(--ivory); }
.exclusive .section-subtitle { color: var(--light-gray); }

.blurred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
  position: relative;
}
.blurred-card {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #3a3228, #1f1a14);
  border: 1px solid rgba(201, 169, 97, 0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blurred-card::before {
  content: '?';
  font-family: var(--font-hero);
  font-size: 72px;
  color: rgba(201, 169, 97, 0.35);
  filter: blur(1px);
}
.blurred-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(201, 169, 97, 0.03) 20px, rgba(201, 169, 97, 0.03) 40px);
}

.exclusive-cta {
  text-align: center;
  margin-top: 32px;
}

/* =========================================================
   ABOUT STORY
   ========================================================= */
.story {
  background: var(--cream-white);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.story-text .section-title { text-align: right; }
.story-text p {
  color: var(--warm-gray);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.story-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--charcoal);
  color: var(--light-gray);
  padding: 80px 32px 32px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-hero);
  font-size: 32px;
  color: var(--champagne-gold);
  margin-bottom: 4px;
}
.footer-sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 14px;
  color: var(--sage-light);
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.footer-social a {
  width: 44px; height: 44px;
  border: 1px solid var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--light-gray);
}
.footer-social a:hover {
  border-color: var(--champagne-gold);
  color: var(--champagne-gold);
}
.footer-copy {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 968px) {
  .hero { height: auto; padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { text-align: center; }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  .categories { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-name { font-size: 18px; }
  .product-meta { font-size: 10px; margin-bottom: 8px; }
  .product-prices { gap: 6px; margin-bottom: 10px; }
  .price-current { font-size: 17px; }
  .price-original { font-size: 12px; }
  .product-img { margin-bottom: 12px; }
  .product-add { padding: 10px; font-size: 12px; }
  .blurred-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .nav { display: none; }
  .section-title, .fair-title { font-size: 32px; }
  section { padding: 48px 0; }
  .fair-banner { padding: 48px 16px; }
  .hero-img-wrap { max-width: 360px; margin: 0 auto; }
  .hero-img-wrap::before { display: none; }
  .hero-tag { top: 16px; right: 16px; padding: 8px 14px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-text { font-size: 14px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-name { font-size: 15px; line-height: 1.2; }
  .product-meta { font-size: 9px; }
  .price-current { font-size: 15px; }
  .price-original { font-size: 11px; }
  .product-add { padding: 8px; font-size: 11px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 13px; }
  .fair-title { font-size: 28px; }
  .countdown-num { font-size: 32px; }
  .countdown-box { padding: 12px 16px; }
  .header-inner { padding: 0 12px; }
  .cart-btn { font-size: 13px; padding: 8px 14px; }
  .cat-card h3 { font-size: 22px; }
  .exclusive { padding: 48px 0; }
}
