/* ============================================
   Lumière Atelier — Dark Luxury Salon
   ============================================ */

:root {
  --bg-dark: #121212;
  --bg-secondary: #1E1E1E;
  --bg-card: #2A2A2A;
  --gold: #D4AF37;
  --gold-light: #E5C56A;
  --purple: #4A148C;
  --purple-light: #7B1FA2;
  --text-light: #FAFAFA;
  --text-muted: #B0B0B0;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* Portfolio Bar */
.portfolio-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #000;
  color: #aaa;
  padding: 10px 5%;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 1px;
  z-index: 200;
}

.portfolio-bar a {
  color: var(--gold);
  font-weight: 600;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 38px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  top: 0;
  background: rgb(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 5%;
  box-shadow: 0 2px 20px rgb(0,0,0,0.5);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 3px;
}

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

.nav-links a {
  color: var(--text-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 300;
  position: relative;
}

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

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

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

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  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 overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0,0,0,0.7);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgb(18,18,18,0.45), rgb(18,18,18,0.75)),
              url('https://images.unsplash.com/photo-1560869713-da86a9ec15c1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  padding-top: 80px;
}

.hero-content {
  max-width: 650px;
}

.hero-subtitle {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--bg-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--gold);
  transition: all 0.4s ease;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-3px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(212,175,55,0.3);
}

.hero-stat h3 {
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* ── Section Shared ── */
.section-title {
  font-size: 2.5rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
  font-size: 1rem;
}

/* ── Services / Pricing ── */
.services-section {
  padding: 6rem 5%;
  background: var(--bg-secondary);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.price-column {
  background: var(--bg-card);
  border: 1px solid rgb(212,175,55,0.15);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-column:hover {
  transform: translateY(-4px);
  border-color: rgb(212,175,55,0.4);
}

.price-column h3 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(212,175,55,0.2);
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px dotted #333;
}

.price-item h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-light);
}

.price-amount {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Team ── */
.team-section {
  padding: 6rem 5%;
  background: var(--bg-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgb(212,175,55,0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}

.team-card:hover img {
  filter: grayscale(0%);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.team-info .team-role {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Gallery ── */
.gallery-section {
  padding: 6rem 5%;
  background: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  height: 380px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.6s ease;
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(18,18,18,0.4), transparent);
  pointer-events: none;
}

/* ── Testimonials ── */
.testimonials-section {
  padding: 6rem 5%;
  background: var(--bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid rgb(212,175,55,0.1);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial-author span {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ── Visit / Map ── */
.visit-section {
  padding: 5rem 5%;
  background: #111;
}

.visit-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.visit-info h2 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.visit-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.visit-details p {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.visit-details i {
  color: var(--gold);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.btn-directions {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 28px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-directions:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.map-embed {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CTA Section ── */
.cta-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgb(255,255,255,0.85);
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  border: 2px solid var(--gold);
  transition: all 0.4s ease;
}

.btn-cta:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-3px);
}

/* ── Footer ── */
.site-footer {
  background: #000;
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.footer-col p,
.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 2;
  display: block;
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #222;
  color: #666;
  font-size: 0.85rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* ── Chatbot ── */
#chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  font-family: var(--font-body);
}

#chat-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgb(74,20,140,0.4);
  transition: transform 0.3s;
}

#chat-btn:hover {
  transform: scale(1.1);
}

#chat-btn.hidden {
  display: none;
}

#chat-window {
  display: none;
  flex-direction: column;
  width: 360px;
  height: 540px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgb(0,0,0,0.25);
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
}

#chat-window.open {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #C9A84C;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.chat-header button {
  background: none;
  border: none;
  color: #C9A84C;
  font-size: 1.4rem;
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafafa;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  animation: chatIn 0.3s ease;
  white-space: pre-line;
}

@keyframes chatIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.bot {
  background: #f0eaf5;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.system {
  background: #E8F5E9;
  color: #2E7D32;
  align-self: center;
  text-align: center;
  font-size: 0.82rem;
  border-radius: 10px;
}

#chat-options {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #eee;
}

.chat-opt {
  padding: 8px 14px;
  border: 1px solid #C9A84C;
  border-radius: 20px;
  background: white;
  color: #333;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-opt:hover {
  background: #C9A84C;
  color: #1a1a1a;
}

.chat-input-wrap {
  padding: 10px 12px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 8px;
}

.chat-input-wrap input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.chat-input-wrap input:focus {
  border-color: var(--purple-light);
}

.chat-input-wrap button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--purple-light);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  background: #aaa;
  border-radius: 50%;
  animation: dotB 1.2s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotB {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.time-slot {
  padding: 8px 4px;
  border: 1px solid #C9A84C;
  border-radius: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  color: #333;
}

.time-slot:hover {
  background: #C9A84C;
  color: #1a1a1a;
}

.time-slot.taken {
  border-color: #ddd;
  color: #bbb;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Responsive 1024px ── */
@media (width <= 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ── Responsive 768px ── */
@media (width <= 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgb(18,18,18,0.98);
    backdrop-filter: blur(12px);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    z-index: 99;
  }

  .nav-links.mobile-open a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgb(212,175,55,0.15);
  }

  .nav-cta.mobile-open {
    display: inline-block;
    text-align: center;
    margin-top: 1rem;
  }

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .price-list {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 280px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .visit-container {
    grid-template-columns: 1fr;
  }

  .map-embed {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (width <= 400px) {
  #chat-window {
    width: calc(100vw - 32px);
    height: 75vh;
    right: -8px;
  }
}
