/* ==========================================================
   Newwoodland Hotel & Lounge — main stylesheet
   ========================================================== */

:root {
  --brand: #5c1a2e;         /* deep maroon */
  --brand-dark: #431220;
  --accent: #d4af37;        /* gold */
  --accent-dark: #8a6a12;   /* gold dark enough for text on light backgrounds */
  --on-accent: #2a1a08;     /* text on gold */
  --cream: #faf6f0;
  --sand: #f1e8df;
  --ink: #2a2024;
  --muted: #6a5f62;
  --white: #ffffff;
  --whatsapp: #1fa855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(67, 18, 32, 0.08);
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-padding-top: 104px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, .navbar-brand, .footer-brand { font-family: var(--font-heading); }

a { color: var(--brand); }
img { max-width: 100%; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 8px 14px;
  background: var(--white);
  border-radius: 8px;
}

/* ---------- Placeholders for pending client data ---------- */
.pending {
  display: inline-block;
  padding: 2px 10px;
  border: 1px dashed var(--accent);
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-style: italic;
}

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 500; padding-inline: 1.4rem; transition: all 0.2s ease; }
.btn-sm { padding-inline: 1rem; }

.btn-brand { background: linear-gradient(135deg, #dcb93f, #b8922a); border: 1px solid #c29c2e; color: var(--on-accent); }
.btn-brand:hover, .btn-brand:focus-visible { background: linear-gradient(135deg, #c9a630, #a07e20); border-color: #a07e20; color: var(--on-accent); }

.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover, .btn-outline-brand:focus-visible { background: var(--brand); color: var(--white); }

.btn-whatsapp { background: var(--whatsapp); border: 1px solid var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #178a45; color: var(--white); }

.btn:focus-visible { outline: 3px solid rgba(212, 175, 55, 0.5); outline-offset: 2px; }

/* ---------- Navigation ---------- */
.site-nav {
  padding: 1rem 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.is-scrolled,
.site-nav:has(.navbar-collapse.show),
.site-nav:has(.navbar-collapse.collapsing) {
  background: var(--brand);
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.navbar-brand { color: var(--white); font-size: 1.35rem; font-weight: 700; }
.navbar-brand:hover { color: var(--white); }
/* Full logo: large over the hero, smaller once the navbar is solid */
.brand-logo {
  display: block;
  width: auto;
  height: 96px;
  transition: height 0.3s ease;
}
.site-nav.is-scrolled .brand-logo,
.site-nav:has(.navbar-collapse.show) .brand-logo,
.site-nav:has(.navbar-collapse.collapsing) .brand-logo { height: 72px; }
@media (max-width: 991.98px) {
  .brand-logo { height: 76px; }
  .site-nav.is-scrolled .brand-logo,
  .site-nav:has(.navbar-collapse.show) .brand-logo,
  .site-nav:has(.navbar-collapse.collapsing) .brand-logo { height: 60px; }
}

.site-nav .nav-link { color: rgba(255, 255, 255, 0.85); font-weight: 500; padding: 0.5rem 0.8rem !important; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--accent); }

.navbar-toggler { border: 0; color: var(--white); font-size: 1.8rem; padding: 0 0.25rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--accent); }

@media (max-width: 991.98px) {
  .site-nav .navbar-nav { padding: 0.75rem 0 0.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  color: var(--white);
  /* Hero photo pending from client. When supplied, use:
     background: linear-gradient(rgba(67, 18, 32, 0.75), rgba(67, 18, 32, 0.55)),
                 url("../images/hero.webp") center / cover no-repeat; */
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.2), transparent 55%),
    linear-gradient(135deg, var(--brand), var(--brand-dark) 60%, #6a1f33);
}
.hero-content > * { max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); margin-bottom: 2rem; }

/* Hero animation: content rises in one line at a time over a slowly drifting gold glow */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 70% 35%, rgba(212, 175, 55, 0.16), transparent 45%);
  animation: hero-glow 16s ease-in-out infinite alternate;
}
.hero-content > * { animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-content > :nth-child(1) { animation-delay: 0.15s; }
.hero-content > :nth-child(2) { animation-delay: 0.35s; }
.hero-content > :nth-child(3) { animation-delay: 0.6s; }
.hero-content > :nth-child(4) { animation-delay: 0.85s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-glow {
  from { transform: translate(-6%, -3%) scale(1); }
  to { transform: translate(6%, 4%) scale(1.12); }
}

/* Soft sheen across the gold hero button on hover */
.hero .btn-brand { position: relative; overflow: hidden; }
.hero .btn-brand::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.hero .btn-brand:hover::after, .hero .btn-brand:focus-visible::after { left: 120%; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.hero .eyebrow, .social-section .eyebrow { color: var(--accent); }

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: var(--brand); margin-bottom: 1rem; }

@media (max-width: 767.98px) { .section { padding: 64px 0; } }

.about-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.about-caption { margin-top: 0.6rem; color: var(--muted); font-size: 0.9rem; text-align: center; }

.founders { margin-top: 4rem; text-align: center; }
.founders-title { font-size: 1.7rem; color: var(--brand); margin-bottom: 2rem; }
.founder-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3.5rem; padding: 0; margin: 0; }
.founder-list li { display: flex; flex-direction: column; align-items: center; width: 190px; }
.founder-list strong { color: var(--brand); font-weight: 600; }
.founder-list li > span:last-child { color: var(--muted); font-size: 0.9rem; }
.founder-initials {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.book-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 4rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
}
.book-cta h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 0.25rem; }
.book-cta p { margin: 0; }

/* ---------- Room cards ---------- */
.room-card {
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67, 18, 32, 0.14); }
.room-card .card-img-top { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.room-card .card-body { display: flex; flex-direction: column; padding: 1.5rem; }
.room-card .card-title { font-size: 1.35rem; color: var(--brand); }
.room-card p { color: var(--muted); }

.amenities-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.amenities { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; padding: 0; margin: 0 0 1.25rem; font-size: 0.92rem; }
.amenities li::before { content: "\2713"; color: var(--accent-dark); margin-right: 0.35rem; }

.room-card .room-count { font-size: 0.85rem; margin-bottom: 0.75rem; }
.room-card .room-price { margin: auto 0 1rem; color: var(--brand); font-size: 1.15rem; font-weight: 600; }
.room-price span { color: var(--muted); font-size: 0.85rem; font-weight: 400; }

.room-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.room-actions .btn { flex: 1 1 auto; }

/* ---------- Facilities ---------- */
.facility-card {
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.facility-card:hover { transform: translateY(-4px); }
.facility-card .bi {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brand);
  font-size: 1.7rem;
}
.facility-card h3 { font-size: 1.2rem; color: var(--brand); }
.facility-card p { margin: 0; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); opacity: 0.9; }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } }

