/* ===== Nef Aura Apartments – colours taken from the logo ===== */
:root {
  --navy: #1f3a52;
  --navy-dark: #152a3c;
  --blue: #3a6f96;
  --sky: #7fb0cc;
  --gold: #c49a6c;
  --gold-dark: #a97f52;
  --cream: #faf8f3;
  --sand: #f2ede3;
  --text: #2b3a47;
  --muted: #6b7a86;

  --font-brand: "Cinzel", Georgia, serif;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 58, 82, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: .8em;
}
.eyebrow.light { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: .9em 2em;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: .65em 1.4em; font-size: .74rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(31,58,82,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { white-space: nowrap; font-family: var(--font-brand); font-size: 1.3rem; color: var(--navy); letter-spacing: .04em; }
.brand-sub { white-space: nowrap; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--blue); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--gold); transition: width .25s;
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; order: 3; margin-left: 24px; }
.main-nav { order: 2; margin-left: auto; }
.lang-select {
  font: inherit; font-size: .8rem; font-weight: 500; color: var(--navy);
  padding: 6px 8px; border: 1px solid #d9d2c3; border-radius: 999px; background: #fff; cursor: pointer;
  max-width: 130px;
}

/* House rules */
.rules { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 14px; }
.rules li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #ebe4d6; border-radius: var(--radius); padding: 18px 22px; }
.rules li p { margin: 0; }
.rule-icon { font-size: 1.5rem; line-height: 1.2; flex-shrink: 0; }

.accept-rules { flex-direction: row !important; align-items: flex-start; gap: 10px !important; margin: 0 0 18px; text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; font-size: .88rem !important; color: var(--text) !important; line-height: 1.5; cursor: pointer; }
.accept-rules input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gold-dark); }
.accept-rules a { color: var(--blue); text-decoration: underline; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* TODO: add a real photo as the first background layer, e.g.
     background: linear-gradient(rgba(21,42,60,.55), rgba(21,42,60,.35)), url(../images/hero.jpg) center/cover; */
  background: linear-gradient(180deg, #1f3a52 0%, #3a6f96 45%, #d9b48c 85%, #e8c9a2 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0 180px;
}
.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo .hero-sun { display: none; }
.hero-sun {
  position: absolute;
  left: 50%;
  bottom: 120px;
  width: 360px; height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid rgba(232, 201, 162, .75);
  background: radial-gradient(circle, rgba(255,226,180,.35) 0%, rgba(255,226,180,0) 70%);
}
.hero-waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 220px; }
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { color: #f0d8b8; }
.hero h1 {
  font-family: var(--font-brand);
  color: #fff;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: .3em;
}
.hero h1 span {
  display: block;
  font-family: var(--font-body);
  font-size: .24em;
  font-weight: 400;
  letter-spacing: .5em;
  margin-top: .8em;
  color: #f0d8b8;
}
.hero-lead { max-width: 560px; margin: 0 auto 2em; font-size: 1.05rem; font-weight: 300; opacity: .95; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-tint { background: var(--sand); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section-navy h2 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--muted); }

.divider { display: flex; align-items: center; gap: 12px; color: var(--gold); margin: 0 0 1.6em; }
.divider span { width: 50px; height: 1px; background: var(--gold); }
.divider svg { width: 24px; height: 16px; }

/* Placeholders until real photos are added */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 100%);
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.photo-placeholder.tall { aspect-ratio: 4 / 5; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-media::before {
  content: ""; position: absolute; inset: 24px -16px -24px 24px;
  border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1;
}

/* Apartments */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; }
.card:hover { transform: translateY(-6px); }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.card-photo .photo-placeholder { border-radius: 0; height: 100%; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.price { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy) !important; margin: .4em 0 1.2em; }
.price:empty { display: none; }
.price strong { font-size: 1.7rem; font-weight: 600; color: var(--gold-dark); }
.card-body { padding: 26px 28px 30px; }
.card-body h3 { margin-bottom: .2em; }
.card-meta { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1em; }
.card-body p:not(.card-meta) { color: var(--muted); font-size: .95rem; }
.link-arrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.link-arrow:hover { color: var(--gold-dark); }

