/* ===== REALITY BUANDERIE — Modern Stylesheet ===== */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #b8860b;
  --accent-light: #d4a537;
  --white: #ffffff;
  --light: #f8fafc;
  --surface: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.08);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max: 1180px;
  --nav-h: 72px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

img { max-width:100%; height:auto; display:block }
a { text-decoration:none; color:inherit; transition:var(--transition) }
ul { list-style:none }

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height:1.15; font-weight:700; letter-spacing:-0.02em }
h1 { font-size:clamp(2.4rem,5vw,3.8rem) }
h2 { font-size:clamp(1.8rem,3.5vw,2.5rem); color:var(--primary) }
h3 { font-size:clamp(1.1rem,2vw,1.25rem) }
h4 { font-size:1rem }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title { margin-bottom:.5rem }
.section-subtitle { color:var(--text-muted); font-size:1.05rem; max-width:560px; margin:0 auto }

.divider { width:48px; height:3px; background:var(--accent); border-radius:2px; margin:1rem 0 }

/* ---- Container & Spacing ---- */
.container { width:100%; max-width:var(--max); margin:0 auto; padding:0 1.5rem }

.section { padding:clamp(3.5rem,8vw,6rem) 0 }
.section-sm { padding:clamp(2rem,5vw,4rem) 0 }

.text-center { text-align:center }
.mx-auto { margin-left:auto; margin-right:auto }
.mt-1 { margin-top:1rem }
.mt-2 { margin-top:2rem }
.mt-3 { margin-top:3rem }
.mb-1 { margin-bottom:1rem }
.mb-2 { margin-bottom:2rem }

/* ---- Header ---- */
.header {
  position:fixed; top:0; left:0; width:100%; height:var(--nav-h);
  background:rgba(255,255,255,.92); backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  z-index:1000; transition:var(--transition);
}

.header.scrolled { border-color:var(--border); box-shadow:var(--shadow-sm) }

.header-inner {
  display:flex; align-items:center; justify-content:space-between; height:100%;
}

.logo {
  display:flex; align-items:center; gap:.6rem;
  font-size:1.15rem; font-weight:800; color:var(--primary); letter-spacing:-.01em;
}

.logo-mark {
  width:34px; height:34px; border-radius:var(--radius-sm);
  background:var(--primary);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent-light); font-size:.9rem; font-weight:800;
}

.nav-links { display:flex; align-items:center; gap:2rem }

.nav-links a {
  font-size:.88rem; font-weight:500; color:var(--text-muted);
  position:relative; padding:.25rem 0;
}

.nav-links a:hover,
.nav-links a.active { color:var(--primary) }

.nav-links a::after {
  content:''; position:absolute; bottom:-2px; left:0; width:0; height:1.5px;
  background:var(--accent); transition:width .3s ease; border-radius:1px;
}

.nav-links a:hover::after,
.nav-links a.active::after { width:100% }

.nav-cta {
  background:var(--primary) !important; color:var(--white) !important;
  padding:.5rem 1.2rem !important; border-radius:50px !important;
  font-weight:600 !important; font-size:.85rem !important;
}

.nav-cta:hover { background:var(--primary-light) !important }
.nav-cta::after { display:none !important }

.hamburger {
  display:none; flex-direction:column; justify-content:center; align-items:center;
  gap:5px; cursor:pointer; width:44px; height:44px; z-index:1002;
  border-radius:50%; background:transparent; border:none;
  transition:var(--transition);
}

.hamburger:hover { background:var(--surface) }

.hamburger span {
  width:24px; height:2.5px; background:var(--primary); border-radius:3px;
  transition:transform .3s ease, opacity .2s ease;
}

.hamburger.active span:nth-child(1) {
  transform:translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity:0;
}

.hamburger.active span:nth-child(3) {
  transform:translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position:fixed; top:0; left:0; width:100%; height:100vh;
  background:rgba(15,23,42,.45); backdrop-filter:blur(2px);
  opacity:0; visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
  z-index:999;
}

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

/* ---- Buttons ---- */
.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.85rem 1.75rem; border-radius:50px;
  font-size:.92rem; font-weight:600; transition:var(--transition);
  border:none; cursor:pointer; font-family:inherit; letter-spacing:-.01em;
}

.btn-primary {
  background:var(--primary); color:var(--white);
  box-shadow:0 2px 8px rgba(15,23,42,.15);
}

.btn-primary:hover {
  background:var(--primary-light); transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(15,23,42,.2);
}

