/* ============================================
   HOLY LAND OLIVE OIL — Main Stylesheet
   ============================================ */

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

:root {
  --gold:    #c8973a;
  --gold-lt: #e8b86d;
  --olive:   #4a5e2a;
  --olive-lt:#6b8a3a;
  --cream:   #faf6ee;
  --warm:    #f5ede0;
  --dark:    #1a1510;
  --text:    #2c2416;
  --muted:   #7a6a52;
  --white:   #ffffff;
  --tin-dark: #2c3e20;
  --tin-mid:  #3d5a2a;
  --tin-lt:   #5a7a3a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,246,238,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,151,58,0.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 1rem 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon { font-size: 1.8rem; }
.logo-main { display: block; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--dark); line-height: 1; }
.logo-sub  { display: block; font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; list-style: none; gap: 2rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.btn-nav {
  background: var(--gold); color: var(--white);
  padding: 0.5rem 1.25rem; border-radius: 50px;
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-nav:hover { background: var(--olive); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px; margin: 0 auto;
  gap: 4rem;
  position: relative;
}
.hero-content { flex: 1; }
.badge {
  display: inline-block;
  background: rgba(200,151,58,0.12);
  border: 1px solid rgba(200,151,58,0.3);
  color: var(--gold);
  padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 500;
  margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900; color: var(--dark);
  margin-bottom: 1.5rem;
}
h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.1rem; color: var(--muted);
  max-width: 500px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 0.9rem 2rem; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: all 0.25s; display: inline-block;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--olive); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,58,0.35); }
.btn-ghost {
  color: var(--text); padding: 0.9rem 2rem; border-radius: 50px;
  text-decoration: none; font-weight: 500; font-size: 1rem;
  border: 2px solid rgba(0,0,0,0.12);
  transition: all 0.25s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat span { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--dark); }
.stat small { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 40px; background: rgba(0,0,0,0.12); }

/* ===== HERO VISUAL (Tin Can) ===== */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.can-wrapper { position: relative; display: flex; justify-content: center; align-items: center; height: 500px; width: 300px; }
.can-glow {
  position: absolute; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,151,58,0.25), transparent 70%);
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); } }

.olive-can {
  position: relative; z-index: 2;
  width: 140px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.can-top {
  height: 30px; background: linear-gradient(to bottom, #a0a090, #c8c8b8, #8a8a7a);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  border: 2px solid #9a9a8a;
}
.can-body {
  height: 220px;
  background: linear-gradient(135deg, var(--tin-dark) 0%, var(--tin-mid) 30%, var(--tin-lt) 50%, var(--tin-mid) 70%, var(--tin-dark) 100%);
  border-left: 2px solid rgba(255,255,255,0.08);
  border-right: 2px solid rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
}
.can-bottom {
  height: 20px; background: linear-gradient(to top, #7a7a6a, #b0b0a0);
  border-radius: 0 0 50% 50% / 0 0 60% 60%;
  border: 2px solid #8a8a7a;
}

.can-label {
  background: linear-gradient(to bottom, #f5e8c0, #e8d090, #d4b84a, #e8d090, #f5e8c0);
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  text-align: center;
  width: 100px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}
.label-brand {
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem; font-weight: 900;
  color: var(--tin-dark); letter-spacing: 2px;
}
.label-sub {
  font-size: 0.5rem; letter-spacing: 3px;
  color: var(--tin-dark); font-weight: 600;
}
.label-divider { height: 1px; background: var(--gold); margin: 0.3rem 0; opacity: 0.6; }
.label-type { font-size: 0.45rem; letter-spacing: 2px; color: var(--olive); font-weight: 700; text-transform: uppercase; }
.label-origin { font-size: 0.4rem; color: var(--muted); margin-top: 0.2rem; }
.label-size { font-size: 0.5rem; letter-spacing: 1px; color: var(--tin-dark); font-weight: 700; margin-top: 0.3rem; }
.label-ornament { font-size: 0.4rem; color: var(--gold); letter-spacing: 2px; }

.floating-leaf {
  position: absolute; font-size: 1.5rem;
  animation: leaf-float 5s ease-in-out infinite;
  opacity: 0.7;
}
.leaf-1 { top: 80px; right: 20px; animation-delay: 0s; }
.leaf-2 { bottom: 120px; left: 10px; animation-delay: 1.5s; font-size: 1.2rem; }
.leaf-3 { top: 200px; right: -10px; animation-delay: 3s; font-size: 1rem; }
@keyframes leaf-float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(10deg); } }

/* ===== SECTIONS COMMON ===== */
.product-section, .story-section, .origin-section, .order-section {
  padding: 6rem 0;
}
.product-section { background: var(--white); }
.origin-section  { background: var(--white); }
.story-section   { background: var(--warm); }

.section-label {
  font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.75rem;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); margin-bottom: 1rem; }
.section-desc { color: var(--muted); max-width: 560px; margin: 0 auto 3.5rem; text-align: center; font-size: 1.05rem; }
.product-section h2, .product-section .section-label, .product-section .section-desc,
.origin-section h2, .origin-section .section-label, .origin-section .section-desc,
.order-section h2, .order-section .section-label, .order-section .section-desc {
  text-align: center;
}

/* ===== PRODUCT CARDS ===== */
.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.product-card {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold-lt); box-shadow: 0 16px 48px rgba(200,151,58,0.15); }
.product-card.featured { background: var(--dark); border-color: var(--gold); }
.product-card.featured h3, .product-card.featured .size-label, .product-card.featured .card-desc, .product-card.featured .features li { color: rgba(255,255,255,0.85); }
.product-card.featured h3 { color: var(--gold-lt); }

