/* TYPEKIT */
@import url("https://use.typekit.net/pto1rnx.css");

:root{
  --bg: #f8f8f4;
  --ink: #2b2b2f;
  --muted: #000000;
  --gold: #c7a24a;
  --gold-soft: #e8d7a3;
  --max-width: 980px;
}

/* BASE */
*{ box-sizing: border-box; }

body{
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* WRAP */
.wrap{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0px 0px;
  text-align: center;
}
.rsvp .reveal {
	display: none;
}
/* logo */
.light-img{ max-width: 150px; height: auto; }

/* ===============================
   SECTION BACKGROUNDS
   =============================== */

/* First screen: light gradient only */
.hero-section{
  min-height: 100vh;
  background: linear-gradient(180deg, #f8f3fa, var(--bg));
  display: flex;
  align-items: center;
}

/* After scroll: parallax image background */
.content{
  position: relative;
  background:
    linear-gradient(rgba(248,243,250,.55), rgba(248,243,250,.55)),
    url("https://www.synnex.com.au/GO/Synnex-oc/assets/images/5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax feel */
  padding: 48px 0 0px;
}
/* Fixed parallax layer (behind everything) */
.parallax-bg{
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(rgba(248,243,250,.55), rgba(248,243,250,.55)),
    url("https://www.synnex.com.au/GO/Synnex-oc/assets/images/5.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* start slightly zoomed-in */
  transform: scale(1.12);
  transform-origin: center;
  will-change: transform, opacity;

  /* hidden during hero */
  opacity: 0;
  transition: opacity 300ms ease;
}

/* Show image only after hero */
body.has-parallax .parallax-bg{
  opacity: 1;
}

/* Keep hero gradient as-is */
.hero-section{
  min-height: 100vh;
  display: flex;
  align-items: center;

  background:
    linear-gradient(
      rgba(248,243,250,0.65),
      rgba(248,243,250,0.65)
    ),
    url("https://www.synnex.com.au/GO/Synnex-oc/assets/images/hero-bg-1920x1080.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Mobile: disable fixed attachment for performance */
@media (max-width: 768px){
  .content{ background-attachment: scroll; }
}

/* ===============================
   LAYOUT
   =============================== */
.inner{ padding: 30px 48px; }

/* ===============================
   TYPOGRAPHY
   =============================== */
.kicker{
  font-family: "cormorant-garamond", serif;
  font-weight: 500;
  padding-bottom: 20px;
  font-style: normal;
  font-size: 24px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero-section{
  position: relative; /* needed for absolute arrow positioning */
}

/* the clickable indicator */
.scroll-indicator{
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(248,248,249,0.35);
  border: 1px solid rgba(199,162,74,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  text-decoration: none;
  cursor: pointer;

  animation: floatDown 1.6s ease-in-out infinite;
}

/* the chevron shape */
.scroll-indicator .chev{
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  margin-top: -2px;
}

/* floating animation */
@keyframes floatDown{
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.9; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* smooth scroll to #content */
html{ scroll-behavior: smooth; }

.hero-title{
  font-family: "zapfino-extra-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 180px;
  color: var(--gold);
  margin: 80px 0 20px;
  line-height: 0.5;
  position: relative;
  display: inline-block;
}

/* words */
.hero-title .title-1,
.hero-title .title-2{
  display: block;
  white-space: nowrap;
  font-feature-settings: "calt" 1, "liga" 1;
}

/* force isolated initial G */
.hero-title .initial{
  font-feature-settings: "calt" 0, "liga" 0;
  display: inline-block;
  transform: translateX(-4px);
}

/* “Grand” */
.hero-title .title-1{
  transform: translateX(-120px);
  letter-spacing: 1px;
}

/* “Opening” — combine transforms in ONE line */
.hero-title .title-2{
  transform: translate(120px, -60px);
  letter-spacing: 1px;
}

.lead{
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 640px;
  padding: 20px 0;
  margin: 0 auto 28px;
}

/* ===============================
   DETAILS
   =============================== */
.divider{
  width: 70%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 28px auto;
}

.details{
  text-align: center;
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  width: 500px;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1.6;
  margin: 0 auto;
}

/* ===============================
   HIGHLIGHTS
   =============================== */
.section-title{
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 14px;
}

.highlights{
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  width: 500px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 20px;
  line-height: 1.6;
}

.highlights li{
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  font-weight: 500px;
  font-size: 22px;
  display: flex;
  align-items: flex-start;
  gap: px;
  padding: 5px 0;
}

.highlights .dot{
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), var(--gold));
  flex-shrink: 0;
}

/* ===============================
   RSVP + FOOTER
   =============================== */
.closing{
  font-family: "cormorant-garamond", serif; 
  font-weight: 500;
  font-size: 24px;
  margin-top: 28px;
}

.info-panel{
  background-color: rgba(248, 248, 249, 0.5);
  border-radius: 0px;
  padding: 36px 28px;
  margin: 0 auto;
  max-width: 700px;
  /* optional: nicer on top of an image */
  backdrop-filter: blur(6px);
  border: 1px solid rgba(199, 162, 74, 0.18);
}


.rsvp{
  background: #ffffff;
  display: flex;              /* 🔑 change this */
  flex-direction: column; 
  align-items: center;        /* center text */
  gap: 8px; 
  margin: 24px auto 0;         /* center like info-panel */
  padding: 16px 22px;
  border: 1px solid rgba(199,162,74,0.4);
  border-radius: 0px;

  max-width: 700px;
  width: 100%;                 /* fills up to max-width */
  box-sizing: border-box;
}

/* RSVP text inside button */
.rsvp-trigger .rsvp-text{
  font-family: "cormorant-garamond", serif;
  font-size: 28px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}


.rsvp .date{
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2rem;
}
.rsvp-trigger{
  font-family: "cormorant-garamond", serif; 
  font-size: 32px;
  background: transparent;
  border: 0;
  padding: 0;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
}

.rsvp-trigger{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
}

/* SVG icon sizing */
.rsvp-trigger .rsvp-icon{
  width: 24px;       /* adjust if needed */
  height: 24px;
  display: block;
  flex-shrink: 0;
}

/* ===============================
   RSVP FORM SECTION (INLINE)
   =============================== */

.rsvp-title{
  font-family: "cormorant-garamond", serif;
  padding: 20px;
  font-size: 32px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}


.rsvp-form-panel{
  background: rgba(248, 248, 249, 0.85);
  border: 1px solid rgba(199,162,74,0.25);
  padding: 28px 22px;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


footer{
  margin-top: 48px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #333333;
}
@media (max-width: 600px){
  .info-panel{ padding: 24px 16px; }
}
/* =========================================================
   FORCE RADIO OPTION TEXT TO BE WEIGHTER (BOLDER)
   ========================================================= */

._form_443 input[type="radio"] + label,
._form_443 ._row._checkbox-radio label,
._form_443 ._row._checkbox-radio label *,
._form_443 ._form_element input[type="radio"] ~ label,
._form_443 ._form_element input[type="radio"] ~ label *{
  font-weight: 600 !important;
  color: #424242 !important;
}


/* Layout grid */
._form_443 ._form-content{
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
  row-gap: 16px !important;
}

/* Default: 2 columns */
._form_443 ._form-content > ._form_element{
  grid-column: span 6 !important;
  margin-bottom: 0 !important;
}

/* Full width elements */
._form_443 ._form_element._clear,
._form_443 ._button-wrapper,
._form_443 ._form-thank-you{
  grid-column: 1 / -1 !important;
}

/* ===== Row 1: Title + First Name + Last Name ===== */
._form_443 ._form_element._x93535622{ /* Title */
  grid-column: span 2 !important;
  min-width: 40px !important;
}
._form_443 ._form_element._x16058999{ /* First Name */
  grid-column: span 5 !important;
}
._form_443 ._form_element._x90920988{ /* Last Name */
  grid-column: span 5 !important;
}

/* ===== Fieldsets FULL WIDTH (radio sections back to full width) ===== */
._form_443 ._form_element._x99433657,
._form_443 ._form_element._x76284640{
  grid-column: 1 / -1 !important;
}

/* Representative Details field (full width) */
._form_443 ._form_element._x22243772{
  display: none !important;
}
/* Representative Details — full width */
._form_443 ._form_element._x22243772{
  grid-column: 1 / -1 !important;
}
._form_443 ._form_element._x22243772.is-visible{
  display: block !important;
}

/* ===== Remove corner radius everywhere ===== */
._form_443 input,
._form_443 select,
._form_443 textarea,
._form_443 button{
  border-radius: 0 !important;
}

/* ===== 32px field height ===== */
._form_443 input[type="text"],
._form_443 input[type="tel"],
._form_443 input[type="email"],
._form_443 select{
  height: 32px !important;
  line-height: 32px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

._form_443 textarea{
  min-height: 32px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Radio rows spacing */
._form_443 ._row._checkbox-radio{
  margin-bottom: 8px !important;
}

/* ===== Mobile: stack ===== */
@media (max-width: 667px){
  ._form_443 ._form-content{
    grid-template-columns: 1fr !important;
  }
  ._form_443 ._form-content > ._form_element{
    grid-column: 1 / -1 !important;
  }
  ._form_443 ._form_element._x93535622,
  ._form_443 ._form_element._x16058999,
  ._form_443 ._form_element._x90920988{
    grid-column: 1 / -1 !important;
  }
}

/* ===============================
   AGENDA SECTION
   =============================== */
.agenda{
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.agenda-row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(199,162,74,0.25);

  /* ? This makes both columns align to same text baseline */
  align-items: baseline;
}

.agenda-row:last-child{
  border-bottom: none;
}

.agenda-time{
  font-weight: 700;
  white-space: nowrap;
}

.agenda-time,
.agenda-action{
  line-height: 1.3;
}
/* Time range stack */
.agenda-time-range{
  display: flex;
  flex-direction: column;
  width: 100%;              /* important: use full time-column width */
  align-items: flex-start;  /* keep times left */
}

/* Center ONLY "to" across the full column */
.agenda-time-range .to{
  align-self: center;       /* centers within the column */
  text-align: center;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.85;
  letter-spacing: 0.08em;
}


/* ?? stronger main agenda line */
.agenda-action{
  font-weight: 700;
  line-height: 1.4;
}

/* speaker line under the main text */
.agenda-speaker{
  display: block;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0.85;
}

/* ===============================
   THANK YOU POPUP MODAL
   =============================== */

.thankyou-modal{
  position: fixed;
  inset: 0;
  display: none;          /* hidden by default */
  z-index: 99999;
}

.thankyou-modal.is-open{
  display: block;         /* your JS adds this class */
}

.thankyou-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.thankyou-dialog{
  position: relative;
  width: calc(100% - 32px);
  max-width: 640px;
  margin: 12vh auto;
  background: rgba(248,248,249,0.98);
  border: 1px solid rgba(199,162,74,0.25);
  padding: 28px 22px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.thankyou-title{
  margin: 0 0 12px;
  font-family: "cormorant-garamond", serif;
  letter-spacing: 0.08em;
  color: #2b2b2f;
}

.thankyou-text{
  margin: 0;
  line-height: 1.6;
  color: #2b2b2f;
}

.thankyou-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(199,162,74,0.25);
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}


/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */

.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms ease, transform 800ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Optional: reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===============================
   GALLERY
   =============================== */
.gallery-section{
  padding: 28px 0 10px;
}

.gallery-wrap{
  max-width: 700px;   /* match your info-panel/rsvp width */
  margin: 0 auto;
  text-align: center;
}

.gallery-group{
  margin-top: 24px;
}

.gallery-group:first-child{
  margin-top: 0;
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.gallery-item{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
	border-radius: 0 !important;   /* remove rounded corners */
  overflow: hidden;
  background: rgba(255,255,255,0.35);
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* keep it subtle */
  border-radius: 10px;
}

.gallery-loading{
  margin: 14px 0 10px;
  font-family: "Microsoft Yi Baiti", NSimSun-18030, SimSun-18030, sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.gallery-btn{
  margin: 10px auto 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  background: #5b57ff;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.gallery-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}


/* ===== Gallery ===== */
#galleryMount .gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* remove rounded corners */
#galleryMount .gallery-item{
  border-radius: 0 !important;
  overflow: hidden;
}

#galleryMount .gallery-item img{
  width: 100%;
  height: 180px;        /* change if you want */
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

/* loading text look */
.gallery-loading{
  margin: 14px 0 0;
  font-style: italic;
  opacity: 0.85;
}

/* use same RSVP box styling but tweak spacing */
.gallery-cta{
  margin-top: 18px;     /* keep consistent with your layout */
  padding: 16px 22px;   /* same as .rsvp */
}

/* ===== Gallery grid ===== */
#galleryMount.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 980px){
  #galleryMount.gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  #galleryMount.gallery-grid{ grid-template-columns: 1fr; }
}

/* Tiles: remove corner radius */
.gallery-item{
  display: block;
  border-radius: 0 !important;
  overflow: hidden;
  text-decoration: none;
}

.gallery-item img{
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 0 !important;
}

/* Make the "Load more" box behave like your RSVP box */
.rsvp.gallery-controls .rsvp-trigger{
  width: 100%;
}

/* responsive */
@media (max-width: 900px){
  #galleryMount .gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  #galleryMount .gallery-grid{ grid-template-columns: 1fr; }
}


@media (max-width: 900px){
  .gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  .gallery-grid{
    grid-template-columns: 1fr;
  }
}
