/* ============================================
   KOSHKA LIVING - Main Stylesheet
   Blue & White Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-dark:    #0d2b5e;
  --blue-mid:     #1a4a8a;
  --blue-main:    #1e6abf;
  --blue-light:   #3b9eff;
  --blue-pale:    #d0e9ff;
  --blue-faint:   #edf5ff;
  --white:        #ffffff;
  --off-white:    #f8fbff;
  --text-dark:    #0a1f3c;
  --text-mid:     #2d4a70;
  --text-light:   #6b8fb5;
  --gold:         #FDFE00;
  --gold-light:   #feff66;
  --gold-dark:    #c9ca00;
  --shadow-soft:  0 4px 24px rgba(13,43,94,0.10);
  --shadow-med:   0 8px 40px rgba(13,43,94,0.18);
  --shadow-deep:  0 16px 60px rgba(13,43,94,0.28);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    28px;
  --transition:   all 0.35s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--blue-faint); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 43, 94, 0.97);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(13,43,94,0.30);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-main));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(30,106,191,0.40);
}

.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.3px;
}

.logo-tagline {
  font-size: 10px;
  color: var(--blue-pale);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  padding: 9px 24px;
  border: 2px solid rgba(255,255,255,0.55);
  background: transparent;
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-login:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-register {
  padding: 9px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-dark);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 18px rgba(245,200,66,0.40);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,200,66,0.55);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION (Parallax)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-parallax-bg {
  position: absolute;
  inset: -60px;
  background:
    linear-gradient(160deg, rgba(13,43,94,0.92) 0%, rgba(26,74,138,0.85) 50%, rgba(10,30,70,0.95) 100%),
    url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?w=1800&q=80') center/cover no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero-parallax-mid {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600'%3E%3Cpath fill='rgba(59,158,255,0.06)' d='M0,300 C240,200 480,400 720,300 C960,200 1200,400 1440,300 L1440,600 L0,600 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
  z-index: 1;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.50);
  color: var(--gold-light);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge span { font-size: 14px; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 38px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-main));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 28px rgba(59,158,255,0.50);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(59,158,255,0.60);
}

.btn-outline-white {
  padding: 14px 38px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.60);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- Hero Split Layout ---- */
.hero-split {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 1140px;
  padding: 100px 40px 40px;
  margin: 0 auto;
}

.hero-image-col {
  flex: 0 0 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-model-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.40));
  animation: floatUp 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 0;
  transform: translateY(24px);
}

@keyframes floatUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-text-col {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.hero-text-col .hero-title {
  font-size: clamp(32px, 4.5vw, 60px);
  text-align: left;
  margin-bottom: 16px;
}

.hero-text-col .hero-subtitle {
  margin: 0 0 32px;
  text-align: left;
  font-size: 15px;
  max-width: 440px;
}

.hero-text-col .hero-actions  { justify-content: flex-start; }

.hero-text-col .hero-stats {
  justify-content: flex-start;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 36px;
  padding-top: 28px;
  gap: 28px;
}

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    gap: 20px;
    padding: 90px 24px 32px;
    text-align: center;
  }
  .hero-image-col { flex: none; width: 100%; max-width: 340px; }
  .hero-model-img { max-width: 340px; }
  .hero-text-col  { text-align: center; }
  .hero-text-col .hero-title    { text-align: center; font-size: clamp(28px, 7vw, 44px); }
  .hero-text-col .hero-subtitle { text-align: center; margin: 0 auto 28px; }
  .hero-text-col .hero-actions  { justify-content: center; }
  .hero-text-col .hero-stats    { justify-content: center; gap: 20px; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounceDown 2s ease infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.65);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
  padding: 5px 16px;
  background: #fffbeb;
  border-radius: 50px;
  border: 1px solid #fde68a;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   WELCOME / ABOUT STRIP
   ============================================ */
.welcome-strip {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.welcome-strip::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59,158,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.welcome-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.welcome-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}

.welcome-text p {
  color: var(--blue-pale);
  font-size: 15px;
  max-width: 520px;
  line-height: 1.75;
}

.welcome-features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.feat-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  padding: 10px 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.feat-chip .icon { font-size: 16px; }

/* ============================================
   12 DOORS SECTION
   ============================================ */
.doors-section {
  background: var(--off-white);
  padding: 110px 0;
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.door-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(208,233,255,0.7);
}

.door-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
  border-color: var(--blue-pale);
}

.door-visual {
  position: relative;
  height: 200px;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.door-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(59,158,255,0.25) 0%, transparent 65%);
}

.door-number-bg {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  user-select: none;
}

