/* ============================================================
   THE FULBARI RESORT & SPA — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: #1a1a1a;
  color: #F5F0E8;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

p { color: #a89880; font-weight: 300; font-size: 1rem; line-height: 1.9; }

.text-gold   { color: #C9A84C; }
.text-cream  { color: #F5F0E8; }
.text-muted  { color: #a89880; }

/* ── Gold Divider ── */
.gold-line {
  display: block;
  width: 60px;
  height: 1px;
  background: #C9A84C;
  margin: 1.5rem auto;
}
.gold-line--left { margin-left: 0; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: #1a1a1a;
  border-bottom-color: rgba(201,168,76,0.25);
}

.nav__logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
  mix-blend-mode: multiply;
}
.nav__logo img:hover { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F5F0E8;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { color: #C9A84C; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: #F5F0E8;
  transition: all 0.3s;
}

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #F5F0E8;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.nav__mobile a:hover,
.nav__mobile a.active { color: #C9A84C; }
.nav__mobile-close {
  position: absolute;
  top: 2rem; right: 2.5rem;
  background: none;
  border: none;
  color: #F5F0E8;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero--half {
  height: 50vh;
  min-height: 380px;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: high-quality;
  filter: contrast(1.08) brightness(0.92) saturate(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 860px;
}

.hero__logo { height: 110px; width: auto; margin: 0 auto 2rem; object-fit: contain; mix-blend-mode: multiply; }

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 300;
  color: #F5F0E8;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.hero__sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 2.5rem;
}

.hero__page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: #F5F0E8;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  border: 1px solid #C9A84C;
  color: #F5F0E8;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: #C9A84C; color: #1a1a1a; }
.btn--gold  { background: #C9A84C; color: #1a1a1a; }
.btn--gold:hover { background: transparent; color: #F5F0E8; }
.btn--full  { width: 100%; text-align: center; }

/* ── Section Wrapper ── */
.section {
  padding: 7rem 3rem;
}
.section--dark  { background: #1a1a1a; }
.section--darker { background: #111; }
.section--mid   { background: #1f1f1f; }

.container {
  max-width: 1180px;
  margin: 0 auto;
}
.container--narrow { max-width: 800px; margin: 0 auto; }

/* ── Fade-in animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in--delay-1 { transition-delay: 0.15s; }
.fade-in--delay-2 { transition-delay: 0.3s; }
.fade-in--delay-3 { transition-delay: 0.45s; }
.fade-in--delay-4 { transition-delay: 0.6s; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { color: #F5F0E8; margin-bottom: 0.5rem; }
.section-header p  { max-width: 620px; margin: 0 auto; }

/* ── Feature Tiles ── */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.tile:hover img { transform: scale(1.06); }

.tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: background 0.3s;
}
.tile:hover .tile__overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%); }

.tile__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #F5F0E8;
  letter-spacing: 0.03em;
}
.tile__arrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-top: 0.4rem;
  font-family: 'Lato', sans-serif;
}

/* ── Stats Bar ── */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: #111;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.stat {
  text-align: center;
  padding: 3.5rem 3rem;
  flex: 1;
  min-width: 150px;
  border-right: 1px solid rgba(201,168,76,0.15);
}
.stat:last-child { border-right: none; }

.stat__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: #C9A84C;
  line-height: 1;
  display: block;
}
.stat__label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F5F0E8;
  margin-top: 0.6rem;
  display: block;
}

/* ── Parallax Quote ── */
.parallax {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.parallax__img {
  position: absolute;
  inset: -60px 0;
  width: 100%;
  height: calc(100% + 120px);
  object-fit: cover;
  object-position: center;
}
.parallax__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}
.parallax__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 4rem 2rem;
}
.parallax__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: #F5F0E8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.parallax__attribution {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A84C;
}

/* ── 3-column Highlights ── */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.highlight {
  text-align: center;
  padding: 2rem 1rem;
}
.highlight__icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
  color: #C9A84C;
}
.highlight h3 { color: #F5F0E8; margin-bottom: 1rem; font-size: 1.5rem; }
.highlight p  { font-size: 0.9rem; }

/* ── Alternating Room / Dining Cards ── */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.alt-row__img {
  overflow: hidden;
}
.alt-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.alt-row:hover .alt-row__img img { transform: scale(1.04); }

.alt-row__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5rem;
  background: #1f1f1f;
}