/* Amenities */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.amenities li {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 30px 16px; text-align: center;
  background: #fff; border: 1px solid #ebe4d6; border-radius: var(--radius);
  font-size: .9rem; color: var(--navy);
}
.amenities svg { width: 34px; height: 34px; fill: none; stroke: var(--gold-dark); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.distances { list-style: none; padding: 0; margin: 1.5em 0 0; }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.distances li span:last-child { color: var(--gold); }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 2px solid rgba(196,154,108,.5); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.btn-directions { margin-top: 16px; }
.main-nav a { white-space: nowrap; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .photo-placeholder { aspect-ratio: 1; }
.gallery .g-wide { grid-column: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gallery img.g-wide { aspect-ratio: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2em 0 0; }
.contact-list li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid #e1d8c7; }
.contact-list strong { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }

.booking-form { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form label { display: flex; flex-direction: column; gap: 6px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); font-weight: 500; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  font: inherit; font-size: .95rem; text-transform: none; letter-spacing: normal; color: var(--text);
  padding: 12px 14px; border: 1px solid #d9d2c3; border-radius: 8px; background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,111,150,.15); }
.btn-whatsapp { background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.booking-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 16px; margin-bottom: 18px; background: var(--sand); border-radius: 8px; color: var(--navy); font-size: .95rem; }
.booking-summary strong { color: var(--gold-dark); }
.booking-summary .sum-deal { width: 100%; color: #14532d; }
.booking-summary .sum-deal strong { color: #15803d; font-size: 1.05rem; }
.form-error { margin: 0 0 18px; padding: 12px 16px; border-radius: 8px; background: #fdecea; color: #a12a1f; font-size: .9rem; }
.closed-notice { margin: 0 0 20px; padding: 14px 16px; border-radius: 8px; background: #fbf4ea; border-left: 4px solid var(--gold); color: var(--navy); font-size: .92rem; }
/* Direct-booking discount */
.deal-banner { margin: 0 0 20px; padding: 12px 16px; border-radius: 8px; background: #e7f8ee; border-left: 4px solid #25d366; color: #14532d; font-size: .92rem; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s, background .2s;
}
.wa-float:hover { transform: translateY(-2px); background: #1ebe5a; }
.wa-float svg { width: 34px; height: 34px; flex-shrink: 0; }
.wa-float-text { display: flex; flex-direction: column; line-height: 1.15; }
.wa-float-text strong { font-size: .9rem; font-weight: 600; }
.wa-float-text small { font-size: .74rem; font-weight: 700; background: #fff; color: #128c4a; border-radius: 999px; padding: 1px 8px; margin-top: 3px; align-self: flex-start; }

.form-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.contact-list a { color: var(--blue); }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 60px 0 30px; text-align: center; }
.footer-logo { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 16px; }
.footer-tag { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.footer-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 24px 0; }
.footer-nav a { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }
.copy { font-size: .78rem; margin: 0; opacity: .6; }

/* ===== Responsive ===== */
@media (max-width: 1150px) {
  .main-nav { gap: 18px; }
  .main-nav a:not(.btn) { font-size: .72rem; letter-spacing: .08em; }
}

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 460px; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 22px; padding: 30px 20px;
    background: var(--cream); box-shadow: 0 10px 20px rgba(31,58,82,.08);
    display: none;
  }
  .main-nav.open { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .cards, .cards-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .booking-form { padding: 24px; }
  .hero-sun { width: 240px; height: 240px; }
  .brand-sub { display: none; }
  .lang-select { max-width: 104px; font-size: .74rem; }
  .brand-logo { width: 44px; height: 44px; }
  .about-media::before { inset: 16px -12px -16px 12px; }
  .wa-float { right: 12px; padding: 8px 14px 8px 10px; }
  .wa-float svg { width: 30px; height: 30px; }
  .site-footer { padding-bottom: 100px; }
}
