/* ===========================
   ARRID CLUB — SHARED STYLES
   =========================== */

:root {
  --sand:       #F2E6C9;
  --parchment:  #EDD9A3;
  --terracotta: #C0562A;
  --rust:       #A03E1A;
  --deep:       #2C1A0E;
  --sage:       #6B7F5E;
  --palm:       #4A7C59;
  --palm-light: #D4E8DA;
  --sky:        #7BAEC4;
  --gold:       #D4A843;
  --cream:      #FAF5EA;
  --mid:        #5C2E0A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--cream);
  color: var(--deep);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: var(--parchment);
  color: var(--deep);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

/* ===========================
   NAVIGATION
   =========================== */

.site-nav {
  background: var(--deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 60px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--parchment);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8a97a;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--parchment);
  background: rgba(255,255,255,0.08);
}
.nav-links a.active {
  color: #7EC896;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--parchment);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--deep);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.95rem; padding: 0.6rem 0.5rem; }
}

/* ===========================
   PAGE HERO (shared)
   =========================== */

.page-hero {
  background: linear-gradient(160deg, var(--deep) 0%, var(--mid) 60%, var(--terracotta) 100%);
  padding: 1.8rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 80%, rgba(212,168,67,0.18) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 20%, rgba(74,124,89,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero .deco { font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  color: var(--parchment);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.page-hero h1 span { color: var(--gold); }
.page-hero .hero-sub {
  color: var(--sand);
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0.6rem;
  font-weight: 300;
}

/* Gold divider */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: linear-gradient(135deg, var(--deep), #3D2210);
  color: var(--sand);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: auto;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--parchment);
  margin-bottom: 0.5rem;
}
.footer-logo span { color: var(--gold); }
.footer-address {
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  margin-bottom: 1.2rem;
}
.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8a97a;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-links a:hover { color: #7EC896; }
.footer-copy {
  font-size: 0.72rem;
  opacity: 0.4;
  letter-spacing: 0.1em;
}

/* ===========================
   UTILITY
   =========================== */

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--rust);
  text-align: center;
  margin-bottom: 0.4rem;
}
.section-title.green { color: #3A6B48; }
.section-sub {
  text-align: center;
  font-size: 0.85rem;
  color: #8a6a4a;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.event-photo-credit {
  margin-top: .65rem;
  font-size: .78rem;
  font-style: italic;
  color: #7a6050;
  text-align: right;
}

/* About-only improvements. Existing pages and palette variables are unchanged. */
.about-page { font-family: 'Source Sans 3', Arial, sans-serif; }
.about-page .footer-copy { opacity: 0.75; }
.about-page :is(a, button):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.about-page #main-content { scroll-margin-top: 60px; }
.about-page .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
/* Collapse before the full navigation crowds the logo on tablet widths. */
@media (min-width: 601px) and (max-width: 960px) {
  .about-page .nav-toggle { display: flex; }
  .about-page .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--deep); flex-direction: column;
    padding: 1rem 1.5rem 1.5rem; gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .about-page .nav-links.open { display: flex; }
  .about-page .nav-links a { font-size: 0.95rem; padding: 0.6rem 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page *, .about-page *::before, .about-page *::after { transition: none; }
}

/* Contact-only improvements; preserve shared and About-page styles above. */
.contact-page { font-family: 'Source Sans 3', Arial, sans-serif; }
.contact-page #main-content { scroll-margin-top: 60px; }
.contact-page .contact-card .directions-btn { color: var(--deep); }
.contact-page .directions-btn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.contact-page .facebook-btn { background: #1565c0; }
.contact-page .facebook-btn:hover { background: #104f98; }
.contact-page .expect-sub { color: #75563c; }
.contact-page .footer-copy { opacity: 0.75; }
.contact-page :is(a, button):focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.contact-page .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.contact-page .carousel-dots { bottom: 4px; gap: 0; }
.contact-page .dot {
  width: 44px; height: 44px; background: transparent;
  display: grid; place-items: center; color: white;
}
.contact-page .dot::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: white; box-shadow: 0 0 0 2px #2c1a0e;
}
.contact-page .dot.active::before { background: #D4A843; }
.contact-page .carousel-btn { background: rgba(44,26,14,0.85); }
.contact-page .carousel-track { will-change: auto; }
.contact-page .map-placeholder {
  height: 100%; padding: 1.5rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  text-align: center; background: var(--sand); line-height: 1.7;
}
.contact-page .map-placeholder button {
  border: 0; font-family: inherit; cursor: pointer; margin-top: 0;
}
.contact-page .map-placeholder [hidden] { display: none; }
.contact-page .map-placeholder a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 601px) and (max-width: 960px) {
  .contact-page .nav-toggle { display: flex; }
  .contact-page .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--deep); flex-direction: column;
    padding: 1rem 1.5rem 1.5rem; gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .contact-page .nav-links.open { display: flex; }
  .contact-page .nav-links a { font-size: 0.95rem; padding: 0.6rem 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page *, .contact-page *::before, .contact-page *::after { transition: none; }
}
.contact-page .dot.active { background: transparent; }
