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

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --dark: #1a1a1a;
  --darker: #111;
  --cream: #faf6ef;
  --cream-dark: #f0e8d8;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== Typography ===== */
.font-display {
  font-family: 'Playfair Display', 'Georgia', serif;
}

h1, h2, h3 { font-family: 'Playfair Display', 'Georgia', serif; font-weight: 600; }

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 16px 0;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  transition: color var(--transition);
}

.header.scrolled .logo { color: var(--dark); }

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.header.scrolled .nav-links a { color: var(--text); }
.header.scrolled .nav-links a:hover { color: var(--gold); }

.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 3px;
  transition: background var(--transition);
}

.header.scrolled .lang-switch {
  background: rgba(0,0,0,0.06);
}

.lang-btn {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.header.scrolled .lang-btn { color: var(--text-light); }

.lang-btn.active {
  background: var(--gold);
  color: var(--white) !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span { background: var(--dark); }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    color: var(--text) !important;
    font-size: 1.1rem;
  }

  .lang-switch { background: rgba(0,0,0,0.06); }
  .lang-btn { color: var(--text-light) !important; }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  animation: fadeUp 1s ease-out 0.3s both;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(201, 169, 110, 0.6);
  border-radius: 30px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero h1 .accent { color: var(--gold-light); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: #b8943d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s ease 1.5s both;
}

.scroll-indicator .mouse {
  width: 26px; height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 13px;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== About Section ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img { transform: scale(1.03); }

.about-text h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.about-feature .icon {
  width: 36px; height: 36px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about { padding: 80px 0; }
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 10px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.08); }

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.service-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ===== Gallery ===== */
.gallery {
  padding: 100px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.15);
}

.gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:first-child {
    grid-row: span 1;
    aspect-ratio: 1;
  }
}

/* ===== Contact / CTA ===== */
.contact {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.contact .section-title { color: var(--white); }
.contact .section-desc { color: rgba(255,255,255,0.6); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px; height: 48px;
  background: rgba(201,169,110,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.contact-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-item p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-item a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}

.contact-item a:hover { color: var(--gold); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.contact-map-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.3);
}

.contact-map-placeholder svg { margin-bottom: 12px; opacity: 0.5; }

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact { padding: 80px 0; }
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  background: var(--darker);
  text-align: center;
}

.footer p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer .logo {
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: inline-block;
}

/* ===== Promo Banner ===== */
.promo-banner {
  background: linear-gradient(135deg, #c9a96e, #b8943d);
  color: var(--white);
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: none;
  position: relative;
  z-index: 1001;
}

.promo-banner.visible { display: block; }

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.promo-close {
  color: rgba(255,255,255,0.8);
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  flex-shrink: 0;
  transition: color var(--transition);
}

.promo-close:hover { color: var(--white); }

/* ===== Service Prices ===== */
.service-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}

.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.service-duration {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* ===== Reviews ===== */
.reviews {
  padding: 100px 0;
  background: var(--cream);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.review-service {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .reviews { padding: 80px 0; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ===== Before/After Slider ===== */
.beforeafter-section {
  margin-top: 20px;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-after {
  z-index: 1;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: auto;
}

.ba-handle-line {
  width: 2px;
  flex: 1;
  background: var(--white);
  opacity: 0.8;
}

.ba-handle-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ba-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===== Floating Buttons ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  animation: fadeIn 0.5s ease 2s both;
}

.zalo-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0068ff;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 104, 255, 0.4);
  transition: all var(--transition);
}

.zalo-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 104, 255, 0.5);
}

.phone-float a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.4);
  transition: all var(--transition);
}

.phone-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(201, 169, 110, 0.5);
}

.phone-float svg {
  animation: phoneRing 2s ease infinite;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-5deg); }
  50% { transform: rotate(0); }
}

@media (max-width: 768px) {
  .phone-float a span { display: none; }
  .phone-float a { padding: 16px; border-radius: 50%; }
  .zalo-float { width: 48px; height: 48px; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  color: white;
  font-size: 2rem;
  padding: 8px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* ===== Smooth loading ===== */
.page-loaded .hero-content { animation-play-state: running; }
