/* Farida & Omar — wedding demo (AnubTech Business Suite) */
:root {
  --ivory: #FBF9F5;
  --white: #FFFFFF;
  --blush: #C99A9A;
  --blush-deep: #A96F73;
  --gold: #C9A96A;
  --charcoal: #3E3A39;
  --soft: #8C8380;
  --line: #EAE2D8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Montserrat", sans-serif; color: var(--charcoal); background: var(--ivory); line-height: 1.8; font-weight: 300; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; color: var(--charcoal); line-height: 1.15; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.eyebrow {
  display: block; letter-spacing: 0.42em; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 400; color: var(--blush-deep); margin-bottom: 16px;
}
.rule {
  width: 52px; height: 1px; background: var(--gold); margin: 22px auto;
  position: relative;
}
.rule::before, .rule::after {
  content: ""; position: absolute; top: -2.5px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
}
.rule::before { left: -12px; } .rule::after { right: -12px; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5vw;
  transition: all 0.35s;
  background: transparent;
}
.topbar.solid { background: rgba(251,249,245,0.95); box-shadow: 0 2px 20px rgba(62,58,57,0.08); }
.monogram {
  font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-style: italic;
  color: var(--ivory); transition: color 0.35s;
}
.monogram b { color: var(--gold); font-weight: 500; }
.topbar.solid .monogram, .topbar.inner .monogram { color: var(--charcoal); }
.topnav { display: flex; gap: 30px; }
.topnav a {
  font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(251,249,245,0.9); transition: color 0.25s; padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.topbar.solid .topnav a, .topbar.inner .topnav a { color: var(--soft); }
.topnav a:hover, .topnav a.on { color: var(--gold); border-bottom-color: var(--gold); }
.topbar.inner { background: rgba(251,249,245,0.95); box-shadow: 0 2px 20px rgba(62,58,57,0.06); }

.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(48,38,42,0.38), rgba(48,38,42,0.5)),
    url("https://images.unsplash.com/photo-1583939003579-730e3918a45a?w=1800&q=80") center 30% / cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 130px 24px 90px;
}
.hero .eyebrow { color: rgba(251,249,245,0.85); }
.hero h1 {
  font-size: clamp(3rem, 9vw, 6rem); color: var(--white); font-weight: 500;
}
.hero h1 .amp { font-style: italic; color: var(--gold); font-size: 0.8em; }
.hero .date-line {
  font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-style: italic;
  color: rgba(251,249,245,0.92); margin-top: 18px; letter-spacing: 0.08em;
}
.hero .scroll-hint {
  margin-top: 52px; color: rgba(251,249,245,0.7); font-size: 0.72rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  animation: floatY 2.6s ease-in-out infinite; display: inline-block;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.page-head {
  padding: 170px 24px 70px; text-align: center;
  background: linear-gradient(rgba(251,249,245,0.4), var(--ivory)),
    url("https://images.unsplash.com/photo-1522673607200-164d1b6ce486?w=1600&q=60") center / cover no-repeat;
}
.page-head h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }

.section { padding: 96px 0; }
.section h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.lead { color: var(--soft); max-width: 560px; margin: 0 auto; }

/* Countdown rings */
.rings { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin: 54px 0 10px; }
.ring { position: relative; width: 130px; height: 130px; }
.ring svg { transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--line); stroke-width: 2; }
.ring .bar {
  fill: none; stroke: var(--blush); stroke-width: 2.5; stroke-linecap: round;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.ring .val {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring .n { font-family: "Cormorant Garamond", serif; font-size: 2.3rem; color: var(--charcoal); line-height: 1; }
.ring .l { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--soft); margin-top: 6px; }
@media (max-width: 560px) { .rings { gap: 14px; } .ring { width: 88px; height: 88px; } .ring .n { font-size: 1.5rem; } .ring .l { font-size: 0.52rem; } }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.strip .ph {
  height: 340px; background-size: cover; background-position: center;
  border-radius: 2px; transition: transform 0.4s, box-shadow 0.4s;
}
.strip .ph:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(62,58,57,0.18); }

/* Timeline (story) */
.timeline { position: relative; max-width: 860px; margin: 70px auto 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--line); transform: translateX(-50%);
}
.moment { display: flex; align-items: center; gap: 44px; margin-bottom: 80px; position: relative; }
.moment:nth-child(even) { flex-direction: row-reverse; }
.moment::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--ivory);
  transform: translate(-50%, -50%); box-shadow: 0 0 0 1px var(--gold);
}
.moment .m-img {
  flex: 1; height: 300px; background-size: cover; background-position: center; border-radius: 2px;
}
.moment .m-txt { flex: 1; }
.moment .m-txt .when {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blush-deep);
}
.moment .m-txt h3 { font-size: 1.7rem; margin: 8px 0 10px; }
.moment .m-txt p { color: var(--soft); font-size: 0.95rem; }

/* Details cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.dcard {
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  padding: 46px 30px; text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.dcard:hover { transform: translateY(-7px); box-shadow: 0 22px 48px rgba(62,58,57,0.12); }
.dcard .g-ic { font-size: 1.9rem; color: var(--gold); margin-bottom: 16px; }
.dcard h3 { font-size: 1.45rem; margin-bottom: 8px; }
.dcard .t { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.15rem; color: var(--blush-deep); margin-bottom: 10px; }
.dcard p { color: var(--soft); font-size: 0.92rem; }

.venue {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; align-items: center; margin-top: 30px;
}
.venue .v-img {
  height: 420px; background: url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1200&q=80") center / cover;
  border-radius: 2px;
}

/* RSVP */
.rsvp { background: var(--white); border-top: 1px solid var(--line); }
.rsvp-form { max-width: 560px; margin: 50px auto 0; }
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; text-align: left; }
.fld label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); }
.fld input, .fld select, .fld textarea {
  font-family: "Montserrat", sans-serif; font-size: 0.95rem; font-weight: 300; color: var(--charcoal);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--ivory);
  transition: border-color 0.25s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); }

.btn {
  display: inline-block; font-family: "Montserrat", sans-serif; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.78rem;
  padding: 17px 46px; cursor: pointer; transition: all 0.3s; border: 1px solid var(--gold);
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.footer {
  text-align: center; padding: 70px 24px 60px;
  background: var(--ivory); border-top: 1px solid var(--line);
}
.footer .mono { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-style: italic; color: var(--charcoal); }
.footer .mono b { color: var(--gold); font-weight: 500; }
.footer p { color: var(--soft); font-size: 0.85rem; margin-top: 8px; }

.demo-note {
  position: fixed; bottom: 18px; left: 18px; z-index: 60;
  background: rgba(62,58,57,0.92); color: rgba(251,249,245,0.9);
  font-size: 0.75rem; letter-spacing: 0.05em;
  padding: 10px 18px; border-radius: 999px; backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,106,0.5);
}
.demo-note a { color: var(--gold); font-weight: 500; }

.fade { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } .hero .scroll-hint { animation: none; } }

@media (max-width: 820px) {
  .strip { grid-template-columns: 1fr; }
  .strip .ph { height: 260px; }
  .cards { grid-template-columns: 1fr; }
  .venue { grid-template-columns: 1fr; }
  .venue .v-img { height: 280px; }
  .timeline::before { left: 8px; }
  .moment, .moment:nth-child(even) { flex-direction: column; gap: 20px; }
  .moment::after { left: 8px; top: 0; }
  .topnav { gap: 16px; }
  .topnav a { font-size: 0.66rem; letter-spacing: 0.14em; }
}