.alt-row--reverse .alt-row__img { order: 2; }
.alt-row--reverse .alt-row__text { order: 1; background: #1a1a1a; }

.alt-row__eyebrow {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 1rem;
}
.alt-row__title { color: #F5F0E8; margin-bottom: 1.5rem; }
.alt-row__body  { color: #a89880; margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.85; }

/* ── Icon Grid (amenities) ── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.amenity-item__icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #C9A84C;
  flex-shrink: 0;
}
.amenity-item__label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F5F0E8;
  font-weight: 400;
}

/* ── CTA Banner ── */
.cta-banner {
  background: #111;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  text-align: center;
  padding: 5rem 2rem;
}
.cta-banner h3 { color: #F5F0E8; margin-bottom: 1rem; font-size: 2rem; }
.cta-banner p  { max-width: 560px; margin: 0 auto 2.5rem; font-size: 0.95rem; }

/* ── Photo Gallery Strip ── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  background: #111;
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.3s;
}
.gallery-strip img:hover { opacity: 0.8; }

/* ── Timeline ── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  padding: 3rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 3.6rem;
  left: 0; right: 0;
  height: 1px;
  background: rgba(201,168,76,0.25);
}
.timeline-item { text-align: center; }
.timeline-item__year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: #C9A84C;
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
}
.timeline-item__year::after {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: #C9A84C;
  border-radius: 50%;
  margin: 0.8rem auto 0;
}
.timeline-item__text { font-size: 0.85rem; color: #a89880; }

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: opacity 0.3s;
}
.gallery-grid img:hover { opacity: 0.8; }

/* ── Enquire Page ── */
.enquire-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 { color: #F5F0E8; font-size: 2rem; margin-bottom: 1.5rem; }
.contact-info p  { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.contact-detail__icon { color: #C9A84C; font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-detail__text { color: #a89880; font-size: 0.9rem; line-height: 1.6; }
.contact-detail__text a { color: #a89880; transition: color 0.3s; }
.contact-detail__text a:hover { color: #C9A84C; }

/* Form */
.enquire-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a89880;
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #2a2a2a;
  border: 1px solid rgba(201,168,76,0.2);
  color: #F5F0E8;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1.2rem;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #C9A84C; }
.form-group select { cursor: pointer; }
.form-group option { background: #2a2a2a; }
.form-group textarea { resize: vertical; min-height: 150px; }

/* ── Footer ── */
.footer {
  background: #111;
  text-align: center;
  padding: 5rem 2rem 3rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.footer__logo { height: 80px; width: auto; margin: 0 auto 1.5rem; object-fit: contain; mix-blend-mode: multiply; }
.footer__tagline {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 2.5rem;
}
.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(201,168,76,0.2);
  margin: 2rem 0;
}
.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
  list-style: none;
}
.footer__nav a {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a89880;
  transition: color 0.3s;
}
.footer__nav a:hover { color: #C9A84C; }
.footer__contact {
  margin-bottom: 2rem;
}
.footer__contact p { font-size: 0.85rem; margin-bottom: 0.3rem; color: #a89880; }
.footer__contact a { color: #a89880; transition: color 0.3s; }
.footer__contact a:hover { color: #C9A84C; }
.footer__copy {
  font-size: 0.72rem;
  color: rgba(168,152,128,0.5);
  letter-spacing: 0.08em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip img:nth-child(4),
  .gallery-strip img:nth-child(5) { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .section { padding: 5rem 1.5rem; }

  .alt-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .alt-row__img { aspect-ratio: 16/9; }
  .alt-row__text { padding: 3rem 2rem; }
  .alt-row--reverse .alt-row__img { order: 0; }
  .alt-row--reverse .alt-row__text { order: 1; }

  .enquire-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }

  .highlights { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.15); padding: 2.5rem; }
  .stat:last-child { border-bottom: none; }

  .tiles { grid-template-columns: 1fr 1fr; }

  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip img:nth-child(5) { display: none; }
  .gallery-strip img:nth-child(4) { display: block; }

  .timeline { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__nav { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}