.btn-accent {
  background:var(--accent); color:var(--white);
  box-shadow:0 2px 8px rgba(184,134,11,.2);
}

.btn-accent:hover {
  background:var(--accent-light); transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(184,134,11,.25);
}

.btn-outline {
  background:transparent; color:var(--text-light);
  border:1.5px solid var(--border);
}

.btn-outline:hover { border-color:var(--primary); background:var(--surface) }

.btn-lg { padding:1rem 2.25rem; font-size:1rem }

/* ---- Hero ---- */
.hero {
  min-height:88vh; display:flex; align-items:center;
  background:linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  color:var(--text);
  position:relative; overflow:hidden; margin-top:var(--nav-h);
  padding:clamp(4rem,8vw,7rem) 0;
}

.hero-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center;
}

.hero::before {
  content:''; position:absolute; top:-15%; right:-10%;
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, rgba(184,134,11,.06) 0%, transparent 60%);
}

.hero::after {
  content:''; position:absolute; bottom:-20%; left:-10%;
  width:450px; height:450px; border-radius:50%;
  background:radial-gradient(circle, rgba(15,23,42,.03) 0%, transparent 60%);
}

.hero-content { position:relative; z-index:1 }

.hero-label {
  display:inline-block; font-size:.78rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.1em;
  color:var(--accent); margin-bottom:1.25rem;
  padding:.35rem 1rem; border-radius:50px;
  border:1px solid rgba(184,134,11,.2); background:rgba(184,134,11,.05);
}

.hero-content h1 {
  color:var(--primary); margin-bottom:1.25rem; font-size:clamp(2.4rem,5.5vw,4rem);
}

.hero-content p {
  font-size:1.1rem; color:var(--text-muted);
  max-width:480px; line-height:1.75; margin-bottom:2rem;
}

.hero-actions { display:flex; gap:1rem; flex-wrap:wrap }

.hero-visual {
  position:relative; z-index:1;
  display:flex; align-items:center; justify-content:center;
}

.hero-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-xl); padding:2.5rem;
  box-shadow:var(--shadow-lg);
}

.hero-card p { color:var(--text-muted) }

.hero-stats { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin-top:2rem }

.hero-stat h3 {
  font-size:1.6rem; color:var(--primary);
}

.hero-stat span { font-size:.8rem; color:var(--text-muted) }

.hero .btn-outline {
  color:var(--primary); border-color:var(--border); background:var(--white);
}

.hero .btn-outline:hover {
  border-color:var(--primary); background:var(--surface);
}

/* ---- Service Cards ---- */
.grid-3 {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:1.5rem;
}

.grid-3 .card {
  flex:1 1 300px; max-width:360px;
}

.grid-4 {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:1.25rem;
}

.grid-4 .hotel-card {
  flex:1 1 220px; max-width:280px;
}

.card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem; transition:var(--transition);
  cursor:pointer;
}

.card:hover { border-color:transparent; box-shadow:var(--shadow-lg); transform:translateY(-3px) }

.hotel-card {
  cursor: pointer;
}

.card-icon {
  width:48px; height:48px; border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.25rem; font-size:1.3rem;
}

