/* ==========================================================================
   GENCA SANDALYE & MASA - MODERN LUXURY COMING SOON STYLESHEET
   ========================================================================== */

:root {
  --bg-dark: #0b0d11;
  --bg-card: rgba(22, 26, 34, 0.75);
  --bg-card-hover: rgba(28, 33, 44, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(197, 160, 89, 0.3);
  
  --gold: #c5a059;
  --gold-light: #e6c88b;
  --gold-dark: #997838;
  --gold-glow: rgba(197, 160, 89, 0.25);
  
  --text-primary: #f5f6f8;
  --text-secondary: #9aa1ad;
  --text-muted: #676e79;
  
  --accent-green: #2ecc71;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   PRELOADER & LOGO INTRO ANIMATION
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: #08090c;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  position: relative;
  max-width: 320px;
  padding: 20px;
}

.intro-logo-wrap {
  position: relative;
  display: inline-block;
  animation: logoBreath 2.8s ease-in-out infinite;
}

.intro-logo {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  transform: scale(0.9);
  animation: logoPopIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.intro-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  filter: blur(15px);
  z-index: -1;
  animation: glowPulse 2s ease-in-out infinite alternate;
}

.intro-subtext {
  margin-top: 24px;
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
}

.intro-progress-bar {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px auto 0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.intro-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  animation: fillProgress 1.4s ease-in-out forwards;
}

@keyframes logoPopIn {
  0% { transform: scale(0.6) translateY(20px); opacity: 0; filter: brightness(0) invert(1) blur(6px); }
  100% { transform: scale(1) translateY(0); opacity: 1; filter: brightness(0) invert(1) blur(0); }
}

@keyframes logoBreath {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes glowPulse {
  0% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 0.8; transform: scale(1.15); }
}

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

@keyframes fillProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* ==========================================================================
   DYNAMIC BACKGROUND: MESH ORBS & FURNITURE VECTORS
   ========================================================================== */
.bg-decor-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Glowing Mesh Orbs */
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  transition: transform 0.5s ease-out;
}

.mesh-orb-1 {
  top: -10%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #c5a059 0%, #1f1b13 70%, transparent 100%);
  animation: orbDrift 20s infinite alternate ease-in-out;
}

.mesh-orb-2 {
  bottom: -10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3a2e1d 0%, #151a24 70%, transparent 100%);
  animation: orbDrift 25s infinite alternate-reverse ease-in-out;
}

.mesh-orb-3 {
  top: 45%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%);
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Furniture Vector Silhouette Layer */
.furniture-vector-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/furniture-bg.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.55;
  mix-blend-mode: lighten;
  transition: transform 0.2s ease-out;
}

/* Subtly animated floating vector elements */
.floating-chair-badge {
  position: absolute;
  opacity: 0.12;
  stroke: var(--gold);
  animation: floatFurniture 12s ease-in-out infinite;
}

@keyframes floatFurniture {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/* Grid overlay lines */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.header-brand:hover .header-logo {
  transform: scale(1.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.phone-pill:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.phone-pill .icon {
  color: var(--gold);
  display: flex;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 60px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.15);
}

.badge-tag .dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Center Animated Big Logo */
.hero-logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-logo-img {
  max-height: 110px;
  max-width: 90%;
  filter: brightness(0) invert(1);
  animation: logoHeroFloat 5s ease-in-out infinite;
  transition: var(--transition);
}

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

/* Main Typography */
.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  max-width: 950px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ffffff 30%, #f0ede6 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

/* ==========================================================================
   COUNTDOWN TIMER
   ========================================================================== */
.countdown-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 95px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.countdown-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.countdown-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   SUBSCRIBE / NOTIFY ME FORM
   ========================================================================== */
.subscribe-card {
  width: 100%;
  max-width: 580px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 48px;
  position: relative;
}

.subscribe-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.subscribe-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 10px;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

.input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.input-field:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.input-field::placeholder {
  color: var(--text-muted);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #121212;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
  background: linear-gradient(135deg, #f0d59a 0%, var(--gold-light) 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ==========================================================================
   CONTACT & DETAILS GRID
   ========================================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin-top: 10px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.contact-card:hover::after {
  opacity: 1;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.card-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.4;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-action {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-action-primary {
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-light);
  border-color: rgba(197, 160, 89, 0.3);
}

.btn-action-primary:hover {
  background: var(--gold);
  color: #121212;
}

.btn-action-whatsapp {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.3);
}

.btn-action-whatsapp:hover {
  background: #2ecc71;
  color: #ffffff;
}

.btn-action-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-action-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   MODAL DIALOG (CATALOG & QUICK INQUIRY)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #14171e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-header {
  margin-bottom: 24px;
  text-align: left;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.textarea-field {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.textarea-field:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   FLOATING WHATSAPP & FOOTER
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 990;
  text-decoration: none;
  transition: var(--transition);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 18px;
  transition: var(--transition);
}

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

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #191e27;
  border: 1px solid var(--border-glow);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.success {
  border-left: 4px solid var(--accent-green);
}

.toast.error {
  border-left: 4px solid #e74c3c;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
  .main-header {
    padding: 18px 0;
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-section {
    padding: 20px 0 40px;
  }

  .countdown-box {
    gap: 10px;
  }

  .countdown-item {
    padding: 12px 14px;
    min-width: 74px;
  }

  .countdown-number {
    font-size: 1.75rem;
  }

  .subscribe-card {
    padding: 22px 18px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
  }

  .footer-links a {
    margin: 0 10px;
  }
}
