/* ==========================================================================
   Escala Design - UI UX Pro Max Stylesheet
   Luxury Interior & Furniture Studio
   ========================================================================== */

:root {
  --color-bg-base: #0a0a0c;
  --color-bg-surface: #111115;
  --color-bg-card: rgba(18, 18, 24, 0.75);
  
  --color-burgundy: #851230;
  --color-burgundy-light: #a41c42;
  --color-burgundy-dark: #580b1f;
  --color-burgundy-glow: rgba(133, 18, 48, 0.45);
  
  --color-gold: #D4AF37;
  --color-gold-light: #F6E294;
  --color-gold-dark: #A58020;
  --color-gold-glow: rgba(212, 175, 55, 0.35);
  
  --color-text-main: #f5f5f7;
  --color-text-muted: #9e9ea7;
  --color-text-dim: #686873;
  
  --color-wa-green: #25d366;
  
  --font-serif: 'Cinzel', serif;
  --font-script: 'Alex Brush', cursive;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', serif;
  
  --easing-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --border-gold-subtle: rgba(212, 175, 55, 0.25);
  --border-white-subtle: rgba(255, 255, 255, 0.08);
}

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

html {
  font-size: 16px;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(circle at 50% 10%, #15151b 0%, #0a0a0c 70%, #060608 100%);
  overflow-x: hidden;
}

/* Ambient Backlighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.35;
  transition: opacity 1s ease;
}

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.glow-burgundy {
  top: 25%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-burgundy-glow) 0%, transparent 65%);
  animation: pulseGlow 14s infinite alternate ease-in-out;
}

.glow-gold {
  bottom: 10%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
  animation: pulseGlow 10s infinite alternate-reverse ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
  50% { transform: scale(1.15) translate(20px, -15px); opacity: 0.45; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.25; }
}

/* Subtle Particles / Star Dust */
.particles-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 70px 150px, rgba(212, 175, 55, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 150px 80px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 250px 220px, rgba(212, 175, 55, 0.2), transparent);
  background-size: 300px 300px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

/* Header Navigation Bar */
.luxury-header {
  position: relative;
  z-index: 10;
  padding: 1.5rem 2rem 1rem;
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.brand-heritage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-text-main);
}

.heritage-dot {
  color: var(--color-gold);
  font-size: 0.8rem;
}

.heritage-text {
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.header-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--color-gold-light);
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-gold);
  animation: liveBlink 1.8s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Page Wrapper - Full Width Luxury Showcase */
.page-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Stage & Full Width Container */
.hero-screen-stage {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.hero-screen-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  line-height: 0;
  overflow: hidden;
  animation: heroEntrance 1.1s var(--easing-luxury) forwards;
}

.hero-picture {
  width: 100%;
  max-width: 100%;
  display: block;
}

.hero-screen-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(104%) brightness(101%);
}

/* Dynamic Glare Sweep across image */
.artwork-glare {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 5;
  animation: glareSweep 8s infinite 2.5s ease-in-out;
}

@keyframes glareSweep {
  0% { left: -100%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: scale(0.99);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Heritage Anniversary Badge for Mobile Viewport (<= 768px) */
.heritage-mobile-badge {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 1.5rem 1.4rem;
  width: 100%;
  animation: heroEntrance 1.1s var(--easing-luxury) forwards;
}

.heritage-years-range {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 3px;
  line-height: 1.2;
}

.heritage-line {
  width: 52px;
  height: 1.5px;
  background: var(--color-gold);
  margin: 0.55rem auto 0.35rem;
  opacity: 0.95;
}

.heritage-number {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-gold);
  background: linear-gradient(135deg, #f6e294 0%, #D4AF37 60%, #a58020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.1rem 0;
  text-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
}

.heritage-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 9px;
  text-indent: 9px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .heritage-mobile-badge {
    display: flex;
  }
}

/* Footer Section - Faithfully matching the reference visual */
.site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #06070b;
  padding: 0.5rem 1.5rem 1.6rem;
  margin-top: 0;
}

/* Continuous Gold Line Separator from Reference Visual */
.footer-gold-line {
  width: 92%;
  max-width: 1200px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 15%, var(--color-gold) 50%, rgba(212, 175, 55, 0.3) 85%, transparent 100%);
  margin: 0.8rem auto 1.8rem;
}

/* Contact Bar: WhatsApp & Email */
.footer-contact-bar {
  max-width: 900px;
  margin: 0 auto 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.8rem;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  font-weight: 400;
  transition: transform 0.25s var(--easing-luxury), color 0.25s ease;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

.footer-contact-link:hover {
  transform: translateY(-2px);
}

/* WhatsApp Icon Badge (Solid green circle with white phone) */
.wa-circle-badge {
  width: 34px;
  height: 34px;
  background-color: var(--color-wa-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--easing-luxury), box-shadow 0.3s var(--easing-luxury);
}

.wa-item:hover .wa-circle-badge {
  transform: scale(1.1);
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.7);
}

.contact-number {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Vertical divider between WhatsApp and Email */
.footer-bar-divider {
  color: rgba(212, 175, 55, 0.5);
  font-size: 1.4rem;
  font-weight: 300;
  user-select: none;
}

/* Email Outline Icon */
.email-outline-icon {
  font-size: 1.35rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--easing-luxury), color 0.3s ease;
}

.email-item:hover .email-outline-icon {
  transform: scale(1.1);
  color: var(--color-gold);
}

.contact-email {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* Copyright & Developer Line */
.footer-copyright-row {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.1rem;
}

.footer-copyright-row p {
  font-size: 0.76rem;
  color: var(--color-text-dim);
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.footer-copyright-row strong {
  color: var(--color-text-muted);
}

.footer-copyright-row a.dev-link {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-copyright-row a.dev-link:hover {
  color: var(--color-gold-light);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  text-decoration: underline;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .footer-gold-line {
    width: 95%;
    margin-bottom: 1.4rem;
  }
  
  .footer-contact-bar {
    gap: 1.8rem;
  }
}

@media (max-width: 650px) {
  .site-footer {
    padding: 0.8rem 1rem 1.4rem;
  }

  .footer-contact-bar {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.4rem;
  }

  .footer-bar-divider {
    display: none;
  }

  .footer-contact-link {
    font-size: 1.02rem;
  }

  .footer-copyright-row p {
    font-size: 0.72rem;
  }
}
