/* ==========================================================================
   RAMZ KAYAN CONTRACTING — COMING SOON
   Premium Architectural Minimalist Landing Page
   ========================================================================== */

:root {
  --font-display: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Brand Colors */
  --color-cyan: #22a7be;
  --color-cyan-bright: #32d0ea;
  --color-cyan-glow: rgba(34, 167, 190, 0.45);
  --color-gold-glow: rgba(220, 165, 90, 0.15);
  
  /* Dark Mood Surfaces */
  --bg-deep: #070c12;
  --bg-card: rgba(13, 21, 32, 0.82);
  --bg-input: rgba(18, 30, 46, 0.75);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(34, 167, 190, 0.4);
  
  /* Typography Colors */
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-accent: #22a7be;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Ambient Scene Background & Layers
   ========================================================================== */
.scene-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-image-wrapper {
  position: absolute;
  inset: -20px; /* Slight bleed to allow smooth drift without edge reveals */
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  background-image: url('background.jpeg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  filter: contrast(1.05) brightness(0.9);
  animation: kenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0%, 0%);
  }
  50% {
    transform: scale(1.045) translate(-1%, -0.8%);
  }
  100% {
    transform: scale(1.02) translate(0.5%, 0.4%);
  }
}

/* Gradient Overlay - darker on left for crisp text contrast, letting building glow on right */
.bg-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(6, 11, 17, 0.92) 0%,
    rgba(7, 14, 23, 0.85) 35%,
    rgba(9, 18, 29, 0.72) 60%,
    rgba(10, 19, 31, 0.58) 100%
  );
  mix-blend-mode: multiply;
}

/* Moody Vignette & Deep Blue Tint */
.bg-overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(12, 22, 35, 0.45) 0%,
    rgba(7, 13, 20, 0.82) 70%,
    rgba(4, 7, 12, 0.96) 100%
  );
}

/* Mouse Spotlight Cursor Light */
.mouse-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    650px circle at var(--mouse-x, 30%) var(--mouse-y, 45%),
    rgba(34, 167, 190, 0.09) 0%,
    transparent 65%
  );
  opacity: 0.8;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Ambient Dust / Particle Canvas */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}

/* ==========================================================================
   Page Viewport Layout
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 64px 32px 64px;
}

@media (max-width: 1024px) {
  .page-wrapper {
    padding: 32px 36px 28px 36px;
  }
}

@media (max-width: 640px) {
  .page-wrapper {
    padding: 24px 20px 20px 20px;
  }
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeInDown 1.1s var(--ease-out-expo) forwards;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.brand-logo {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.55));
}

@media (max-width: 768px) {
  .brand-logo {
    height: 48px;
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 42px;
    max-width: 190px;
  }
}

/* Header Right - Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(14, 25, 38, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.status-badge:hover {
  border-color: rgba(34, 167, 190, 0.3);
  background: rgba(14, 25, 38, 0.65);
}

.status-pulse-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
}

.pulse-core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan), 0 0 16px var(--color-cyan-bright);
}

.pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--color-cyan);
  animation: ripplePulse 2.4s infinite cubic-bezier(0.2, 0.8, 0.4, 1);
}

@keyframes ripplePulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.9);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.status-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a0aec0;
}

@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .status-badge {
    align-self: flex-start;
  }
}

/* ==========================================================================
   Hero Section & Content
   ========================================================================== */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  max-width: 900px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 36px 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Kicker */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  animation: fadeInRight 1.2s var(--ease-out-expo) 0.25s forwards;
  opacity: 0;
}

.kicker-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  background-color: var(--color-cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--color-cyan-glow);
  transform-origin: left;
  animation: expandLine 1s var(--ease-out-expo) 0.3s forwards;
}

.kicker-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

/* Hero Title - COMING SOON. */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7.8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--text-white);
  text-transform: uppercase;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.title-line-mask {
  overflow: hidden;
  display: block;
}

.title-line {
  display: inline-block;
  transform: translateY(115%);
  animation: revealLine 1.3s var(--ease-out-expo) forwards;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
}

.hero-title .title-line-mask:nth-child(1) .title-line {
  animation-delay: 0.4s;
}

.hero-title .title-line-mask:nth-child(2) .title-line {
  animation-delay: 0.55s;
}

.hero-title .period {
  color: var(--text-white);
  display: inline-block;
}

/* Accent Line Bar */
.accent-line-wrapper {
  margin: 30px 0 24px 0;
  overflow: hidden;
}

.accent-line {
  width: 76px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-cyan-bright) 100%);
  border-radius: 2px;
  box-shadow: 0 0 14px var(--color-cyan-glow);
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  animation: expandBar 1.2s var(--ease-out-expo) 0.8s forwards;
}

.accent-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: barShimmer 3.5s infinite 2s ease-in-out;
}

@keyframes barShimmer {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 14px;
  max-width: 650px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s var(--ease-out-expo) 0.95s forwards;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* Hero Description */
.hero-description {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s var(--ease-out-expo) 1.1s forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
  width: 100%;
  animation: fadeInUp 1.2s var(--ease-out-expo) 1.35s forwards;
  opacity: 0;
}

.footer-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.18) 20%,
    rgba(255, 255, 255, 0.18) 80%,
    rgba(255, 255, 255, 0.03) 100%
  );
  margin-bottom: 22px;
  transform: scaleX(0);
  transform-origin: left;
  animation: expandLine 1.4s var(--ease-out-expo) 1.35s forwards;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-left:hover, .footer-right:hover {
  color: var(--text-muted);
}

.footer-center {
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
}

@media (max-width: 768px) {
  .footer-center {
    display: none;
  }
}

@media (max-width: 520px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealLine {
  from {
    transform: translateY(115%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes expandBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
