/* ============================================================
   MAD RESERVE CO. — HOME PAGE STYLES
   Load AFTER css/global.css.
   Contains styles unique to index.html only:
   hero, brand story, signature offerings, patisserie teaser,
   coming soon countdown section.
============================================================ */

/* ====================================================
   HERO SECTION
   Full-viewport height with layered visual effects.
==================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

/* Radial glow background */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 60%, rgba(60, 35, 10, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
  z-index: 1;
}

/* Faint geometric gold grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Large faded MR monogram in background */
.hero-monogram {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(200px, 40vw, 380px);
  color: rgba(212, 175, 55, 0.03);
  font-weight: 600;
  letter-spacing: -10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream);
  margin: 16px 0 10px;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

/* Animated scroll-down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.scroll-indicator span {
  display: block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.6s ease infinite;
}

/* Decorative corner lines framing the hero */
.hero-corner { position: absolute; width: 40px; height: 40px; z-index: 2; opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }
.hero-corner.tl { top: 90px; left: 24px; border-top: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.hero-corner.tr { top: 90px; right: 24px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }
.hero-corner.bl { bottom: 80px; left: 24px; border-bottom: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.hero-corner.br { bottom: 80px; right: 24px; border-bottom: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }

/* ====================================================
   BRAND STORY SECTION
==================================================== */
#brand-story {
  background: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#brand-story::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212,175,55,0.12), transparent);
}

.brand-story-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.brand-story-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 24px;
}

.brand-story-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.value-pillars { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.value-item { display: flex; align-items: flex-start; gap: 16px; }
.value-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-icon i { color: var(--gold); font-size: 14px; }
.value-label { font-family: var(--font-display); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 4px; }
.value-desc  { font-size: 0.85rem; color: var(--text-muted); }

/* Visual side — stacked image frames */
.story-visual { position: relative; height: 480px; }
.story-img-main {
  position: absolute; right: 0; top: 0;
  width: 80%; height: 380px;
  object-fit: cover;
  border: 1px solid rgba(212,175,55,0.15);
}
.story-img-accent {
  position: absolute; left: 0; bottom: 0;
  width: 55%; height: 220px;
  object-fit: cover;
  border: 1px solid rgba(212,175,55,0.15);
}
.story-img-frame {
  position: absolute; top: 16px; right: -10px;
  width: calc(80% - 16px); height: 364px;
  border: 1px solid rgba(212,175,55,0.25);
  pointer-events: none;
}
.story-stat-badge {
  position: absolute; bottom: 80px; right: -10px;
  background: var(--gold); color: var(--black);
  padding: 16px 20px; text-align: center; min-width: 100px;
}
.story-stat-badge .stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1; }
.story-stat-badge .stat-lbl { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }

/* ====================================================
   SIGNATURE OFFERINGS PREVIEW
==================================================== */
#offerings {
  background: var(--mid-grey);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#offerings::before {
  content: 'RESERVE';
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-display); font-size: 100px; letter-spacing: 20px;
  color: rgba(212,175,55,0.03);
  pointer-events: none; user-select: none;
}

.offering-card {
  background: var(--black);
  border: 1px solid rgba(212,175,55,0.12);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
  height: 100%;
}
.offering-card:hover { border-color: rgba(212,175,55,0.45); transform: translateY(-6px); }

.offering-img-wrap { overflow: hidden; height: 240px; position: relative; }
.offering-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.9); }
.offering-card:hover .offering-img-wrap img { transform: scale(1.06); }

/* Badge/seal-style images (not landscape photos) need to show in full, not be cropped */
.offering-img-wrap img.offering-img-contain { object-fit: contain; padding: 20px; background: var(--black); }

.offering-badge {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  font-family: var(--font-display); font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); text-align: center;
}

.offering-body { padding: 28px 24px; }
.offering-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--cream); margin-bottom: 10px; }
.offering-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.offering-link {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 8px;
  transition: gap var(--transition);
}
.offering-card:hover .offering-link { gap: 14px; }

/* ====================================================
   COMING SOON SECTION
==================================================== */
#coming-soon {
  background: var(--black);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cs-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.cs-content { position: relative; z-index: 2; text-align: center; }
.cs-title { font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 4rem); color: var(--cream); margin: 16px 0 10px; }
.cs-subtitle { font-size: 0.95rem; color: var(--text-muted); max-width: 480px; margin: 0 auto 48px; }

/* Countdown timer display */
.countdown { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.countdown-unit { text-align: center; min-width: 72px; }
.countdown-num { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold); display: block; line-height: 1; }
.countdown-label { font-family: var(--font-display); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); display: block; margin-top: 8px; }
.countdown-sep { font-family: var(--font-display); font-size: 2rem; color: rgba(212,175,55,0.3); align-self: center; margin-top: -12px; }

/* Email capture form */
.cs-form { display: flex; gap: 0; max-width: 420px; margin: 0 auto 24px; border: 1px solid rgba(212,175,55,0.3); }
.cs-form input { flex: 1; background: transparent; border: none; outline: none; padding: 14px 20px; color: var(--cream); font-family: var(--font-body); font-size: 0.9rem; }
.cs-form input::placeholder { color: var(--text-muted); }
.cs-form button {
  background: var(--gold); color: var(--black); border: none; padding: 14px 22px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background var(--transition); white-space: nowrap;
}
.cs-form button:hover { background: var(--gold-light); }
.cs-note { font-size: 0.8rem; color: var(--text-muted); }
.cs-socials { display: flex; gap: 20px; justify-content: center; margin-top: 40px; }

/* ====================================================
   KEYFRAMES specific to home page
==================================================== */
@keyframes scrollDot {
  0%   { top: 6px; opacity: 1; }
  80%  { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 0.7; }
}

/* ====================================================
   RESPONSIVE — home page specific
==================================================== */
@media (max-width: 991px) {
  .story-visual { height: 360px; }
  .patisserie-grid { grid-template-columns: 1fr; }
  .patisserie-item { height: 260px; }
}

@media (max-width: 767px) {
  .hero-corner { display: none; }

  .story-visual { height: auto; margin-top: 40px; }
  .story-img-main   { position: relative; width: 100%; height: 260px; right: auto; top: auto; }
  .story-img-accent { position: relative; width: 60%; height: 180px; left: auto; bottom: auto; margin-top: 8px; }
  .story-img-frame  { display: none; }
  .story-stat-badge { right: 0; bottom: 0; }

  .countdown { gap: 12px; }
  .countdown-sep { display: none; }

  .cs-form { flex-direction: column; }
  .cs-form input { border-bottom: 1px solid rgba(212,175,55,0.2); }

  .patisserie-grid { grid-template-columns: 1fr; }
  .patisserie-center { padding: 40px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
}


