/* Appartement Viola — Website */

:root {
  --ink: #1c1c1a;
  --paper: #ffffff;
  --paper-alt: #f5f4f1;
  --line: #e2e0da;
  --muted: #6b6b64;
  --accent: #55494f;
  --radius: 2px;
  --max-width: 1180px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a { position: relative; padding-bottom: 4px; }
.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease;
  border: 1px solid var(--ink);
  cursor: pointer;
}

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

.nav-cta { display: none; }
@media (min-width: 980px) { .nav-cta { display: inline-block; } }

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}
@media (min-width: 980px) { .menu-toggle { display: none; } }

.nav-links { display: none; }
@media (min-width: 980px) { .nav-links { display: flex; } }

.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--paper);
  padding: 24px 32px;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero .container {
  display: grid;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-bottom: 0;
  }
}

.hero-copy { padding-bottom: 56px; display: flex; flex-direction: column; justify-content: center; }

.hero-eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-outline {
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.hero-image { overflow: hidden; border: 1px solid var(--line); align-self: start; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.hero-fact {
  text-align: left;
  padding: 20px 24px 0 0;
  margin-right: 24px;
}
.hero-fact strong { display: block; font-size: 1.3rem; color: var(--ink); font-weight: 700; }
.hero-fact span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Section basics */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
main > section:last-child { border-bottom: none; }
.section-alt { background: var(--paper-alt); }

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
  display: block;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.section-intro { max-width: 65ch; color: var(--muted); margin-bottom: 48px; }

/* About */
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-grid img { border: 1px solid var(--line); }
.about-text p { margin-bottom: 16px; color: var(--muted); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px) {
  .amenities-grid { grid-template-columns: repeat(4, 1fr); }
}
.amenity {
  background: var(--paper);
  padding: 32px 20px;
  text-align: left;
}
.amenity .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  color: var(--ink);
}
.amenity span { font-size: 0.9rem; font-weight: 500; }

/* Reviews */
.rating-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.rating-badge {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 22px;
}
.rating-badge strong { font-size: 1.6rem; font-weight: 700; }
.rating-badge span { font-size: 0.85rem; color: var(--muted); }

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial { background: var(--paper); padding: 28px 26px; }
.testimonial .stars { display: block; margin-bottom: 14px; color: var(--ink); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial p { color: var(--ink); font-size: 0.95rem; margin-bottom: 14px; }
.testimonial .source { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

/* Location */
.location-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
}
.location-card {
  background: var(--paper);
  padding: 40px;
}
.location-card address { font-style: normal; margin-bottom: 20px; line-height: 1.8; }
.location-list { list-style: none; }
.location-list li { padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.location-list li:last-child { border-bottom: none; }

/* Booking */
.booking-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
}
#apartmentIframeAll iframe { width: 100%; border: 0; }

/* Footer */
footer {
  background: var(--ink);
  color: #e7e5e0;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
footer h3 {
  margin-bottom: 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a39d95;
  font-weight: 600;
}
footer address { font-style: normal; color: #cfcac2; line-height: 1.8; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #a39d95;
}

/* Legal pages */
.legal-page { padding: 72px 0 96px; }
.legal-page h1 { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 28px; }
.legal-page h2 { font-size: 1.1rem; margin-top: 36px; font-weight: 700; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 12px; }
.legal-page a { color: var(--ink); text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); font-weight: 500; font-size: 0.9rem; }
