/* ============================================================
   221 LUXE SUITES - styles.css
   "Capital Residence" aesthetic
   ============================================================ */

/* -----------------------------------------------------------
   GLOBAL NOISE OVERLAY
   ----------------------------------------------------------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* -----------------------------------------------------------
   SCROLLBAR HIDE
   ----------------------------------------------------------- */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* -----------------------------------------------------------
   NAVBAR
   ----------------------------------------------------------- */
#navbar-inner {
  background: transparent;
  border: 1px solid transparent;
  color: white;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
#navbar-inner.scrolled {
  background: rgba(13, 17, 23, 0.70);
  border-color: rgba(191, 140, 58, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
#navbar-inner .nav-link {
  color: rgba(255, 255, 255, 0.75);
}
#navbar-inner.scrolled .nav-link {
  color: rgba(244, 240, 232, 0.8);
}
.nav-logo {
  color: white;
}

/* -----------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------- */
.btn-brass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #BF8C3A;
  color: #0D1117;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}
.btn-brass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #D4A84E;
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-brass:hover {
  transform: scale(1.025);
  box-shadow: 0 8px 24px rgba(191, 140, 58, 0.3);
}
.btn-brass:hover::before {
  transform: translateX(0);
}
.btn-brass > * {
  position: relative;
  z-index: 1;
}
.btn-brass > span,
.btn-brass > svg,
.btn-brass > :not(::before) {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(191, 140, 58, 0.4);
  transform: translateY(-1px);
}

.btn-ghost-dark {
  display: block;
  text-align: center;
  background: transparent;
  color: #1A1614;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn-ghost-dark:hover {
  background: rgba(191, 140, 58, 0.05);
  color: #BF8C3A;
  transform: translateY(-1px);
}

/* -----------------------------------------------------------
   HERO BACKGROUND FALLBACK
   ----------------------------------------------------------- */
.hero-bg {
  background-image: url('photos/hero.jpg');
  background-size: cover;
  background-position: center;
}
/* If photo is missing, show a rich dark gradient */
.hero-bg:not([style*="photos/hero"]),
.hero-bg[style*="url('photos/hero.jpg')"] {
  background-color: #0D1117;
}

/* -----------------------------------------------------------
   LOCATION TICKER
   ----------------------------------------------------------- */
.location-ticker {
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .location-ticker {
    animation: none;
  }
}

/* -----------------------------------------------------------
   SUITE CARD ACCENT GLOW
   ----------------------------------------------------------- */
.suite-card-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 140, 58, 0.08) 0%, transparent 70%);
  transform: translate(30%, -30%);
  pointer-events: none;
}
.suite-card-accent-dark {
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 140, 58, 0.12) 0%, transparent 70%);
  transform: translate(30%, -30%);
  pointer-events: none;
}

/* -----------------------------------------------------------
   PROCESS STEPS CONNECTOR LINES
   ----------------------------------------------------------- */
@media (min-width: 768px) {
  .process-step {
    position: relative;
  }
}

/* -----------------------------------------------------------
   FAQ ACCORDION
   ----------------------------------------------------------- */
.faq-item {
  transition: border-color 0.2s ease;
}
.faq-item:focus-within {
  border-color: rgba(191, 140, 58, 0.4);
}
.faq-trigger {
  background: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-trigger:hover {
  color: #BF8C3A;
}
.faq-body {
  animation: faq-open 0.25s ease forwards;
}
@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.faq-icon.open {
  transform: rotate(180deg);
}

/* -----------------------------------------------------------
   FORM INPUTS
   ----------------------------------------------------------- */
.form-input {
  color: #FEFCF9;
  caret-color: #BF8C3A;
}
.form-input::placeholder {
  color: rgba(254, 252, 249, 0.3);
}
.form-input:focus {
  border-color: #BF8C3A;
  box-shadow: 0 0 0 2px rgba(191, 140, 58, 0.15);
}

/* Budget radio options */
.budget-option input:checked + span {
  border-color: #BF8C3A;
  background: rgba(191, 140, 58, 0.1);
  color: #BF8C3A;
}

/* Suite checkboxes */
.suite-check {
  accent-color: #BF8C3A;
}

/* -----------------------------------------------------------
   PHOTO THUMBNAILS FALLBACK GRADIENTS
   ----------------------------------------------------------- */
.photo-thumb {
  background-color: #1C1C1E;
  background-image: linear-gradient(135deg, rgba(191,140,58,0.1) 0%, rgba(13,17,23,0.8) 100%);
}

/* -----------------------------------------------------------
   STATUS DOT PULSE
   ----------------------------------------------------------- */
.status-dot {
  animation: status-pulse 2.5s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* -----------------------------------------------------------
   AMENITY CARDS HOVER
   ----------------------------------------------------------- */
.amenity-card {
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.amenity-card:hover {
  border-color: rgba(191, 140, 58, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* -----------------------------------------------------------
   ICP CARDS HOVER
   ----------------------------------------------------------- */
.icp-card {
  transition: border-color 0.2s ease, background 0.2s ease;
}
.icp-card:hover {
  border-color: rgba(191, 140, 58, 0.3);
  background: rgba(255,255,255,0.07);
}

/* -----------------------------------------------------------
   LINKS
   ----------------------------------------------------------- */
a {
  transition: transform 0.2s ease;
}

/* -----------------------------------------------------------
   SMOOTH SCROLL
   ----------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

/* -----------------------------------------------------------
   MOBILE MENU
   ----------------------------------------------------------- */
#mobile-menu {
  transition: opacity 0.3s ease;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-link {
  color: rgba(254, 252, 249, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-nav-link:hover {
  color: #BF8C3A;
}

/* -----------------------------------------------------------
   FOCUS RINGS (ACCESSIBILITY)
   ----------------------------------------------------------- */
:focus-visible {
  outline: 2px solid #BF8C3A;
  outline-offset: 3px;
  border-radius: 4px;
}

/* -----------------------------------------------------------
   PREFERS REDUCED MOTION
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .location-ticker {
    animation: none;
  }
}

/* -----------------------------------------------------------
   TYPOGRAPHY UTILITIES
   ----------------------------------------------------------- */
.tracking-widest {
  letter-spacing: 0.15em;
}

/* Cormorant italic utilities */
.italic-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

/* -----------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ----------------------------------------------------------- */
@media (max-width: 640px) {
  .hero-h1 .text-4xl {
    font-size: 2rem;
  }
  .hero-h1 .text-5xl {
    font-size: 2.5rem;
  }
}
