/* ============================================================
   ORHASHI — HOME PAGE STYLES
   assets/css/pages/home.css
   ============================================================ */

/* ── Smooth scroll & base ─────────────────────────────────── */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }

/* ══════════════════════════════════════════════
   VIDEO HERO — 100vh full screen
══════════════════════════════════════════════ */
.hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F0A1A;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 1.2s ease;
}
.hero-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,8,20,.35) 0%, transparent 20%),
    linear-gradient(to bottom, transparent 70%, rgba(10,8,20,.65) 100%);
  z-index: 1;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67,58,107,.22) 0%, transparent 65%);
  top: -150px; right: -150px;
  z-index: 1;
  animation: glowFloat 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,157,184,.1) 0%, transparent 70%);
  bottom: 10%; left: 5%;
  z-index: 1;
  animation: glowFloat 11s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes glowFloat {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(-20px, 30px) scale(1.08); }
  66%     { transform: translate(15px, -20px) scale(.95); }
}
@keyframes soundPulse {
  0%,100% { transform:scale(1);   box-shadow:0 0 0 0 rgba(255,255,255,.3); }
  50%      { transform:scale(1.06);box-shadow:0 0 0 14px rgba(255,255,255,0); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 80px;
}
.hero-content-inner { text-align: right; }
.hero-overline-wrap { display: flex; justify-content: flex-end; }
.hero-subtext {
  max-width: 540px;
  margin-left: auto;
  text-align: right;
}
.hero-cta-group {
  display: flex;
  flex-wrap: nowrap;
  gap: .75rem;
  justify-content: flex-end;
}
.hero-cta-group .obtn { flex: 0 0 auto; }

/* Word-by-word headline reveal */
.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.08;
}
.reveal-word span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordUp 1s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes wordUp { to { transform: translateY(0); opacity: 1; } }
.hero-overline-fade {
  opacity: 0;
  transform: translateX(-16px);
  animation: fadeX .8s .15s ease forwards;
}
.hero-sub-fade {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeY .8s .9s ease forwards;
}
.hero-cta-fade {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeY .8s 1.1s ease forwards;
}
@keyframes fadeX { to { opacity:1; transform:translateX(0); } }
@keyframes fadeY { to { opacity:1; transform:translateY(0); } }

.hero-em-word { position: relative; display: inline-block; }
.hero-em-word::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 0; height: 3px;
  background: #A89DB8;
  border-radius: 2px;
  animation: underlineGrow 1s 1.6s ease forwards;
}
@keyframes underlineGrow { to { width: 100%; } }

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeY .6s 1.8s ease forwards;
}
.scroll-cue-text {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255,255,255,.45);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
}
.scroll-cue-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-cue-mouse {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
}
.scroll-cue-mouse::after {
  content: '';
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 6px;
  background: #A89DB8;
  border-radius: 1px;
  animation: mouseDot 1.8s 2s ease-in-out infinite;
}
@keyframes mouseDot {
  0%   { top: 4px; opacity: 1; }
  80%  { top: 16px; opacity: 0; }
  100% { top: 4px; opacity: 0; }
}

/* ══════════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════════ */
.srv-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #edebe6;
  height: 100%;
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.srv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(42,34,64,.14);
}
.srv-icon-box {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  transition: all .45s ease;
  position: relative;
  overflow: hidden;
}
.srv-icon-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #433A6B;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
  z-index: 0;
}
.srv-card:hover .srv-icon-box::after { transform: scaleY(1); }
.srv-icon-box i { position: relative; z-index: 1; transition: color .3s ease; }
.srv-card:hover .srv-icon-box i { color: #fff !important; }
.srv-body { padding: 1.5rem 1.75rem; }
.srv-body h4 { font-size: 1.0625rem; font-weight: 700; color: #2A2240; margin-bottom: .375rem; }
.srv-body p  { font-size: .875rem; color: #5D5585; line-height: 1.75; margin-bottom: 1rem; }
.srv-link {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: #433A6B; text-decoration: none;
  display: inline-flex; align-items: center; gap: .375rem;
  transition: gap .3s ease;
}
.srv-link:hover { gap: .75rem; color: #433A6B; }

/* ══════════════════════════════════════════════
   FLOOR PLAN SECTION
══════════════════════════════════════════════ */
.floor-tabs {
  display: flex;
  gap: 0;
  background: #f0ede7;
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 2.5rem;
}
.floor-tab {
  padding: .625rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7B6F9E;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.floor-tab.active {
  background: #fff;
  color: #433A6B;
  box-shadow: 0 2px 12px rgba(42,34,64,.1);
}
.floor-panel { display: none; }
.floor-panel.active { display: block; }
.floor-svg-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #edebe6;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(42,34,64,.08);
}
.floor-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0ede7;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: #5D5585;
  font-weight: 500;
}
.legend-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   GALLERY GRID
══════════════════════════════════════════════ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: .875rem;
}
.gal-grid .gi-1 { grid-column: span 2; grid-row: span 2; }
.gal-cell {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #2A2240;
  cursor: pointer;
}
.gal-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, opacity .4s ease;
}
.gal-cell:hover img { transform: scale(1.07); opacity: .78; }
.gal-overlay {
  position: absolute; inset: 0;
  background: rgba(10,8,20,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
  font-size: 1.5rem; color: #fff;
}
.gal-cell:hover .gal-overlay { opacity: 1; }
.gal-ph {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2);
  flex-direction: column; gap: .5rem;
}
.gal-ph span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }

