/* ============================================================
   BHOOMI DEAL — Premium Coming Soon Landing Page
   Custom styles complementing Tailwind CSS
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0F2C59;
  --gold: #C89B3C;
  --gold-light: #E8C56A;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --dark: #111827;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(200, 155, 60, 0.25);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base Reset & Smooth Scroll ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--transition), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  animation: pulse-logo 1.5s ease-in-out infinite;
}

.loader-logo-img {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(200, 155, 60, 0.25));
}

.logo-img {
  display: block;
  width: 52px;
  height: 52px;
  transition: transform 0.4s var(--transition), filter 0.4s var(--transition);
  filter: drop-shadow(0 2px 8px rgba(15, 44, 89, 0.1));
}

.loader-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--primary);
  margin: 1rem 0 1.5rem;
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(15, 44, 89, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  animation: load-bar 1.8s var(--transition) forwards;
}

@keyframes load-bar {
  to { width: 100%; }
}

@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9998;
  transition: width 0.1s linear;
}

/* ---------- Decorative Shapes ---------- */
.deco-shape {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco-shape-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.12) 0%, transparent 70%);
}

.deco-shape-2 {
  width: 280px;
  height: 280px;
  bottom: 200px;
  left: -100px;
  background: radial-gradient(circle, rgba(15, 44, 89, 0.06) 0%, transparent 70%);
}

.deco-shape-3 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.08) 0%, transparent 70%);
}

/* ---------- Skyline Decoration ---------- */
.skyline-deco {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 320px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.skyline-deco svg {
  width: 100%;
  height: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem);
  max-width: 1440px;
  margin: 0 auto;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--transition);
}

.logo-group:hover {
  transform: translateY(-1px);
}

.logo-icon {
  flex-shrink: 0;
  position: relative;
}

.logo-group:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(200, 155, 60, 0.3));
}

.logo-name {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  line-height: 1.2;
}

.logo-name .logo-accent {
  color: var(--gold);
}

.logo-tagline {
  display: block;
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s var(--transition);
  box-shadow: 0 4px 20px rgba(15, 44, 89, 0.2);
}

.call-btn:hover {
  background: var(--gold);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 155, 60, 0.35);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem);
  min-height: calc(100vh - 100px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eyebrow {
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.script-text {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Gold Divider */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 200px;
}

.gold-divider span:first-child,
.gold-divider span:last-child {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider-diamond {
  width: 8px !important;
  height: 8px !important;
  flex: none !important;
  background: var(--gold) !important;
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Feature Icons Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: calc(33.333% - 0.85rem);
  min-width: 90px;
  text-align: center;
}

.feature-item span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 155, 60, 0.06);
  color: var(--gold);
  transition: all 0.4s var(--transition);
  cursor: default;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon:hover,
.feature-icon:focus-visible {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 30px rgba(200, 155, 60, 0.4);
  outline: none;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.4s var(--transition);
  box-shadow: 0 8px 30px rgba(200, 155, 60, 0.35);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.4s;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(200, 155, 60, 0.55);
  color: var(--primary);
}

.cta-btn:hover::before {
  opacity: 1;
}

.cta-btn svg {
  position: relative;
  z-index: 1;
}

/* Hero Image */
.hero-right {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  background: linear-gradient(145deg, rgba(15, 44, 89, 0.06), rgba(200, 155, 60, 0.08));
  min-height: 320px;
}

.gold-curve-border {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid var(--gold);
  border-radius: 28px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(15, 44, 89, 0.22);
  position: relative;
  z-index: 1;
  animation: float-image 6s ease-in-out infinite;
  background: var(--cream) url('assets/hero-fallback.svg') center/cover no-repeat;
}

@keyframes float-image {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Glass Card — Floating Badge */
.glass-card {
  position: absolute;
  bottom: -20px;
  left: 24px;
  right: 24px;
  z-index: 2;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 44, 89, 0.1);
  transition: all 0.4s var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 44, 89, 0.14);
}

.badge-line1 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.badge-line2 {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gold);
  margin-top: 0.15rem;
}

/* ---------- Info Bar ---------- */
.info-bar {
  position: relative;
  z-index: 2;
  background: var(--primary);
  border-radius: 32px 32px 0 0;
  margin-top: 2rem;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem);
}

.info-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 16px;
  transition: all 0.4s var(--transition);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 155, 60, 0.15);
}

.glass-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(200, 155, 60, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 155, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.info-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s;
}

a.info-value:hover {
  color: var(--gold);
}

.info-since {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.25rem;
  font-weight: 400;
}

/* ---------- Locations Section ---------- */
.locations-section {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: rgba(17, 24, 39, 0.5);
  margin-bottom: 2.5rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1.5px solid rgba(200, 155, 60, 0.25);
  border-radius: 20px;
  transition: all 0.4s var(--transition);
  cursor: default;
  box-shadow: 0 4px 20px rgba(15, 44, 89, 0.04);
}

.location-card:hover,
.location-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(200, 155, 60, 0.18);
  outline: none;
}

.location-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
  transition: all 0.4s var(--transition);
}

.location-card:hover .location-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.location-icon svg {
  width: 22px;
  height: 22px;
}

.location-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.location-desc {
  font-size: 0.8rem;
  color: rgba(17, 24, 39, 0.5);
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 6rem;
  font-size: 0.8rem;
  color: rgba(17, 24, 39, 0.4);
}

.footer-domain {
  margin-top: 0.35rem;
}

.footer-domain a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.footer-domain a:hover {
  color: var(--primary);
}

/* ---------- Floating Action Buttons ---------- */
.fab-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--transition);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.fab svg {
  width: 24px;
  height: 24px;
}

.fab-whatsapp {
  background: #25D366;
  color: white;
}

.fab-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

.fab-call {
  background: var(--primary);
  color: var(--gold);
}

.fab-call:hover {
  background: var(--gold);
  color: var(--primary);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 30px rgba(200, 155, 60, 0.4);
}

.fab-top {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid rgba(15, 44, 89, 0.12);
}

.fab-top:hover {
  background: var(--primary);
  color: var(--gold);
  transform: translateY(-4px);
}

.fab-top[hidden] {
  display: none;
}

/* ---------- Scroll Animations ---------- */
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-right {
  transform: translateX(40px);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    order: -1;
  }

  .info-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .feature-item {
    width: calc(20% - 1rem);
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 640px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .call-btn span {
    display: none;
  }

  .call-btn {
    padding: 0.65rem;
    border-radius: 50%;
  }

  .hero-section {
    padding: 1.5rem 1.25rem 2.5rem;
    gap: 2rem;
  }

  .features-grid {
    gap: 0.85rem;
  }

  .feature-item {
    width: calc(50% - 0.5rem);
  }

  .feature-item:last-child {
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .info-bar {
    border-radius: 24px 24px 0 0;
  }

  .info-bar-inner {
    grid-template-columns: 1fr;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .skyline-deco {
    width: 200px;
    opacity: 0.4;
  }

  .fab-group {
    bottom: 1rem;
    right: 1rem;
  }

  .fab {
    width: 46px;
    height: 46px;
  }

  .glass-card {
    left: 12px;
    right: 12px;
    bottom: -16px;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-image {
    animation: none;
  }
}