.card-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white);
  padding: 0.3rem 1rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; white-space: nowrap;
}
.card-badge.popular { background: var(--olive-lt); }

/* Mini can graphics on cards */
.can-mini {
  width: 60px; height: 90px; margin: 1.5rem auto 1rem;
  background: linear-gradient(135deg, var(--tin-dark), var(--tin-mid), var(--tin-lt), var(--tin-mid));
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}
.can-mini:hover { transform: scale(1.08); }
.can-mini.large  { width: 72px; height: 112px; }
.can-mini.xlarge { width: 90px; height: 130px; }
.mini-label { color: var(--gold-lt); font-family: 'Playfair Display', serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; text-align: center; line-height: 1.6; }

.product-card h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 0.25rem; }
.size-label { font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 1px; margin-bottom: 0.75rem; }
.card-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.features { list-style: none; text-align: left; width: 100%; margin-bottom: 1.5rem; }
.features li { font-size: 0.85rem; color: var(--muted); padding: 0.25rem 0; }

.price-row { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1.25rem; }
.price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.product-card.featured .price { color: var(--gold-lt); }
.price-note { font-size: 0.85rem; color: var(--muted); }

.btn-card {
  display: block; width: 100%;
  background: transparent; border: 2px solid var(--gold);
  color: var(--gold); padding: 0.75rem;
  border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s; text-align: center;
}
.btn-card:hover { background: var(--gold); color: var(--white); }
.btn-card.primary { background: var(--gold); color: var(--white); }
.btn-card.primary:hover { background: var(--gold-lt); }

