/* ============================================================
   LINKS PAGE — links.css
   Loads after ../styles.css. Reuses page-header, card,
   reg-main, reg-main--centered, fade-up from styles.css
   and register.css patterns. Only link-card is new here.
   ============================================================ */


/* ------------------------------------------------------------
   PAGE HEADER
   Identical markup to register/index.html — styles already
   live in register.css. If you're NOT loading register.css
   on this page, paste the page-header block from register.css
   here instead. Since this is a separate page, we redeclare
   the minimum needed.
   ------------------------------------------------------------ */
.page-header {
  background-color: var(--color-navy);
  padding: calc(var(--nav-height) + 3rem) var(--space-xl) var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.page-header__grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(201,168,76,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.8) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-header__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.page-header__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.35rem 1.1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.page-header__title span { color: var(--color-gold); }

.page-header__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}


/* ------------------------------------------------------------
   MAIN LAYOUT
   Mirrors .reg-main / .reg-main--centered / .reg-form-col
   from register.css — redeclared here since this page doesn't
   load register.css.
   ------------------------------------------------------------ */
.reg-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl) 5rem;
}

.reg-main--centered { max-width: 640px; }

.reg-form-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


/* ------------------------------------------------------------
   CARD
   ------------------------------------------------------------ */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.75rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}


/* ------------------------------------------------------------
   LINK LIST & CARDS
   ------------------------------------------------------------ */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.85rem 1rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-dark);
  text-decoration: none;
  transition:
    border-color var(--transition-base),
    background var(--transition-base),
    transform var(--transition-fast);
}

.link-card:hover {
  border-color: var(--color-gold);
  background: rgba(201,168,76,0.05);
  transform: translateY(-1px);
  color: var(--color-text-dark);
}

/* Gold highlight for the primary CTA (table reservation) */
.link-card--gold {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.35);
}

.link-card--gold:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--color-gold);
}

.link-card--gold .link-card__title {
  color: var(--color-navy);
  font-weight: 600;
}

/* Icon box */
.link-card__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(201,168,76,0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: background var(--transition-base);
}

.link-card:hover .link-card__icon {
  background: rgba(201,168,76,0.18);
}

.link-card__icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

/* Text */
.link-card__text {
  flex: 1;
  min-width: 0;
}

.link-card__title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.link-card__sub {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow */
.link-card__arrow {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  stroke: var(--color-text-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-base), transform var(--transition-fast);
}

.link-card:hover .link-card__arrow {
  stroke: var(--color-gold);
  transform: translateX(3px);
}


/* ------------------------------------------------------------
   ANIMATIONS (mirrors register.css)
   ------------------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.5s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.d1 { animation-delay: 0.05s; }


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 540px) {
  .link-card__sub { display: none; }

  .link-card {
    padding: 0.75rem 0.85rem;
  }
}