/* Aura Penthouse Jerusalem — site styles (v3: bold dark luxury) */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --bg: #2b251c;
  --bg-raised: #362e21;
  --text: #ece5d8;
  --muted: #b3ab9c;
  --muted-dim: #71695c;
  --accent: #c9a24a;
  --line: rgba(236, 229, 216, 0.12);
  --whatsapp: #2f9d6f;
  --instagram: #e80056;
  --max-width: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Jost', 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3, h4 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  border-bottom: 1px solid transparent;
}

.site-header.solid {
  position: fixed;
  background: rgba(43, 37, 28, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-text {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: var(--text);
}

nav.main-nav {
  display: flex;
  gap: 30px;
}

nav.main-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
}

nav.main-nav a:hover { color: var(--text); }

nav.main-nav a.current {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.92;
}

.icon-btn svg { width: 18px; height: 18px; }

.icon-btn.whatsapp { background: var(--whatsapp); }
.icon-btn.instagram { background: var(--instagram); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,37,28,0.16) 0%, rgba(43,37,28,0.02) 32%, rgba(43,37,28,0.32) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px 70px;
}

.hero-eyebrow { margin-bottom: 22px; }

.hero-title {
  max-width: 900px;
  font-size: 52px;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-quote {
  max-width: 380px;
  color: var(--muted);
  z-index: 2;
}

.hero-quote p {
  font-style: italic;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 8px;
}

.hero-quote cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Feature grid */
.features {
  background: var(--bg-raised);
  padding: 90px 0 100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
}

.feature {
  text-align: center;
}

.feature img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 22px;
  object-fit: cover;
  border: 1px solid var(--accent);
  padding: 4px;
}

.feature h3 {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  padding: 40px 0;
}

.about-split .photo-wrap {
  position: relative;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.about-split .photo {
  width: 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
}

.about-split .photo-quote {
  position: absolute;
  left: 8px;
  bottom: 30px;
  background: var(--bg);
  border: 1px solid var(--accent);
  padding: 24px 30px;
  max-width: 280px;
}

.about-split .photo-quote p {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: var(--text);
}

.about-split .photo-quote cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-split .copy {
  padding: 90px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  font-size: 16px;
}

.about-split .copy .eyebrow { margin-bottom: -6px; }

.about-split .copy p { margin: 0; color: var(--muted); line-height: 1.85; }
.about-split .copy .lede {
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
}

.about-split .copy strong { color: var(--text); }

.about-split .stats-row {
  display: flex;
  gap: 40px;
  margin-top: 6px;
}

.about-split .stats-row div div:first-child {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 30px;
  color: var(--accent);
}

.about-split .stats-row div div:last-child {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Explore the space */
.explore {
  position: relative;
  padding: 100px 40px;
  text-align: center;
  color: var(--text);
  overflow: hidden;
  background: var(--bg);
}

.explore-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.explore-bg div {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: brightness(0.5) saturate(0.85);
  animation: explore-fade 18s infinite;
}

.explore-bg div:nth-child(1) { background-image: url('/images/explore/bg-1.jpg'); animation-delay: 0s; }
.explore-bg div:nth-child(2) { background-image: url('/images/explore/bg-2.jpg'); animation-delay: 6s; }
.explore-bg div:nth-child(3) { background-image: url('/images/explore/bg-3.jpg'); animation-delay: 12s; }

@keyframes explore-fade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  33% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}

.explore::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(43,37,28,0.55);
}

.explore h2,
.explore .eyebrow,
.explore-links {
  position: relative;
  z-index: 2;
}

.explore .eyebrow { display: block; margin-bottom: 26px; }

.explore h2 {
  font-size: 40px;
  margin-bottom: 40px;
  color: var(--text);
}

.explore-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(236,229,216,0.25);
}

.explore-links a {
  background: var(--bg);
  padding: 14px 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.explore-links a:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border-top: 1px solid var(--line);
}

.testimonials .side {
  background: var(--bg-raised);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials .side h2 {
  font-size: 34px;
  max-width: 320px;
  color: var(--text);
}

.testimonials .side .sub {
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}

.testimonials .quote-panel {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.quote-slide {
  display: none;
  max-width: 460px;
}
.quote-slide.active { display: block; }

.quote-slide p {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 22px;
  line-height: 1.5;
}

.quote-slide cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dots {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}

.dots button.active { background: var(--accent); }

/* Footer */
footer {
  background: var(--bg);
  padding: 90px 40px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

footer h2 {
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-contact {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 60px auto 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-dim);
  text-align: center;
}

/* Sub-page gallery layout */
.page-hero {
  padding: 170px 40px 60px;
  text-align: center;
  background: var(--bg);
}

.page-hero .eyebrow { display: block; margin-bottom: 20px; }

.page-hero h1 {
  font-size: 42px;
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
}

.page-hero p {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: var(--line);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  filter: brightness(0.88) saturate(0.95);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery img:hover {
  filter: brightness(1) saturate(1);
}

.gallery .wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

/* Floating WhatsApp popup widget */
.wa-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  color: #fff;
  animation: wa-pulse 2.4s ease-in-out infinite;
}

.wa-fab svg { width: 30px; height: 30px; }

.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.wa-bubble {
  max-width: 260px;
  background: var(--bg-raised);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 14px 34px 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  position: relative;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-widget.show .wa-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-widget.dismissed .wa-bubble {
  display: none;
}

.wa-bubble strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.wa-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 0 rgba(47,157,111,0.5); }
  50% { box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 10px rgba(47,157,111,0); }
}

/* Responsive */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .testimonials, .footer-grid { grid-template-columns: 1fr; }
  .about-split .photo { min-height: 380px; }
  .about-split .photo-quote { position: static; margin-top: -60px; margin-left: 24px; margin-right: 24px; max-width: none; }
  .footer-links { text-align: left; }
  .hero-title { font-size: 34px; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 30px;
    gap: 16px;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--line);
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .explore-links { flex-direction: column; gap: 0; }
  .site-header { padding: 18px 20px; }
  .wrap { padding: 0 20px; }

  /* Mobile: lead with the photo, trim the text */
  .hero-sub { display: none; }
  .hero-title { font-size: 30px; margin-bottom: 24px; }
  .hero-quote { display: none; }
  .hero-bottom { justify-content: center; }
  .hero::after { background: linear-gradient(180deg, rgba(43,37,28,0.16) 0%, rgba(43,37,28,0.02) 30%, rgba(43,37,28,0.3) 100%); }
  .hero::before { filter: none; }
  .features { padding: 56px 0 64px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .feature img { width: 76px; height: 76px; }
  .feature-sub { display: none; }
  .feature h3 { font-size: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide { aspect-ratio: 4/3; }
  .page-hero { padding: 140px 20px 40px; }
  .wa-widget { right: 16px; bottom: 16px; left: 16px; align-items: flex-end; }
  .wa-bubble { max-width: min(260px, calc(100vw - 90px)); font-size: 13px; }
  .page-hero h1 { font-size: 28px; }
  .about-split .copy { padding: 60px 24px; }
  .about-split .photo-wrap { padding: 0 24px; }
}