/* ===== STORY ===== */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story-text h2 { margin-bottom: 1.5rem; }
.story-text p { color: var(--muted); margin-bottom: 1.25rem; }
.story-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.story-badges span {
  background: rgba(200,151,58,0.12); border: 1px solid rgba(200,151,58,0.3);
  color: var(--olive); padding: 0.4rem 0.9rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
}
.story-img-frame {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  aspect-ratio: 4/5;
}
.story-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--tin-dark), var(--olive), var(--olive-lt));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: white; text-align: center; gap: 1rem;
}
.story-img-placeholder .tree-icon { font-size: 4rem; }
.story-img-placeholder p { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; }
.story-img-placeholder small { opacity: 0.7; letter-spacing: 2px; font-size: 0.75rem; }
.story-quote {
  background: var(--white); border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem; margin-top: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.story-quote p { font-family: 'Playfair Display', serif; font-style: italic; color: var(--dark); font-size: 1rem; margin-bottom: 0.5rem; }
.story-quote span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* ===== ORIGIN ===== */
.origin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.origin-card {
  background: var(--cream); border-radius: 16px;
  padding: 1.75rem 1.25rem; text-align: center;
  border: 1px solid rgba(200,151,58,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.origin-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(200,151,58,0.12); }
.origin-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.origin-card h4 { font-size: 1rem; color: var(--dark); margin-bottom: 0.6rem; }
.origin-card p { font-size: 0.85rem; color: var(--muted); }

/* ===== ORDER ===== */
.order-section { background: var(--cream); }
.order-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; margin-top: 1rem; }
.order-form {
  background: var(--white); border-radius: 20px;
  padding: 2.5rem; box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.45rem; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--cream); border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px; padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--gold); color: var(--white);
  padding: 1rem; border-radius: 50px; border: none;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all 0.25s;
}
.btn-submit:hover { background: var(--olive); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,58,0.3); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

.order-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  background: var(--white); border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.info-card h4 { font-size: 1rem; color: var(--dark); margin-bottom: 0.4rem; font-family: 'Playfair Display', serif; }
.info-card p { font-size: 0.85rem; color: var(--muted); }
.whatsapp-link {
  display: inline-block; margin-top: 0.5rem;
  color: #25D366; font-weight: 600; font-size: 0.85rem; text-decoration: none;
}
.whatsapp-link:hover { text-decoration: underline; }

/* ===== CHECKOUT STEPS ===== */
.checkout-step {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.step-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--dark);
  flex: 1;
}
.step-number {
  width: 32px; height: 32px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.secure-badge {
  font-size: 0.75rem;
  color: #25a244;
  background: #eafbee;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-weight: 600;
}

/* Order summary box */
.order-summary {
  background: #fdf8f0;
  border: 1px solid var(--gold-lt);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0;
}
.summary-row.total {
  border-top: 1px solid var(--gold-lt);
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}

/* Payment method tabs */
.payment-methods {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.pay-method {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.pay-method input[type=radio] { display: none; }
.pay-method.active {
  border-color: var(--gold);
  color: var(--dark);
  background: #fdf8f0;
  font-weight: 600;
}
.method-icon { font-size: 1.2rem; }

/* Fake Stripe card field */
.fake-stripe-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 0.85rem;
  background: #fff;
  transition: border-color 0.2s;
}
.fake-stripe-input:focus-within { border-color: var(--gold); }
.fake-stripe-input input {
  border: none !important;
  box-shadow: none !important;
  padding: 0.85rem 0 !important;
  flex: 1;
}
.card-placeholder-icon { font-size: 1rem; }
.card-brand { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* Stripe notice bar */
.stripe-notice {
  margin-top: 1.25rem;
  padding: 0.65rem 1rem;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* PayPal placeholder */
.paypal-mock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffc439;
  color: #003087;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  padding: 0.85rem;
  cursor: pointer;
}
.paypal-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.65rem;
}

/* Pay button spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FOOTER ===== */
footer {
  background: var(--dark); padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.75rem; color: var(--white); font-size: 1.5rem; }
.footer-logo div strong { display: block; font-family: 'Playfair Display', serif; color: var(--gold-lt); }
.footer-logo div small { font-size: 0.7rem; letter-spacing: 2px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); text-align: center; }

/* ===== MODAL ===== */
.modal {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.modal.hidden { display: none; }
.modal-box {
  background: var(--white); border-radius: 20px;
  padding: 3rem; text-align: center; max-width: 400px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal-box h3 { font-size: 1.75rem; margin-bottom: 0.75rem; color: var(--dark); }
.modal-box p { color: var(--muted); margin-bottom: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .origin-grid { grid-template-columns: repeat(2, 1fr); }
  .order-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 7rem 1.5rem 4rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .can-wrapper { height: 360px; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-cards { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