.card-icon.blue { background:#eff6ff; color:#2563eb }
.card-icon.gold { background:#fffbeb; color:var(--accent) }
.card-icon.green { background:#f0fdf4; color:#16a34a }
.card-icon.purple { background:#faf5ff; color:#9333ea }
.card-icon.rose { background:#fff1f2; color:#e11d48 }
.card-icon.teal { background:#f0fdfa; color:#0d9488 }

.card h3 { margin-bottom:.4rem; color:var(--primary) }
.card p { color:var(--text-muted); font-size:.9rem; line-height:1.65 }

/* ---- Hotel Cards ---- */
.hotel-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.75rem 1.5rem;
  text-align:center; transition:var(--transition);
  border-top:3px solid var(--accent); cursor: pointer;
}

.hotel-card:hover {
  border-color:transparent; box-shadow:var(--shadow-lg); transform:translateY(-2px);
  border-top-color:var(--accent-light);
}

/* ---- Feature Row ---- */
.feature-row {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:1.5rem;
}

.feature {
  flex:1 1 270px; max-width:360px;
  display:flex; gap:1rem; align-items:flex-start;
}

.feature-dot {
  width:40px; height:40px; min-width:40px; border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem;
}

.feature-text h4 { margin-bottom:.25rem }
.feature-text p { color:var(--text-muted); font-size:.88rem; line-height:1.6 }

/* ---- Surface Sections ---- */
.bg-surface { background:var(--surface) }
.bg-dark { background:var(--primary); color:var(--white) }
.bg-dark h2 { color:var(--white) }
.bg-dark .section-subtitle { color:var(--text-light) }

/* ---- Page Header ---- */
.page-header {
  background:var(--primary); color:var(--white);
  padding:clamp(5rem,10vw,7rem) 0 clamp(3rem,6vw,4rem);
  text-align:center; margin-top:var(--nav-h);
}

.page-header h1 { color:var(--white); margin-bottom:.5rem }
.page-header p { color:rgba(255,255,255,.6); font-size:1.05rem }

/* ---- About ---- */
.about-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center;
  max-width:1000px; margin:0 auto;
}

.about-text { font-size:1.05rem; color:var(--text-muted); line-height:1.85 }

.about-text p { margin-bottom:1.25rem }

.value-grid {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:1.25rem;
}

.value-card {
  flex:1 1 200px; max-width:260px;
  text-align:center; padding:2rem 1.5rem;
  background:var(--white); border-radius:var(--radius-lg);
  border:1px solid var(--border); transition:var(--transition);
}

.value-card:hover { border-color:transparent; box-shadow:var(--shadow-md); transform:translateY(-3px) }

.whatsapp-service { cursor: pointer; }

/* ---- Contact Page ---- */
.contact-layout {
  display:grid; grid-template-columns:1fr 1.1fr; gap:3rem; align-items:start;
}

.contact-form-wrap {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2.25rem;
}

.form-field { margin-bottom:1.15rem }

.form-field label {
  display:block; margin-bottom:.35rem;
  font-size:.85rem; font-weight:600; color:var(--primary);
}

.form-field input,
.form-field textarea,
.form-field select {
  width:100%; padding:.75rem .9rem;
  border:1.5px solid var(--border); border-radius:var(--radius);
  font-size:.92rem; font-family:inherit; color:var(--text);
  background:var(--light); transition:var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  outline:none; border-color:var(--primary);
  background:var(--white); box-shadow:0 0 0 3px rgba(15,23,42,.06);
}

.form-field textarea { min-height:130px; resize:vertical }

.form-submit { width:100%; justify-content:center }

.form-success {
  display:none; text-align:center; padding:2rem;
  background:#f0fdf4; border-radius:var(--radius);
  color:#166534; border:1px solid #bbf7d0;
  margin-bottom:1.5rem;
}

.form-error {
  display:none; text-align:center; padding:2rem;
  background:#fef2f2; border-radius:var(--radius);
  color:#991b1b; border:1px solid #fecaca;
  margin-bottom:1.5rem;
}

.whatsapp-alert {
  display:none; text-align:center; padding:1.25rem;
  background:#f0fdf4; border:1px solid #bbf7d0;
  border-radius:var(--radius); margin-top:1rem;
}

.whatsapp-alert a {
  display:inline-flex; align-items:center; gap:.5rem;
  background:#25d366; color:var(--white); padding:.65rem 1.25rem;
  border-radius:50px; font-weight:600; margin-top:.75rem; transition:var(--transition);
}

.whatsapp-alert a:hover { background:#1ebe5b }

.contact-sidebar {
  display:flex; flex-direction:column; gap:1rem;
}

.contact-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.5rem;
  display:flex; gap:1rem; align-items:flex-start;
}

.contact-card-icon {
  width:42px; height:42px; min-width:42px; border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; background:var(--surface);
}

.contact-card h4 { font-size:.9rem; margin-bottom:.15rem }
.contact-card p, .contact-card a { font-size:.88rem; color:var(--text-muted) }
.contact-card a:hover { color:var(--primary) }

/* ---- Map ---- */
.map-wrap {
  border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-lg); border:1px solid var(--border);
}

.map-wrap iframe { width:100%; height:320px; border:none; display:block }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position:fixed; bottom:1.5rem; right:1.5rem; width:54px; height:54px;
  background:#25d366; border-radius:50%; display:flex; align-items:center;
  justify-content:center; box-shadow:0 4px 16px rgba(37,211,102,.3);
  z-index:999; transition:var(--transition); cursor:pointer;
}

.whatsapp-float:hover {
  transform:scale(1.08); box-shadow:0 6px 24px rgba(37,211,102,.4);
}

.whatsapp-float svg { width:26px; height:26px; fill:var(--white) }

/* ---- Footer ---- */
.footer {
  background:var(--primary); color:rgba(255,255,255,.6);
  padding:3.5rem 0 1.5rem;
}

.footer-grid {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:2.5rem; margin-bottom:2.5rem;
}

.footer-col {
  flex:1 1 200px; max-width:260px;
}

.footer-col h4 { color:var(--white); font-size:.95rem; margin-bottom:1rem }

.footer-col p, .footer-col a { font-size:.85rem; display:block; margin-bottom:.45rem }
.footer-col a:hover { color:var(--accent-light) }

.footer-social { display:flex; gap:.6rem; margin-top:.25rem }

.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.footer-social a[href*="facebook"],
.footer-social a[href="#facebook"] {
  background: #1877f2;
}

.footer-social a[href*="instagram"],
.footer-social a[href="#instagram"] {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social a[href*="tiktok"],
.footer-social a[href="#tiktok"] {
  background: #000000;
  border: 1px solid rgba(255,255,255,.15);
}

.footer-social svg { width: 20px; height: 20px; fill: var(--white); }

.footer-divider {
  border-top:1px solid rgba(255,255,255,.06);
  padding-top:1.25rem; text-align:center;
  font-size:.8rem; color:rgba(255,255,255,.3);
}

/* ---- Responsive ---- */
@media (max-width:1024px) {
  .hero-grid { grid-template-columns:1fr; text-align:center }
  .hero-content p { margin:0 auto 2rem }
  .hero-actions { justify-content:center }
  .hero-visual { display:none }
  .contact-layout { grid-template-columns:1fr }
  .about-grid { grid-template-columns:1fr; text-align:center }
}

@media (max-width:768px) {
  .hamburger { display:flex }

  .page-header {
    padding: 5rem 0 2.5rem;
  }

  .page-header h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .nav-links {
    position:fixed; top:0; right:-100%; width:80%; max-width:320px;
    height:100vh; background:var(--white); flex-direction:column;
    padding:5rem 2rem 2rem; box-shadow:-8px 0 40px rgba(0,0,0,.12);
    transition:right .4s cubic-bezier(.4,0,.2,1), opacity .4s ease;
    gap:0; z-index:1000; opacity:0;
  }

  .nav-links.active { right:0; opacity:1 }

  .nav-links li {
    opacity:0; transform:translateX(24px);
    transition:opacity .35s ease, transform .35s ease;
  }

  .nav-links.active li {
    opacity:1; transform:translateX(0);
  }

  .nav-links li:nth-child(1) { transition-delay:.05s }
  .nav-links li:nth-child(2) { transition-delay:.1s }
  .nav-links li:nth-child(3) { transition-delay:.15s }
  .nav-links li:nth-child(4) { transition-delay:.2s }
  .nav-links li:nth-child(5) { transition-delay:.25s }

  .nav-links a {
    display:block; padding:1.1rem 0;
    font-size:1.15rem; border-bottom:1px solid var(--border);
  }

  .nav-links a::after { display:none }

  .nav-cta {
    text-align:center; width:100%;
    margin-top:1.25rem; border:none;
    padding:.85rem !important; font-size:1rem !important;
  }

  .hero { min-height:auto; text-align:center }
  .hero-content h1 { font-size:clamp(2rem,8vw,3rem) }
  .hero-actions { flex-direction:column; align-items:center }

  .grid-3, .grid-4, .feature-row { grid-template-columns:1fr }
  .footer-grid { grid-template-columns:1fr 1fr }

  .contact-form-wrap { padding:1.5rem }

  .hero-stats { justify-content:center }
}

@media (max-width:480px) {
  .hero-actions .btn { width:100%; justify-content:center }
  .footer-grid { grid-template-columns:1fr }
  .section { padding:2.5rem 0 }
  .value-grid { grid-template-columns:1fr }
  .map-wrap iframe { height:220px }
}

/* ---- Animation ---- */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px) }
  to { opacity:1; transform:translateY(0) }
}

.animate { animation:fadeUp .6s ease both }
.delay-1 { animation-delay:.1s }
.delay-2 { animation-delay:.2s }
.delay-3 { animation-delay:.3s }

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

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

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(.92);
}

.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
}

.reveal-scale.visible {
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: .08s }
.stagger-2 { transition-delay: .16s }
.stagger-3 { transition-delay: .24s }
.stagger-4 { transition-delay: .32s }
.stagger-5 { transition-delay: .40s }
.stagger-6 { transition-delay: .48s }
