/* ============================================
   RJP HOSPITALITY — SHARED STYLESHEET
   Used across all pages of the site.
   ============================================ */

:root {
  --ivory: #F4F0E8;
  --ivory-warm: #EDE6D6;
  --taupe: #B8A990;
  --taupe-dark: #847661;
  --olive: #5A5A3E;
  --olive-deep: #3D3D2A;
  --ink: #1A1A17;
  --rule: rgba(26,26,23,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244,240,232,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 0.55; }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--ink);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--ivory) !important;
  opacity: 1 !important;
}

/* MOBILE HAMBURGER */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}

#nav-toggle-checkbox {
  display: none;
}

#nav-toggle-checkbox:checked ~ nav .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#nav-toggle-checkbox:checked ~ nav .nav-toggle span:nth-child(2) {
  opacity: 0;
}
#nav-toggle-checkbox:checked ~ nav .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* MOBILE-ONLY CTA in the top-right */
.nav-mobile-cta {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  z-index: 101;
  transition: all 0.3s ease;
}

.nav-mobile-cta:hover,
.nav-mobile-cta:active {
  background: var(--ink);
  color: var(--ivory);
}

/* ---------- SECTION FRAME ---------- */
section { padding: 90px 56px; position: relative; }

.section-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
  align-items: end;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.section-number {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--taupe-dark);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.section-title em { font-style: italic; color: var(--olive); }

/* ---------- BUTTONS / CTA ---------- */
.cta-button {
  display: inline-block;
  padding: 18px 48px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  background: transparent;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.cta-button:hover { background: var(--ink); color: var(--ivory); }

.cta-button-light {
  border-color: var(--ivory);
  color: var(--ivory);
}

.cta-button-light:hover { background: var(--ivory); color: var(--ink); }

/* ---------- BANNER CTA (used across pages) ---------- */
.banner-cta {
  background: var(--olive-deep);
  color: var(--ivory);
  text-align: center;
  padding: 80px 56px;
}

.banner-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.banner-cta h2 em { font-style: italic; color: var(--taupe); }

.banner-cta p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: rgba(244,240,232,0.78);
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 80px 56px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244,240,232,0.18);
  max-width: 1500px;
  margin: 0 auto;
}

.footer-brand .nav-logo { color: var(--ivory); margin-bottom: 16px; display: inline-block; }

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(244,240,232,0.7);
  margin-top: 8px;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(244,240,232,0.75);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  nav {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-toggle {
    display: block;
    order: 1;
    padding: 6px 4px;
    margin-left: -4px;
  }

  .nav-logo {
    display: none;
  }

  .nav-mobile-cta {
    display: inline-block;
    order: 3;
    justify-self: end;
  }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 40px;
    gap: 0;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--rule);
    z-index: 99;
  }

  #nav-toggle-checkbox:checked ~ nav .nav-links {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--rule);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    font-size: 13px;
    letter-spacing: 0.3em;
    padding: 18px 0;
    color: var(--ink);
  }

  /* Plan With Us in dropdown - stand-out CTA pill */
  .nav-links li:last-child {
    border-bottom: none;
    margin-top: 16px;
  }

  .nav-links .nav-cta {
    background: var(--olive-deep);
    color: var(--ivory) !important;
    text-align: center;
    padding: 18px 24px;
    border: none;
    display: block;
    font-size: 12px;
    letter-spacing: 0.35em;
    transition: background 0.3s ease;
  }

  .nav-links .nav-cta:hover,
  .nav-links .nav-cta:active {
    background: var(--ink);
    color: var(--ivory) !important;
  }

  section { padding: 80px 24px; }
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
  .banner-cta { padding: 80px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
