/* =====================
   TUBLUM — STYLESHEET
   ===================== */

/* RESET & ROOT */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --wine:        #571318;
  --wine-deep:   #3a0c10;
  --wine-light:  #7a1c24;
  --cream:       #EBE4D9;
  --cream-light: #f5f1ea;
  --cream-dark:  #d4ccc0;
  --forest:      #1E3E21;
  --olive:       #57623A;
  --rose:        #A54452;
  --text-dark:   #2a1a1c;
  --text-mid:    #5a3d40;
  --text-light:  #8a7070;
  --talabat:     #FF6600;
  --instashop:   #E8007D;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { width: 100%; height: 100%; object-fit: cover; display: block; }
a { text-decoration: none; color: inherit; }

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: var(--wine);
  color: var(--cream-light);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--wine-deep); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--wine);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid var(--wine);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--wine); color: var(--cream-light); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

/* =====================
   NAV
   ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  background: var(--cream-light);
  border-bottom: 1px solid var(--cream-dark);
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--wine); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-lang {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: 0.5px solid var(--cream-dark);
  padding: 5px 10px;
  font-family: 'Jost', sans-serif;
  transition: all 0.2s;
}
.nav-lang:hover { color: var(--wine); border-color: var(--wine); }

.nav-order-btn {
  background: var(--wine);
  color: var(--cream-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: background 0.2s;
}
.nav-order-btn:hover { background: var(--wine-deep); }

/* =====================
   HERO
   ===================== */
.hero {
  height: 100vh;
  max-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 68px;
  overflow: hidden;
}

.hero-left {
  padding: 6% 6% 6% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream-light);
}

.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.hero-left h1 em {
  font-style: italic;
  color: var(--wine);
}

.hero-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 320px;
  margin-bottom: 32px;
}

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

.hero-right {
  display: grid;
  grid-template-rows: 45% 55%;
  overflow: hidden;
  height: 100%;
  gap: 2px;
  background: var(--cream-dark);
}

.hero-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  gap: 2px;
}

.hero-img { overflow: hidden; position: relative; }
.hero-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease; 
  display: block;
}
.hero-img:hover img { transform: scale(1.03); }

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--cream-light);
  padding: 14px 18px;
  opacity: 0.95;
  border-left: 3px solid var(--wine);
}

.badge-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.badge-value {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
}

/* =====================
   TICKER
   ===================== */
.ticker {
  background: var(--wine);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: ticker 20s linear infinite;
}

.ticker-track span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-light);
  margin: 0 20px;
}

.ticker-track .dot {
  color: rgba(235, 228, 217, 0.4);
  font-size: 8px;
  margin: 0 10px;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================
   COLLECTION
   ===================== */
.collection {
  padding: 100px 8%;
  border-top: 1px solid var(--cream-dark);
}

.collection-header {
  margin-bottom: 56px;
}

.collection-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--text-dark);
  max-width: 400px;
  line-height: 1.1;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}

.product-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.product-img img {
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img { transform: scale(1.05); }

.product-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(42,26,28,0.75) 0%, transparent 100%);
  padding: 40px 20px 20px;
  color: var(--cream-light);
}

.product-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.product-info p {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.collection-cta {
  text-align: center;
  margin-top: 56px;
}

/* =====================
   ORDER SECTION
   ===================== */
.order-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--cream-light);
}

.order-left {
  padding: 8% 6% 8% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.order-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.order-left h2 em { font-style: italic; color: var(--rose); }

.order-left p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 360px;
}

.order-right {
  display: flex;
  flex-direction: column;
}

.order-card {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 32px 40px;
  gap: 16px;
  cursor: pointer;
  transition: filter 0.2s;
  text-decoration: none;
}
.order-card:hover { filter: brightness(0.93); }

.order-card.talabat   { background: var(--talabat); }
.order-card.instashop { background: var(--instashop); }
.order-card.whatsapp  { background: var(--cream); border-top: 1px solid var(--cream-dark); }

.order-card .order-platform {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
  color: inherit;
}

.order-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--cream-light);
}

.order-card.whatsapp h3 { color: var(--text-dark); }

.order-link {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  color: var(--cream-light);
  display: block;
  margin-top: 4px;
}

.order-card.talabat   { flex-direction: column; align-items: flex-start; }
.order-card.instashop { flex-direction: column; align-items: flex-start; }

.order-card.whatsapp {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.whatsapp-icon { color: #25D366; flex-shrink: 0; }
.whatsapp-text { flex: 1; }
.whatsapp-text .order-platform { color: var(--text-mid); }
.whatsapp-text h3 { color: var(--text-dark); font-size: 24px; }

.order-arrow {
  color: var(--text-mid);
  font-size: 20px;
  margin-left: auto;
}

/* =====================
   STORY
   ===================== */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  background: var(--cream-light);
  padding: 80px 8%;
  gap: 8%;
  align-items: center;
  border-top: 1px solid var(--cream-dark);
}

.story-left {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 580px;
}

.story-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  bottom: 32px;
  right: -20px;
  background: var(--cream-light);
  padding: 16px 22px;
  border-left: 3px solid var(--wine);
}

.story-badge span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.story-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
}

.story-right h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.story-right p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.story-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 32px;
  margin-top: 40px;
}

.pillar {
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--wine);
}

.pillar h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pillar p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--wine-deep);
  color: var(--cream-light);
  padding: 64px 8% 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(235, 228, 217, 0.15);
}

.footer-logo-img {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  opacity: 0.95;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.6;
}

.footer-col h5 {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-size: 12px;
  opacity: 0.4;
}

.footer-socials { display: flex; gap: 24px; }

.footer-socials a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.footer-socials a:hover { opacity: 1; }

/* =====================
   ARABIC (RTL)
   ===================== */
body.ar {
  direction: rtl;
  font-family: 'Jost', 'Noto Sans Arabic', sans-serif;
}
body.ar .nav-links { flex-direction: row-reverse; }
body.ar .hero-left  { padding: 8% 8% 6% 6%; }
body.ar .hero-right { order: -1; }
body.ar .story-left { order: 1; }
body.ar .story-badge { right: auto; left: -20px; border-left: none; border-right: 3px solid var(--wine); }
body.ar .footer-top { direction: rtl; }
body.ar .pillar { padding: 20px; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 50vw; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .order-section { grid-template-columns: 1fr; }
  .order-left { padding: 60px 6%; }
  .story { grid-template-columns: 1fr; }
  .story-left { max-height: 400px; aspect-ratio: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .hero-left { padding: 6% 5%; }
  .collection { padding: 64px 5%; }
  .collection-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .story { padding: 64px 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}