@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Montserrat:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e0c76a;
  --gold-dark: #a8872e;
  --red: #d42a2a;
  --white: #f5f5f5;
  --gray: #888;
  --gray-light: #bbb;
  --gray-dark: #333;
  --blue-glow: rgba(30, 60, 120, 0.15);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg-darker);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 900;
  letter-spacing: 12px; color: var(--white);
  border: 3px solid var(--white); padding: 15px 30px;
  animation: pulse 1.5s ease-in-out infinite;
}
.preloader-bar {
  width: 200px; height: 2px; background: var(--gray-dark);
  margin-top: 30px; border-radius: 2px; overflow: hidden;
}
.preloader-bar::after {
  content: ''; display: block; width: 0; height: 100%;
  background: var(--gold); animation: loadBar 2s ease-in-out forwards;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50%; position: fixed; pointer-events: none; z-index: 99998;
  transition: transform 0.1s ease;
}
.cursor-ring {
  width: 35px; height: 35px; border: 1.5px solid rgba(201,168,76,0.5);
  border-radius: 50%; position: fixed; pointer-events: none; z-index: 99998;
  transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-ring.hover { width: 55px; height: 55px; border-color: var(--gold); }

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(5,5,5,0.9); backdrop-filter: blur(10px);
  padding: 8px 0; font-size: 0.75rem; color: var(--gray);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transform: translateY(0); transition: transform 0.4s ease;
}
.top-bar.hidden { transform: translateY(-100%); }
.top-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 30px;
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  align-items: center;
}
.top-bar a { color: var(--gray-light); text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: var(--gold); }
.top-bar .separator { color: var(--gray-dark); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 32px; width: 100%; z-index: 999;
  padding: 20px 0; transition: all 0.5s ease;
}
.navbar.scrolled {
  top: 0; background: rgba(5,5,5,0.95); backdrop-filter: blur(20px);
  padding: 12px 0; border-bottom: 1px solid rgba(201,168,76,0.15);
}
.navbar.scrolled .top-bar-spacer { display: none; }
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900;
  color: var(--white); text-decoration: none; letter-spacing: 8px;
  border: 2px solid var(--white); padding: 8px 18px;
  transition: all 0.4s ease; position: relative;
}
.nav-logo:hover { border-color: var(--gold); color: var(--gold); }
.nav-links { display: flex; gap: 35px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--gray-light); text-decoration: none; font-size: 0.8rem;
  font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  position: relative; padding: 5px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-lang { display: flex; gap: 8px; }
