/* INDA HOUSE Landing — Tech-Luxury Monochrome */
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
  background-color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  color: #111827;
  margin-top: 0;
}

p, span, li, a { font-family: 'Montserrat', sans-serif; }
button { font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: 1px; }

.font-display { font-family: 'Playfair Display', Georgia, serif; }
.text-silver { color: #4b5563; }

#navbar {
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 8px 30px rgb(0, 0, 0, 0.04);
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-link { position: relative; color: #4b5563; }
.nav-link:hover { color: #111827; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #111827;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Closed overlays must not intercept clicks (sibling modals share z-[100]). */
#article-modal,
#villa365-modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#article-modal.open,
#villa365-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Last in DOM; when “closed” it must sit below other modals or it steals clicks. */
#illusion-modal.invisible {
  pointer-events: none;
  z-index: 90;
}
#illusion-modal:not(.invisible) {
  z-index: 100;
}
#villa365-modal.open {
  z-index: 110;
}
#illusion-modal .modal-backdrop {
  z-index: 0;
}
#illusion-modal .modal-content {
  position: relative;
  z-index: 1;
}
#illusion-modal .modal-content .modal-close-btn {
  z-index: 2;
}
#article-modal .modal-backdrop { background-color: rgba(0, 0, 0, 0.45); }
#article-modal .modal-backdrop,
#villa365-modal .modal-backdrop {
  z-index: 0;
}
#article-modal .modal-content,
#villa365-modal .modal-content {
  position: relative;
  z-index: 1;
  transform: scale(0.96);
  transition: transform 0.35s ease;
}
#article-modal .modal-content .modal-close-btn,
#villa365-modal .modal-content .modal-close-btn {
  z-index: 2;
}
#article-modal.open .modal-content,
#villa365-modal.open .modal-content { transform: scale(1); }

.modal-article-body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}
.modal-article-body p { font-size: 16px; line-height: 1.75; margin-bottom: 1.25rem; }
.modal-article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #111827;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 15px;
}
.modal-article-body ul, .modal-article-body ol { line-height: 1.7; }
.modal-article-body li { line-height: 1.7; margin-bottom: 12px; }

/* Header link — zero frame (matches portal brand-logo-link intent) */
a.brand-logo-link,
.brand-logo-link {
  display: inline-flex !important;
  align-items: center;
  text-decoration: none;
  border: none !important;
  outline: none;
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
  box-shadow: none !important;
}

/* Universal wordmark (landing; header 24px — sync src/css/main.css) */
.logo-image {
  max-height: 24px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
  display: block;
  border: none !important;
  border-style: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  mix-blend-mode: normal;
  -webkit-user-drag: none;
  image-rendering: auto;
  flex-shrink: 0;
  align-self: center;
}
#navbar img[alt="INDA HOUSE"],
#navbar img[alt="INDA HOUSE Logo"],
#navbar img[alt="Inda House Logo"] {
  display: block;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  mix-blend-mode: normal;
}
footer .logo-image,
footer img[alt="INDA HOUSE"],
footer img[alt="INDA HOUSE Logo"] {
  display: block;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  vertical-align: middle;
  max-height: 21px;
  width: auto;
  mix-blend-mode: normal;
  image-rendering: auto;
  flex-shrink: 0;
}