/* Lightbox */
.lightbox-content { position: relative; background: transparent; border: 0; align-items: center; }
.lightbox-content img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 10px; }
.lightbox-caption { color: var(--white); margin: 0.75rem 0 0; text-align: center; }
.lightbox-close { position: absolute; top: -2.25rem; right: 0.25rem; opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 1.3rem;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: var(--accent); color: var(--on-accent); }
.lightbox-nav.prev { left: 0.5rem; }
.lightbox-nav.next { right: 0.5rem; }
.modal-backdrop.show { opacity: 0.9; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 2.25rem 1.75rem 1.75rem;
  background: var(--white);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(67, 18, 32, 0.14); }
.testimonial-mark {
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  color: var(--sand);
  font-size: 4rem;
  line-height: 1;
}
.testimonial-stars { color: var(--accent); font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 1rem; }
.testimonial-title { margin: 0 0 0.75rem; padding-right: 3rem; color: var(--brand); font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; }
.testimonial-card blockquote { flex: 1; margin: 0; }
.testimonial-card blockquote p { margin: 0; color: var(--ink); font-style: italic; }
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 0 3rem 1.25rem 0;
  border-bottom: 1px solid var(--sand);
}
.testimonial-card figcaption strong { display: block; color: var(--brand); font-weight: 600; line-height: 1.3; }
.testimonial-card figcaption a { color: var(--accent-dark); font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.testimonial-card figcaption a:hover { color: var(--brand); text-decoration: underline; }
.testimonial-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

/* ---------- Info panels (location, contact, form) ---------- */
.info-panel {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section-alt .info-panel { background: var(--cream); box-shadow: none; }
.info-panel h3 { font-size: 1.3rem; color: var(--brand); }
.info-panel address { margin-bottom: 1.5rem; }

.map-wrap {
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-pending { margin: 1rem; text-align: center; }

.btn.disabled { opacity: 0.55; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.contact-list li { display: flex; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--sand); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .bi {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
}
.contact-list strong { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.contact-list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
[data-phones] a { display: block; }

/* Form */
.form-label { font-weight: 500; font-size: 0.92rem; }
.form-control, .form-select { border-radius: 10px; padding: 0.7rem 0.9rem; border-color: #dccfc6; background-color: var(--white); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.2); }
.form-status { margin-top: 0.75rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: #1d7a45; }
.form-status.is-error { color: #b42318; }

/* ---------- Social ---------- */

.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-links a:not(.is-pending):hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.social-links a.is-pending { cursor: not-allowed; }
.social-section { background: var(--brand); color: rgba(255, 255, 255, 0.85); }
.social-section .section-title { color: var(--white); }
.social-section .social-links { justify-content: center; margin-top: 1.5rem; }
.social-section .social-links a { width: 60px; height: 60px; border-color: var(--accent); color: var(--accent); font-size: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: rgba(255, 255, 255, 0.7); padding: 64px 0 24px; font-size: 0.95rem; }
.footer-brand { color: var(--white); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-brand span { color: var(--accent); font-size: 1rem; font-weight: 500; }
.footer-logo {
  display: block;
  width: auto;
  height: 140px;
  margin-bottom: 1rem;
}
.footer-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; overflow-wrap: anywhere; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-links a[href]:hover { color: var(--accent); }
.site-footer .pending { color: var(--accent); background: transparent; font-size: 0.8rem; }
.copyright { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hero::before, .hero-content > * { animation: none; }
}