.nav-lang a {
  font-size: 0.7rem; letter-spacing: 1px; color: var(--gray);
  text-decoration: none; transition: color 0.3s;
}
.nav-lang a:hover, .nav-lang a.active { color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 5px; z-index: 1001;
}
.hamburger span {
  width: 25px; height: 2px; background: var(--white);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: rgba(5,5,5,0.98);
  backdrop-filter: blur(20px); z-index: 998;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px; opacity: 0; visibility: hidden; transition: all 0.5s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-heading); font-size: 2rem; color: var(--white);
  text-decoration: none; letter-spacing: 5px; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-parallax-bg {
  position: absolute; inset: -50px; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: brightness(0.4) contrast(1.1);
  transform: scale(1.1);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 50%, var(--bg-dark) 100%);
}
.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-content {
  position: relative; z-index: 3; text-align: center;
  max-width: 900px; padding: 0 30px;
}
.hero-subtitle {
  font-family: var(--font-accent); font-size: 1.2rem; font-style: italic;
  color: var(--gold); letter-spacing: 4px; margin-bottom: 20px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s ease 2.5s forwards;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.15; letter-spacing: 2px;
  margin-bottom: 30px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s ease 2.8s forwards;
}
.hero-title .highlight { color: var(--gold); }
.hero-cta {
  display: inline-block; padding: 16px 45px;
  background: var(--red); color: var(--white);
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  border: 2px solid var(--red);
  transition: all 0.4s ease; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s ease 3.1s forwards;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--white); transform: translateX(-101%);
  transition: transform 0.4s ease; z-index: -1;
}
.hero-cta:hover { color: var(--red); border-color: var(--white); }
.hero-cta:hover::before { transform: translateX(0); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 1s ease 3.5s forwards;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray);
}
.scroll-line {
  width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS COMMON ===== */
section { position: relative; }
.section-pad { padding: 120px 30px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
  text-align: center; letter-spacing: 5px; text-transform: uppercase;
  margin-bottom: 15px;
}
.section-line {
  width: 60px; height: 2px; background: var(--gold);
  margin: 0 auto 25px;
}
.section-subtitle {
  text-align: center; font-family: var(--font-accent);
  font-style: italic; color: var(--gray); font-size: 1.1rem;
  margin-bottom: 60px;
}

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== ABOUT ===== */
#about { background: var(--bg-dark); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-image-wrap {
  position: relative; overflow: hidden;
}
.about-image-wrap img {
  width: 100%; height: 500px; object-fit: cover;
  filter: grayscale(30%); transition: all 0.6s ease;
}
.about-image-wrap:hover img { filter: grayscale(0%); transform: scale(1.05); }
.about-image-frame {
  position: absolute; inset: 15px;
  border: 1px solid var(--gold); pointer-events: none;
  transition: inset 0.4s ease;
}
.about-image-wrap:hover .about-image-frame { inset: 25px; }
.about-text h3 {
  font-family: var(--font-heading); font-size: 1.8rem;
  margin-bottom: 25px; line-height: 1.4;
}
.about-text p {
  color: var(--gray-light); line-height: 1.9; font-size: 0.95rem;
  margin-bottom: 20px;
}
.about-text .services-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 25px;
}
.about-text .services-list li {
  padding: 8px 20px; border: 1px solid var(--gold);
  font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); transition: all 0.3s ease;
}
.about-text .services-list li:hover {
  background: var(--gold); color: var(--bg-dark);
}

/* ===== PARALLAX DIVIDER ===== */
.parallax-divider {
  height: 50vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.parallax-divider-bg {
  position: absolute; inset: -100px; z-index: 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  filter: brightness(0.3);
}
.parallax-divider-content {
  position: relative; z-index: 2; text-align: center;
}
.parallax-divider h2 {
  font-family: var(--font-heading); font-size: clamp(2rem,4vw,3.5rem);
  letter-spacing: 5px;
}
.parallax-divider p {
  font-family: var(--font-accent); font-style: italic;
  color: var(--gold); font-size: 1.2rem; margin-top: 15px;
}

/* ===== THE BOX ===== */
#thebox { background: var(--bg-darker); }
.thebox-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.thebox-image {
  position: relative; overflow: hidden; border-radius: 4px;
  perspective: 1000px;
}
.thebox-image img {
  width: 100%; height: 450px; object-fit: cover;
  transition: transform 0.6s ease;
}
.thebox-image:hover img { transform: scale(1.03) rotateY(2deg); }
.thebox-info h3 {
  font-family: var(--font-heading); font-size: 2.2rem;
  margin-bottom: 20px;
}
.thebox-info .gold-text { color: var(--gold); }
.thebox-info p {
  color: var(--gray-light); line-height: 1.9; margin-bottom: 25px;
}
.thebox-treatments {
  list-style: none; margin-top: 30px;
}
.thebox-treatments li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--gray-dark);
  transition: padding-left 0.3s ease;
}
.thebox-treatments li:hover { padding-left: 10px; }
.thebox-treatments .treatment-name {
  font-weight: 600; letter-spacing: 1px;
}
.thebox-treatments .treatment-price {
  color: var(--gold); font-weight: 500;
}

