/* ============================================================
   ANNABI COOKIES — gifting.css
   Page-specific styles for gifting.html.
   Shared styles (nav, footer, buttons, tokens) live in main.css.
   ============================================================ */


/* ============================================================
   PAGE HERO — mirrors menu.css hero pattern exactly
   ============================================================ */

#gifting-hero {
  position: relative;
  padding-top: var(--nav-height);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--warm-grey); /* fallback while image loads */
}

/* Hero image */
.gifting-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gifting-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay so heading reads over image */
.gifting-hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

#gifting-hero .container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding-bottom: var(--space-12);
}

#gifting-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 640px;
}


/* ============================================================
   SECTION SHARED — CORPORATE + WEDDINGS
   ============================================================ */

#corporate,
#weddings {
  padding-block: clamp(72px, 9vw, 120px);
}

#corporate {
  background: var(--off-white);
}

#weddings {
  background: var(--white);
}

/* Two-column layout: text left, card right (or reversed) */
.gifting-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.gifting-block--reversed {
  direction: rtl; /* flip column order */
}

.gifting-block--reversed > * {
  direction: ltr; /* restore text direction inside */
}

.gifting-block-text .label {
  display: block;
  margin-bottom: var(--space-4);
}

.gifting-block-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: var(--space-6);
}

.gifting-block-text p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--grey-mid);
  margin-bottom: var(--space-5);
}

.gifting-block-text p:last-of-type {
  margin-bottom: var(--space-8);
}


/* ============================================================
   DETAIL CARD (the 3-item feature list)
   ============================================================ */

.gifting-detail-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

#weddings .gifting-detail-card {
  background: var(--off-white);
}

.gdc-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.gdc-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.gdc-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.gdc-item p {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-mid);
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.gifting-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.07);
}


/* ============================================================
   ENQUIRY FORM SECTION
   ============================================================ */

#enquire {
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--black);
}

.enquire-hd {
  text-align: center;
  margin-bottom: var(--space-12);
}

.enquire-hd .label {
  color: var(--peach);
  opacity: 1;
  display: block;
  margin-bottom: var(--space-4);
}

.enquire-hd h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.enquire-hd p {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 860px)
   ============================================================ */

@media (max-width: 860px) {

  .gifting-block,
  .gifting-block--reversed {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-10);
  }

  /* On tablet, always put text above card */
  .gifting-block--reversed .gifting-block-visual {
    order: 2;
  }

  .gifting-block--reversed .gifting-block-text {
    order: 1;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤ 520px)
   ============================================================ */

@media (max-width: 520px) {

  .gifting-detail-card {
    gap: var(--space-6);
  }
}