/* ══════════════════════════════════════════════
   BOOKING CTA
══════════════════════════════════════════════ */
.btype-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all .35s ease;
  cursor: pointer;
}
.btype-card:hover,
.btype-card.pop {
  background: rgba(67,58,107,.18);
  border-color: rgba(168,157,184,.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(67,58,107,.25);
}

/* ══════════════════════════════════════════════
   LOCATION
══════════════════════════════════════════════ */
.loc-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.loc-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: #EEEAF4; color: #433A6B;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}

/* ══════════════════════════════════════════════
   PROCESS STEPS
══════════════════════════════════════════════ */
.pstep {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding-left .3s ease;
}
.pstep:last-child { border-bottom: none; }
.pstep:hover { padding-left: .5rem; }
.pstep-num {
  width: 44px; height: 44px; min-width: 44px;
  border: 1.5px solid rgba(168,157,184,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: .8rem;
  color: #A89DB8;
  transition: all .3s ease;
}
.pstep:hover .pstep-num {
  background: #433A6B;
  border-color: #433A6B;
  color: #fff;
}

/* ══════════════════════════════════════════════
   SHARED SECTION COMPONENTS
══════════════════════════════════════════════ */
.sec-overline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #433A6B;
  margin-bottom: .875rem;
}
.sec-overline::before,
.sec-overline::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: #433A6B;
  border-radius: 1px;
}
.sec-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #2A2240;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.sec-divider {
  width: 48px; height: 3px;
  background: #433A6B;
  border-radius: 2px;
  margin: .875rem 0 0;
}
.sec-divider.center { margin: .875rem auto 0; }

.obtn {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; cursor: pointer;
  border: none;
  padding: .875rem 2rem;
  border-radius: 8px;
  font-weight: 700; font-size: .875rem;
  text-transform: uppercase; letter-spacing: .07em;
  transition: all .35s ease;
  white-space: nowrap;
}
.obtn-primary {
  background: #433A6B; color: #fff;
  box-shadow: 0 8px 28px rgba(67,58,107,.35);
}
.obtn-primary:hover {
  background: #362F58; color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(67,58,107,.45);
}
.obtn-outline {
  background: transparent; color: #433A6B;
  border: 1.5px solid #433A6B;
}
.obtn-outline:hover {
  background: #433A6B; color: #fff;
  transform: translateY(-2px);
}
.obtn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.obtn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  transform: translateY(-2px);
}
.obtn-dark { background: #2A2240; color: #fff; }
.obtn-dark:hover {
  background: #0d1512; color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   STATS
══════════════════════════════════════════════ */
.stat-box {
  text-align: center;
  padding: 2.5rem 1rem;
  position: relative;
}
.stat-box + .stat-box::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.08);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.75rem,5vw,4.25rem);
  font-weight: 700;
  color: #A89DB8;
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.45);
  margin-top: .625rem;
  display: block;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero-content { padding-top: 72px; }
  .hero-content-inner { text-align: right; }
  .hero-overline-wrap { justify-content: flex-end; }
  .hero-subtext { margin-left: auto; text-align: right; }
  .hero-cta-group { justify-content: flex-end; gap: .55rem; }
  .hero-cta-group .obtn { padding: .72rem .85rem; font-size: .68rem; letter-spacing: .05em; gap: .35rem; }
  .stat-box + .stat-box::before { display: none; }
  .stat-box { border-bottom: 1px solid rgba(255,255,255,.06); padding: 1.5rem 1rem; }
  .stat-box:last-child { border-bottom: none; }
}
@media (max-width: 767px) {
  .hero-wrap { height: 100svh; }
  .gal-grid  { grid-template-columns: repeat(2,1fr); }
  .gal-grid .gi-1 { grid-column: span 2; grid-row: span 1; }
  .floor-tabs { flex-wrap: wrap; width: 100%; }
  .scroll-cue-text { display: none; }
  .hero-cta-group .obtn { padding: .68rem .75rem; font-size: .64rem; letter-spacing: .04em; }
}
@media (max-width: 575px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gal-grid .gi-1 { grid-column: span 1; }
  .hero-content { padding-top: 68px; }
  .hero-cta-group { gap: .45rem; }
  .hero-cta-group .obtn { padding: .64rem .68rem; font-size: .60rem; letter-spacing: .03em; border-radius: 7px; }
}