.door-icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.door-svg {
  width: 80px;
  height: 110px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.door-card:hover .door-svg {
  transform: scale(1.05) translateY(-4px);
  filter: drop-shadow(0 12px 28px rgba(59,158,255,0.5));
}

.door-number-badge {
  background: var(--blue-light);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.door-status-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.door-status-bar.available { background: linear-gradient(90deg, #22c55e, #16a34a); }
.door-status-bar.occupied  { background: linear-gradient(90deg, #f59e0b, #d97706); }
.door-status-bar.reserved  { background: linear-gradient(90deg, var(--blue-light), var(--blue-main)); }

.door-info {
  padding: 22px 22px 20px;
}

.door-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.door-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.door-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.door-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-dark);
}

.door-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
}

.door-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.door-badge.available {
  background: #dcfce7;
  color: #166534;
}

.door-badge.occupied {
  background: #fef3c7;
  color: #92400e;
}

.door-badge.reserved {
  background: var(--blue-faint);
  color: var(--blue-dark);
}

.door-tags {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  color: var(--text-mid);
  background: var(--blue-faint);
  border: 1px solid var(--blue-pale);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ============================================
   PARALLAX DIVIDER
   ============================================ */
.parallax-divider {
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-divider-bg {
  position: absolute;
  inset: -80px;
  background:
    linear-gradient(160deg, rgba(13,43,94,0.88) 0%, rgba(10,30,70,0.94) 100%),
    url('https://images.unsplash.com/photo-1560184897-ae75f418493e?w=1600&q=80') center/cover no-repeat;
  will-change: transform;
  z-index: 0;
}

.parallax-divider-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.parallax-divider-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 56px);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 0 3px 24px rgba(0,0,0,0.30);
}

.parallax-divider-content p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

/* ============================================
   AMENITIES SECTION
   ============================================ */
.amenities-section {
  background: var(--white);
  padding: 110px 0;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.amenity-card {
  background: var(--blue-faint);
  border: 1px solid var(--blue-pale);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.amenity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
  opacity: 0;
  transition: var(--transition);
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-med);
  border-color: var(--blue-main);
}

.amenity-card:hover::before { opacity: 1; }

.amenity-card:hover .amenity-icon,
.amenity-card:hover .amenity-name,
.amenity-card:hover .amenity-desc { color: var(--white); }

.amenity-icon {
  font-size: 38px;
  margin-bottom: 14px;
  display: block;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.amenity-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.amenity-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

/* ============================================
   GALLERY / PARALLAX SECTION 2
   ============================================ */
.parallax-gallery {
  height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.parallax-gallery-bg {
  position: absolute;
  inset: -80px;
  background:
    linear-gradient(90deg, rgba(13,43,94,0.95) 0%, rgba(26,74,138,0.70) 60%, rgba(13,43,94,0.95) 100%),
    url('https://images.unsplash.com/photo-1613545325278-f24b0cae1224?w=1600&q=80') center/cover no-repeat;
  will-change: transform;
  z-index: 0;
}

.gallery-cta {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.gallery-cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 44px);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 10px;
}

.gallery-cta-text p {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  max-width: 420px;
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: linear-gradient(160deg, var(--blue-faint) 0%, var(--white) 100%);
  padding: 110px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--blue-pale);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-med);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.author-door {
  font-size: 12px;
  color: var(--text-light);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,158,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 50px);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo-name { font-size: 22px; margin-bottom: 14px; display: block; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--blue-main);
  border-color: var(--blue-main);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--blue-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.40); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--blue-light); }

/* ============================================
   FADE-IN ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13,43,94,0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open a { font-size: 22px; }

  .hero-stats { gap: 28px; }

  .welcome-inner { flex-direction: column; }

  .doors-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .gallery-cta { flex-direction: column; text-align: center; }

  section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .nav-buttons { gap: 8px; }
  .btn-login, .btn-register { padding: 8px 16px; font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .doors-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .nav-logo { margin-left: -20px; }
}

/* ============================================
   FLOORS / DENAH SECTION
   ============================================ */

/* ---- Section wrapper ---- */
.floors-section {
  background: var(--off-white);
  padding: 100px 0 80px;
}

/* ---- Floor Tabs ---- */
.floor-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  padding: 0 16px;
}

.floor-tabs {
  display: inline-flex;
  background: var(--white);
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 6px;
  gap: 6px;
  box-shadow: var(--shadow-soft);
}

.ftab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 28px;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius-lg) - 6px);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.ftab-num {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-light);
  line-height: 1;
  transition: var(--transition);
}

.ftab-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}

.ftab:hover {
  background: var(--blue-faint);
}

.ftab:hover .ftab-num,
.ftab:hover .ftab-label {
  color: var(--blue-main);
}

.ftab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 4px 20px rgba(245,200,66,0.35);
}

.ftab.active .ftab-num,
.ftab.active .ftab-label {
  color: var(--blue-dark);
}

