/* ============================================================
   MAKIA PROPERTIES — Global Styles
   ============================================================ */

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

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #F5F3EE;
  color: #2C2C2C;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:       #C85C38;
  --primary-dark:  #A84828;
  --dark:          #3A3D47;
  --dark-deep:     #2C2F3A;
  --bg:            #F5F3EE;
  --bg-card:       #FFFFFF;
  --text:          #2C2C2C;
  --text-mid:      #5A5A5A;
  --text-light:    #888888;
  --border:        #E8E3DA;
  --transition:    0.3s ease;
}

/* ── Announcement Bar ─────────────────────────────────────── */
.announcement-bar {
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.announcement-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 4px;
}

.announcement-bar a:hover { opacity: 0.85; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-dark:hover {
  background: var(--dark-deep);
}

/* ── Section Wrappers ─────────────────────────────────────── */
.section {
  padding: 90px 32px;
}

.section-sm {
  padding: 60px 32px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8B6E5A 0%, #6B4E3D 30%, #4A3728 60%, #3A2D24 100%);
  z-index: 0;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(30,22,16,0.25) 0%,
    rgba(30,22,16,0.45) 50%,
    rgba(30,22,16,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 780px;
}

.hero-logo {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-img {
  height: 100px;
  width: auto;
  max-width: 200px;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.hero-subtitle {
  font-style: italic;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  font-family: 'Playfair Display', serif;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (smaller, for interior pages) */
.page-hero {
  position: relative;
  width: 100%;
  height: clamp(380px, 52vh, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(20,14,8,0.25) 0%,
    rgba(20,14,8,0.52) 60%,
    rgba(20,14,8,0.65) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 48px;
  max-width: 800px;
  text-align: center;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.1;
}

.page-hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

/* ── Property Cards ───────────────────────────────────────── */
.property-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.property-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.property-card-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.property-card-image .placeholder-img,
.property-card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.property-card:hover .placeholder-img,
.property-card:hover .property-card-image > img {
  transform: scale(1.04);
}

.property-card-body {
  padding: 28px 28px 32px;
}

.property-card-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}

.property-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}

.property-card-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── At a Glance ──────────────────────────────────────────── */
.glance-section {
  background: #EFECE6;
  padding: 44px 32px;
}

.glance-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.glance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 40px;
  border-right: 1px solid var(--border);
  flex: 1;
  min-width: 140px;
}

.glance-item:last-child { border-right: none; }

.glance-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
  margin-bottom: 10px;
}

.glance-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
}

.glance-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.glance-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Gallery Grid ─────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.gallery-item .placeholder-img {
  transition: transform 0.5s ease;
}

.gallery-item:hover .placeholder-img {
  transform: scale(1.06);
}

/* Direct <img> children of gallery-grid (no wrapper div) */
.gallery-grid > img {
  aspect-ratio: 4/3;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-grid > img:hover {
  transform: scale(1.04);
}

/* ── Amenities ────────────────────────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.amenity-item:nth-last-child(-n+2) { border-bottom: none; }

.amenity-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.amenity-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* ── Book With Us ─────────────────────────────────────────── */
.book-section {
  padding: 40px 32px 56px;
  background: var(--bg);
  text-align: center;
}

.book-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 32px;
}

.book-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.book-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.book-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.book-badge:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.book-badge-direct {
  background: #F2E8DF;
  color: var(--primary);
  border: 1.5px solid #E8D5C4;
}

/* Image-based badges (Alfred, Airbnb) */
.book-badge-img {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.book-badge img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.book-option-label {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* ── Book Dropdown ────────────────────────────────────────── */
.book-dropdown-wrapper {
  position: relative;
}

.book-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 172px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  z-index: 200;
  display: none;
  white-space: nowrap;
}

.book-dropdown.open { display: block; }

.book-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}
.book-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--border);
  margin-top: 1px;
}

.book-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}

.book-dropdown a:hover {
  background: var(--bg);
  color: var(--primary);
}

/* ── Property Intro Text ──────────────────────────────────── */
.property-intro {
  padding: 36px 48px;
  text-align: center;
  background: #FAFAF8;
}

.property-intro p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.19rem;
  color: var(--primary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 32px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: inherit;
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: rgba(255,255,255,0.9); }

.footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(200,92,56,0.1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ── Placeholder Images ───────────────────────────────────── */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: block;
}

.ph-penthouse-hero    { background: linear-gradient(135deg, #5C4A3A 0%, #3D2F22 40%, #2A2018 100%); }
.ph-penthouse-card    { background: linear-gradient(150deg, #8B6E5A 0%, #6B4E3D 50%, #4A3728 100%); }
.ph-loft-hero         { background: linear-gradient(135deg, #4A4A45 0%, #35352F 40%, #252520 100%); }
.ph-loft-card         { background: linear-gradient(150deg, #6B6B60 0%, #4A4A42 50%, #35352D 100%); }
.ph-home-hero         { background: linear-gradient(135deg, #7A6050 0%, #5A4035 40%, #3A2820 100%); }
.ph-gallery-1         { background: linear-gradient(135deg, #8B7060 0%, #6B5045 100%); }
.ph-gallery-2         { background: linear-gradient(135deg, #4A4A42 0%, #353530 100%); }
.ph-gallery-3         { background: linear-gradient(135deg, #7A6A50 0%, #5A4A35 100%); }
.ph-gallery-4         { background: linear-gradient(135deg, #6A6055 0%, #4A4035 100%); }
.ph-gallery-5         { background: linear-gradient(135deg, #8A7560 0%, #6A5545 100%); }
.ph-gallery-6         { background: linear-gradient(135deg, #504845 0%, #353030 100%); }
.ph-location          { background: linear-gradient(135deg, #D8D5CE 0%, #C5C2BC 100%); }

/* ── Location Map ─────────────────────────────────────────── */
.map-section {
  padding: 0 32px 80px;
}

.map-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  height: 520px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 20px 0;
}

.map-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Location hero */
.location-hero-section {
  padding: 56px 32px 36px;
  text-align: center;
  background: var(--bg);
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-section {
  padding: 40px 32px 80px;
  background: var(--bg);
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--text);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-label sup {
  color: var(--primary);
  font-size: 0.75em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #BCBCBC;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,92,56,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 0.85rem;
}

/* Contact Sidebar */
.contact-sidebar-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.contact-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-sidebar-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-direct-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 8px;
  color: var(--text);
}

.contact-email-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.contact-email-link svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover { background: var(--primary-dark); }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin: 20px auto 0;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 82vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.75;
  z-index: 1001;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  border: none;
  line-height: 1;
  opacity: 0.7;
  padding: 12px 18px;
  border-radius: 4px;
  z-index: 1001;
  transition: opacity 0.2s, background 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(0,0,0,0.55); }

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--primary); }

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .property-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > *:first-child { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenity-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .amenity-item:last-child { border-bottom: none; }
  .glance-item { padding: 20px 24px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding: 60px 20px; }
  .section-sm { padding: 40px 20px; }
  .glance-section { padding: 40px 20px; }
  .book-section { padding: 48px 20px; }
  .map-section { padding: 0 20px 60px; }
  .contact-section { padding: 60px 20px; }
  .location-hero-section { padding: 44px 20px 28px; }
  .footer { padding: 48px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner > *:first-child { grid-column: auto; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .glance-grid { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .glance-item { border-right: none; border-bottom: 1px solid var(--border); flex: 0 0 calc(50% - 20px); }
  .glance-item:last-child { border-bottom: none; }

  .page-hero-content { padding: 40px 24px; }
  .map-wrapper { height: 360px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .glance-item { flex: 0 0 100%; }
}