/* ===== TEAM ===== */
#team { background: var(--bg-dark); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.team-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border-radius: 4px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  perspective: 1000px;
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.team-card-img {
  width: 100%; height: 350px; object-fit: cover; object-position: top;
  filter: grayscale(60%); transition: filter 0.5s ease, transform 0.5s ease;
}
.team-card:hover .team-card-img {
  filter: grayscale(0%); transform: scale(1.05);
}
.team-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 25px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  transform: translateY(20px); transition: transform 0.4s ease;
}
.team-card:hover .team-card-overlay { transform: translateY(0); }
.team-card-overlay h4 {
  font-family: var(--font-heading); font-size: 1.3rem;
  letter-spacing: 2px; margin-bottom: 5px;
}
.team-card-overlay .team-exp {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 1px;
  margin-bottom: 10px;
}
.team-card-overlay .team-skills {
  color: var(--gray); font-size: 0.8rem; line-height: 1.6;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: all 0.4s ease 0.1s;
}
.team-card:hover .team-card-overlay .team-skills {
  opacity: 1; max-height: 100px;
}

/* ===== HISTORY / TIMELINE ===== */
#history { background: var(--bg-darker); }
.timeline {
  position: relative; max-width: 900px; margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 2px; height: 100%; background: var(--gray-dark);
}
.timeline-item {
  position: relative; margin-bottom: 60px;
  padding-left: 40px;
}
.timeline-item::before {
  content: ''; position: absolute; left: -44px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--bg-darker);
  transition: background 0.3s;
}
.timeline-item:hover::before { background: var(--gold); }
.timeline-year {
  font-family: var(--font-heading); font-size: 2.5rem;
  color: var(--gold); margin-bottom: 10px;
}
.timeline-text {
  color: var(--gray-light); line-height: 1.8; font-size: 0.95rem;
}

/* ===== CONTACT ===== */
#contact { background: var(--bg-dark); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-card {
  display: flex; gap: 20px; padding: 25px 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.contact-icon {
  width: 50px; height: 50px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold); flex-shrink: 0;
  transition: all 0.3s ease;
}
.contact-info-card:hover .contact-icon {
  background: var(--gold); color: var(--bg-dark);
}
.contact-details h4 {
  font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-details p, .contact-details a {
  color: var(--gray-light); font-size: 0.9rem; line-height: 1.6;
  text-decoration: none; transition: color 0.3s;
}
.contact-details a:hover { color: var(--gold); }
.contact-map {
  border-radius: 4px; overflow: hidden; height: 100%; min-height: 400px;
}
.contact-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(80%); }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 30px; text-align: center;
  background: linear-gradient(135deg, var(--bg-darker), #0d0d1a);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.cta-banner h2 {
  font-family: var(--font-heading); font-size: 2.5rem;
  margin-bottom: 20px; letter-spacing: 3px;
}
.cta-banner p { color: var(--gray); margin-bottom: 35px; font-size: 1rem; }
.btn-gold {
  display: inline-block; padding: 16px 50px;
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold); text-decoration: none;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; transition: all 0.4s ease;
}
.btn-gold:hover { background: var(--gold); color: var(--bg-dark); }

/* ===== FOOTER ===== */
.footer {
  padding: 60px 30px 30px; background: var(--bg-darker);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading); font-size: 1rem;
  letter-spacing: 3px; margin-bottom: 20px; color: var(--gold);
}
.footer-col p, .footer-col a {
  color: var(--gray); font-size: 0.85rem; line-height: 1.8;
  text-decoration: none; transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col .social-links { display: flex; gap: 15px; margin-top: 15px; }
.footer-col .social-links a {
  width: 40px; height: 40px; border: 1px solid var(--gray-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.3s;
}
.footer-col .social-links a:hover {
  border-color: var(--gold); color: var(--gold);
}
.footer-bottom {
  text-align: center; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem; color: var(--gray-dark); letter-spacing: 2px;
}

/* ===== 3D PARALLAX LAYERS ===== */
.parallax-scene {
  position: relative; overflow: hidden;
}
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* ===== TILT CARDS ===== */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}
.tilt-card-inner {
  transform: translateZ(30px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .thebox-content, .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-image-wrap img { height: 350px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .top-bar { display: none; }
  .navbar { top: 0; }
  .hero-title { font-size: 2rem; }
  .section-pad { padding: 80px 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
  .timeline { padding-left: 30px; }
  .timeline-item { padding-left: 25px; }
  .timeline-item::before { left: -34px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-cta { padding: 14px 30px; font-size: 0.75rem; }
}
