/* Luminous Light Glassmorphism Design System - global.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  
  /* Balanced Light Glassmorphism Palette */
  --bg-deep: #f0f4f8;
  --ink-light: #0f172a;
  --ink-dim: #475569;
  --accent-gold: #b59449;
  --accent-gold-light: #aa8b52;
  --accent-bronze: #8c6a3c;
  --bg-dark-accent: #ffffff;
  
  /* Apple-style Light Liquid Glassmorphism Specs */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-border-hover: rgba(181, 148, 73, 0.55);
  --glass-blur: 30px;
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05), inset 0 1px 1px 0 rgba(255, 255, 255, 1);
  --glow-gold: 0 0 30px rgba(181, 148, 73, 0.15);
  
  --transition-smooth: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base Elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--ink-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Light Liquid Animated Background Blobs - Soft Gold / Rose / Sky Blue */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-deep);
}

.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: drift 24s infinite alternate ease-in-out;
}

.blob-1 {
  top: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(181, 148, 73, 0.22) 0%, rgba(181, 148, 73, 0) 70%);
  animation-duration: 28s;
}

.blob-2 {
  bottom: -20%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(244, 164, 164, 0.2) 0%, rgba(244, 164, 164, 0) 70%);
  animation-duration: 32s;
  animation-delay: -6s;
}

.blob-3 {
  top: 35%;
  left: 40%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(165, 195, 243, 0.22) 0%, rgba(165, 195, 243, 0) 70%);
  animation-duration: 26s;
  animation-delay: -12s;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(3%, 5%) scale(1.06) rotate(180deg); }
  100% { transform: translate(-3%, -3%) scale(0.94) rotate(360deg); }
}

/* Glassmorphism Panel Class */
.glass-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  transition: var(--transition-smooth);
}


/* Header & Navigation Styling */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  padding: 5px clamp(18px, 3vw, 46px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 52px;
  object-fit: contain;
  filter: none;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-light);
  text-transform: uppercase;
}

.brand em {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* Horizontal Page-Rail Navigation (Ported from CODEX with Slate-Gold sweep) */
.page-rail {
  position: static;
  display: flex;
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: clamp(18px, 2vw, 30px);
  max-width: none;
  height: auto;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 28px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
}

.page-rail::-webkit-scrollbar {
  display: none;
}

.page-rail a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  border-radius: 0;
  color: var(--ink-dim);
  background: transparent;
  font-size: clamp(0.72rem, 0.88vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: visible;
  white-space: nowrap;
  scroll-snap-align: center;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.page-rail a::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.28), var(--ink-light) 42%, var(--accent-gold) 50%, var(--ink-light) 58%, rgba(15, 23, 42, 0.28));
  background-size: 280% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 0;
  pointer-events: none;
}

.page-rail a:hover,
.page-rail a.is-active {
  color: var(--ink-light);
  background: transparent;
  transform: translateY(-1px);
}

.page-rail a.is-active::after {
  opacity: 1;
  animation: wordSweep 4400ms ease-in-out infinite;
}

.page-rail a.is-active {
  color: transparent;
}

/* Contact Button (Liquid Glass Morph) */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent-gold-light);
  border: 1px solid rgba(181, 148, 73, 0.4);
  box-shadow: 0 4px 12px rgba(181, 148, 73, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-wa:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(181, 148, 73, 0.08) 0%, rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 8px 20px rgba(181, 148, 73, 0.12);
  color: var(--accent-bronze);
}

/* Hamburger Menu Toggle (Mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 24px;
  height: 24px;
  z-index: 115; /* Sits above fullscreen drawer content */
}

.nav-toggle .hamburger-line {
  position: absolute;
  left: 2px;
  width: 20px;
  height: 2px;
  background-color: var(--ink-light);
  transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1), top 300ms cubic-bezier(0.25, 0.8, 0.25, 1), background-color 300ms ease;
}

.nav-toggle .line-1 {
  top: 8px;
}

.nav-toggle .line-2 {
  top: 14px;
}

/* Transform to X */
body.drawer-open .nav-toggle .line-1 {
  top: 11px;
  transform: rotate(45deg);
}

body.drawer-open .nav-toggle .line-2 {
  top: 11px;
  transform: rotate(-45deg);
}

/* Mobile Nav Drawer overlay (Apple-style fullscreen top-down) */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 105;
  padding: 120px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: none;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer .nav-link {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-light);
  text-decoration: none;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1), opacity 400ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.mobile-drawer.is-open .nav-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-drawer.is-open .nav-link:nth-child(1) { transition-delay: 80ms; }
.mobile-drawer.is-open .nav-link:nth-child(2) { transition-delay: 130ms; }
.mobile-drawer.is-open .nav-link:nth-child(3) { transition-delay: 180ms; }
.mobile-drawer.is-open .nav-link:nth-child(4) { transition-delay: 230ms; }
.mobile-drawer.is-open .nav-link:nth-child(5) { transition-delay: 280ms; }

/* Liquid Glass Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 32px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  cursor: pointer;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  position: relative;
  overflow: hidden;
}

/* Liquid shine sheen on all buttons */
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
}

/* Primary Button - Dark contrast on light glass */
.button.primary {
  background: rgba(255, 255, 255, 0.8);
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.button.primary:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(181, 148, 73, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.40);
  color: #0f172a;
}

/* Secondary: Translucent ghost glass */
.button.secondary {
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.60);
  border-color: rgba(15, 23, 42, 0.35);
  color: #0f172a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Scroll Progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  transform: scaleX(0);
  transform-origin: left;
}

/* Footers */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.6);
  padding: 48px 6%;
  font-size: 0.8rem;
  color: var(--ink-dim);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--ink-light);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1000ms cubic-bezier(0.25, 1, 0.5, 1), transform 1000ms cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes premiumFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes wordSweep {
  0% {
    background-position: 180% 50%;
  }
  55%,
  100% {
    background-position: -60% 50%;
  }
}

/* Responsive Queries */
@media (max-width: 900px) {
  .btn-wa {
    display: none;
  }

  .site-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 clamp(12px, 4%, 24px);
    z-index: 110;
  }

  .page-rail {
    display: none !important;
  }

  .nav-toggle {
    display: block;
  }
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100; /* Ensure it floats above footers and other panels */
  display: grid;
  gap: 2px;
  min-width: 142px;
  min-height: 58px;
  justify-content: center;
  align-content: center;
  padding: 10px 18px;
  border: 1px solid var(--accent-gold);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(223, 233, 232, 0.6));
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 220ms ease, box-shadow 220ms ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 64px rgba(4, 9, 14, 0.3);
}

.floating-whatsapp.glass-reactive:hover {
  transform: translateY(-2px);
}

.floating-whatsapp span {
  color: #0fa958;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.floating-whatsapp strong {
  font-size: 0.92rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-light);
}