/* ---- Main layout ---- */
.floors-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* ---- Building Sidebar ---- */
.building-sidebar {
  width: 100px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}

.bsb-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.bsb-building {
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.bsb-floor {
  padding: 12px 8px;
  border-bottom: 1px solid var(--blue-pale);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.bsb-floor::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: var(--transition);
}

.bsb-floor:hover {
  background: var(--blue-faint);
}

.bsb-floor.active {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-mid));
}

.bsb-floor.active::before {
  background: var(--gold);
}

.bsb-floor-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.bsb-floor-num {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-mid);
  transition: var(--transition);
}

.bsb-floor-rooms {
  font-size: 9px;
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.bsb-floor.active .bsb-floor-num,
.bsb-floor.active .bsb-floor-rooms {
  color: var(--white);
}

.bsb-ground {
  padding: 8px;
  background: var(--blue-faint);
  text-align: center;
  font-size: 10px;
  color: var(--text-light);
}

.bsb-price-chip {
  margin-top: 12px;
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 4px 0;
  text-align: center;
}

.bsb-price-chip span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.bsb-price-chip small {
  font-size: 9px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ---- Floor plan blocks ---- */
.floors-content {
  flex: 1;
  min-width: 0;
}

.floor-plan-block {
  display: none;
  animation: floorIn 0.45s cubic-bezier(0.4,0,0.2,1) forwards;
}

.floor-plan-block.active {
  display: block;
}

@keyframes floorIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fpb-header {
  margin-bottom: 28px;
}

.fpb-badge {
  display: inline-block;
  padding: 5px 16px;
  background: var(--blue-main);
  color: var(--white);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.fpb-badge.l2 { background: linear-gradient(135deg, #1e6abf, #0d2b5e); }
.fpb-badge.l3 { background: linear-gradient(135deg, #c9a84c, #8a5e0a); }

.fpb-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.fpb-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
}

/* ---- Denah wrapper ---- */
.denah-wrap {
  position: relative;
  margin-bottom: 28px;
}

.denah-compass {
  position: absolute;
  top: -8px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.compass-n {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-main);
  line-height: 1;
}

.compass-arrow {
  font-size: 18px;
  color: var(--blue-main);
  line-height: 1;
}

.denah-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  flex-shrink: 0;
}

.legend-dot.available { background: #22c55e; }
.legend-dot.occupied  { background: #f59e0b; }
.legend-dot.reserved  { background: var(--blue-main); }

/* ---- Denah box (floor plan visual) ---- */
.denah-box {
  background: var(--white);
  border: 2.5px solid var(--blue-mid);
  border-radius: var(--radius-md);
  padding: 20px 20px 14px;
  position: relative;
  overflow-x: auto;
  box-shadow: var(--shadow-med);
}

.denah-box::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(30,106,191,0.15);
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
}

.denah-wall-label {
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 0;
}

.denah-wall-label.top  { margin-bottom: 12px; }
.denah-wall-label.bottom { margin-top: 12px; }

.denah-row {
  display: flex;
  gap: 8px;
  min-width: min-content;
  justify-content: center;
}

.denah-corridor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  padding: 0 4px;
}

.denah-corridor span:first-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-mid);
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--blue-faint);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--blue-pale);
}

.corridor-arrow {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-pale), transparent);
  opacity: 0.6;
}

