/* Typography & Reset */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #161616;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --accent-gold: #D4AF37;
  --accent-silver: #C0C0C0;

  --font-body: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-center {
  text-align: center;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: var(--text-primary);
}

.section-copy {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
}

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

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA */
.cta-button {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid var(--accent-gold);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.cta-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-button:hover {
  color: var(--bg-primary);
}

.cta-link {
  display: inline-block;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.cta-link:hover {
  border-bottom: 1px solid var(--accent-gold);
}

/* WhatsApp Styling */
.whatsapp-btn {
  background-color: #25d366 !important;
  border-color: #25d366 !important;
  color: white !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn:hover {
  background-color: #128c7e !important;
  border-color: #128c7e !important;
  color: white !important;
}

.whatsapp-btn svg {
  fill: currentColor;
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.floating-whatsapp:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 100px; /* Above the sticky mobile footer */
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.logo img {
  height: 120px;
  transition: height 0.3s;
}

.navbar.scrolled .logo img {
  height: 80px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  font-weight: 500;
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 30px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s;
}

/* Hero Sequence Section */
.hero-scroll-container {
  position: relative;
  height: 500vh;
  margin: 0;
  padding: 0;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
  z-index: 1;
}

.hero-sequence-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.scroll-text-group {
  position: absolute;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  width: 100%;
  padding: 0 20px;
  pointer-events: auto;
}

.scroll-text-group.active {
  opacity: 1;
  transform: translateY(0);
}

.headline {
  font-family: var(--font-body);
  font-size: 5vw;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.sub-headline {
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

/* Scroll indicator animation */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-indicator p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--accent-gold);
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }

  100% {
    top: 20px;
    opacity: 0;
  }
}

/* Our Vision */
.vision {
  background-color: var(--bg-primary);
  position: relative;
}

.vision::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background-color: var(--accent-gold);
}

/* Services */
.services {
  background-color: var(--bg-secondary);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-primary);
}

.service-img {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(20%);
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.service-info {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  transition: all 0.4s ease;
}

.service-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.service-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translateY(10px);
}

.service-card:hover .service-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.service-card:hover .service-info {
  bottom: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(5px);
}

.service-card:hover .service-info p {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Section - Pinterest Style */
.gallery {
  background-color: var(--bg-primary);
}

.gallery-grid {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.gallery-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: var(--bg-secondary);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

.view-icon {
  background: var(--accent-gold);
  color: #000;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

@media (max-width: 992px) {
  .gallery-grid {
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    flex-direction: column;
  }
}

/* Stats */
.stats {
  background: url('IMAGES/salon_interior_client.jpg') no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 120px 0;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
}

.num-grid {
  display: flex;
  justify-content: space-around;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.stat-item h3.stat-text {
  font-size: 3rem;
  line-height: 4rem;
  color: var(--text-primary);
}

.stat-item p {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Why Gloss */
.why-gloss {
  background-color: var(--bg-primary);
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.why-img {
  flex: 1;
  position: relative;
}

.why-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-gold);
  z-index: 0;
}

.why-img img {
  width: 100%;
  position: relative;
  z-index: 1;
  filter: grayscale(10%);
  transition: filter 0.4s;
}

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

.why-content {
  flex: 1;
}

.why-content .section-copy {
  margin: 0;
  text-align: left;
}

/* Footer */
.footer {
  background-color: #050505;
  padding: 80px 0 30px;
  border-top: 1px solid #222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 120px;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 1px;
  background: var(--accent-gold);
  bottom: -10px;
  left: 0;
}

.footer-col p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

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

.socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--text-secondary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.socials a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  padding: 12px 15px;
  background: #111;
  border: 1px solid #333;
  color: white;
  flex: 1;
  font-family: var(--font-body);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--accent-gold);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--accent-gold);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #222;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.mobile-sticky-cta .cta-button {
  width: 100%;
  font-size: 1.1rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .flex-row {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .headline {
    font-size: 10vw;
    margin-top: 20px;
  }

  .sub-headline {
    font-size: 0.95rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    padding-top: 100px;
    padding-left: 30px;
    transition: right 0.4s ease;
    border-left: 1px solid #222;
  }

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

  .mobile-menu-btn {
    display: flex;
  }

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

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

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

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-img {
    height: 300px;
  }

  .num-grid {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .stat-item h3 {
    font-size: 3rem;
  }

  .stat-item h3.stat-text {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }

  .why-content {
    text-align: center;
  }

  .why-content .section-copy {
    text-align: center;
    font-size: 1.1rem;
  }

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

  .footer-col h3::after {
    left: 25%;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .socials {
    justify-content: center;
  }
}