:root {
  --gold: #d4af37;
  --gold-light: #e8c868;
  --gold-dark: #b8941f;
  --black: #0a0a0a;
  --black-light: #1a1a1a;
  --black-lighter: #252525;
  --white: #ffffff;
  --white-muted: #b3b3b3;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.gold-text {
  color: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--white-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.5rem auto 3rem;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition);
}

.main-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white) !important;
  letter-spacing: 1px;
}

.navbar-brand span {
  color: var(--gold);
}

.navbar-nav .nav-link {
  color: var(--white-muted) !important;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.lang-selector {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white-muted);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.navbar-nav .nav-link.btn-gold-nav {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black) !important;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
}

.navbar-nav .nav-link.btn-gold-nav::after {
  content: none;
}

.navbar-nav .nav-link.btn-gold-nav:hover {
  color: var(--black) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.navbar-toggler {
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/hero-salon.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(212,175,55,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.hero-bg-accent {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--white-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.4s forwards;
}

.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
  color: var(--black);
}

.btn-gold:hover::before {
  left: 100%;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* About Section */
.about-section {
  background: var(--black);
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
}

.about-image {
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--gold);
  z-index: -1;
  transition: var(--transition);
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.about-text p {
  margin-bottom: 1.25rem;
}

/* Timeline */
.timeline-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--black-light);
}

.timeline-track::-webkit-scrollbar {
  height: 4px;
}

.timeline-track::-webkit-scrollbar-track {
  background: var(--black-light);
}

.timeline-track::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.timeline-item {
  flex: 0 0 auto;
  min-width: 120px;
  text-align: center;
  padding: 1rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.timeline-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(212, 175, 55, 0.2);
}

.timeline-item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black-lighter);
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

.timeline-item:hover,
.timeline-item.active {
  background: rgba(212, 175, 55, 0.05);
}

.timeline-item:hover::after,
.timeline-item.active::after {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateX(-50%) scale(1.2);
}

.timeline-year {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}

.timeline-label {
  font-size: 0.75rem;
  color: var(--white-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.timeline-detail {
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(212, 175, 55, 0.05);
  border-left: 2px solid var(--gold);
  min-height: 100px;
  transition: var(--transition);
}

.timeline-detail p {
  color: var(--white-muted);
  line-height: 1.8;
}

/* Services Section */
.services-section {
  background: var(--black-light);
}

.service-card {
  background: var(--black);
  padding: 2.5rem 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 100%
  );
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-desc {
  color: var(--white-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
  background: var(--black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.8) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.gallery-item::after {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--gold);
  font-size: 2rem;
  z-index: 2;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--black-light);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background: var(--black);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.testimonial-card img {
  width: 100%;
  display: block;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--white);
}

.testimonial-author {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Instagram Section */
.instagram-section {
  background: var(--black);
  padding: 80px 0;
}

.instagram-posts {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.instagram-posts .item {
  flex: 0 0 auto;
}

.instagram-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* Contact Section */
.contact-section {
  background: var(--black-light);
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-text {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  color: var(--white-muted);
  font-size: 0.9rem;
}

.map-placeholder {
  margin-top: 2rem;
  background: var(--black);
  color: var(--white-muted);
  font-size: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-form {
  background: var(--black);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white-muted);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--black-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  color: var(--black);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.privacy-note {
  margin-top: 1rem;
  text-align: center;
  color: var(--white-muted);
  font-size: 0.8rem;
}

/* Footer */
.main-footer {
  background: var(--black);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand span {
  color: var(--gold);
}

.footer-tagline {
  color: var(--white-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.copyright {
  color: var(--white-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--black);
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
  }

  .lang-selector {
    margin-top: 1rem;
    justify-content: center;
  }

  .navbar-nav .nav-link.btn-gold-nav {
    margin: 0.5rem 0 0;
    display: inline-block;
  }

  .hero-section {
    text-align: center;
  }

  .about-image-wrapper {
    margin-bottom: 3rem;
  }

  .about-image-wrapper::before {
    display: none;
  }
}

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }

  .timeline-item {
    min-width: 100px;
  }

  .testimonial-card {
    padding: 2rem 1rem;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