/* ---- Plan room (kamar box in floor plan) ---- */
.plan-room {
  width: 88px;
  min-width: 88px;
  background: var(--blue-faint);
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.plan-room::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.plan-room.available { border-color: #86efac; background: #f0fdf4; }
.plan-room.available::after { background: #22c55e; }
.plan-room.occupied  { border-color: #fcd34d; background: #fffbeb; }
.plan-room.occupied::after  { background: #f59e0b; }
.plan-room.reserved  { border-color: #93c5fd; background: #eff6ff; }
.plan-room.reserved::after  { background: var(--blue-main); }

.plan-room:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--shadow-med);
  z-index: 2;
}

.plan-room.available:hover { border-color: #22c55e; box-shadow: 0 6px 24px rgba(34,197,94,0.22); }
.plan-room.occupied:hover  { border-color: #f59e0b; box-shadow: 0 6px 24px rgba(245,158,11,0.22); }
.plan-room.reserved:hover  { border-color: var(--blue-main); box-shadow: 0 6px 24px rgba(30,106,191,0.22); }

.pr-num {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.pr-icons {
  font-size: 12px;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.pr-status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.plan-room.available .pr-status { color: #16a34a; }
.plan-room.occupied  .pr-status { color: #d97706; }
.plan-room.reserved  .pr-status { color: var(--blue-main); }

.pr-price {
  font-size: 9px;
  color: var(--text-light);
  font-weight: 500;
}

/* ---- Plan cell (non-room: KM, Tangga, Fasilitas) ---- */
.plan-cell {
  width: 88px;
  min-width: 88px;
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  flex-shrink: 0;
}

.plan-cell.plan-km {
  background: #f0f4ff;
  border: 1.5px dashed #93c5fd;
}

.plan-cell.plan-tangga {
  background: #fefce8;
  border: 1.5px dashed #fcd34d;
}

.plan-cell.plan-fasilitas {
  background: var(--blue-faint);
  border: 1.5px solid var(--blue-pale);
  cursor: default;
}

.plan-cell.plan-fasilitas.big {
  width: 120px;
  min-width: 120px;
}

.plan-cell-icon { font-size: 20px; margin-bottom: 4px; }

.plan-cell-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.plan-cell-sub {
  font-size: 9px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Lantai 1 special denah */
.denah-lantai1 .denah-row {
  justify-content: center;
}

/* ---- Fasilitas chips ---- */
.fpb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.fp-chip {
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
}

/* ---- Room scroll list (compact list below denah) ---- */
.room-scroll-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.rsl-item {
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
  flex-wrap: wrap;
}

.rsl-item:hover {
  border-color: var(--blue-main);
  box-shadow: var(--shadow-soft);
}

.rsl-item.available { border-left: 3px solid #22c55e; }
.rsl-item.occupied  { border-left: 3px solid #f59e0b; }
.rsl-item.reserved  { border-left: 3px solid var(--blue-main); }

.rsl-num {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  min-width: 28px;
}

.rsl-name {
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
  flex: 1;
  min-width: 60px;
}

.rsl-status {
  font-size: 10px;
  font-weight: 700;
  border-radius: 50px;
  padding: 2px 9px;
}

.rsl-status.available { background: #dcfce7; color: #166534; }
.rsl-status.occupied  { background: #fef3c7; color: #92400e; }
.rsl-status.reserved  { background: var(--blue-faint); color: var(--blue-dark); }

.rsl-price {
  font-size: 11px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

/* ---- CTA button below floor ---- */
.fpb-cta {
  text-align: center;
  padding: 8px 0 16px;
}

/* ---- Room Modal ---- */
.room-modal {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 95vw);
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 9999;
  padding: 28px 28px 32px;
  box-shadow: 0 -8px 60px rgba(13,43,94,0.22);
  transition: bottom 0.4s cubic-bezier(0.4,0,0.2,1);
}

.room-modal.open {
  bottom: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--blue-faint);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-mid);
  transition: var(--transition);
}

.modal-close:hover { background: var(--blue-pale); color: var(--blue-dark); }

.modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-main);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.modal-info { margin-bottom: 16px; }

.modal-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--blue-faint);
  font-size: 14px;
  color: var(--text-mid);
}

.modal-info-row strong { color: var(--text-dark); font-weight: 600; }

.modal-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
}

.modal-status.available { background: #dcfce7; color: #166534; }
.modal-status.occupied  { background: #fef3c7; color: #92400e; }
.modal-status.reserved  { background: var(--blue-faint); color: var(--blue-dark); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,43,94,0.35);
  backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   RESPONSIVE — FLOOR PLAN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .building-sidebar { display: none; }
  .floors-layout { display: block; }
  .room-scroll-list { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .floors-section { padding: 72px 0 60px; }

  .floor-tabs { width: 100%; justify-content: space-around; border-radius: var(--radius-md); }
  .ftab { padding: 10px 12px; flex: 1; }
  .ftab-label { font-size: 10px; }

  .denah-box { padding: 14px 12px 10px; }
  .plan-room { width: 72px; min-width: 72px; padding: 8px 4px; }
  .pr-num { font-size: 14px; }
  .plan-cell { width: 72px; min-width: 72px; }
  .plan-cell.plan-fasilitas.big { width: 96px; min-width: 96px; }
  .denah-row { gap: 6px; }

  .room-scroll-list { grid-template-columns: repeat(2, 1fr); }
  .rsl-price { display: none; }
}

@media (max-width: 480px) {
  .floor-tabs-wrap { padding: 0 12px; }
  .ftab { padding: 8px 6px; }
  .ftab-num { font-size: 15px; }
  .ftab-label { display: none; }

  .plan-room { width: 64px; min-width: 64px; padding: 7px 3px; }
  .pr-num { font-size: 13px; }
  .pr-icons { font-size: 10px; }
  .plan-cell { width: 64px; min-width: 64px; }
  .plan-cell.plan-fasilitas.big { width: 80px; min-width: 80px; }

  .room-scroll-list { grid-template-columns: 1fr 1fr; }

  .denah-corridor span:first-child { letter-spacing: 1px; font-size: 9px; }
  .corridor-arrow { display: none; }
}
