/* ============================================
   THE LOOK FULL SERVICE SALON — Custom Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Geometric shapes */
.geometric-shape {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}

.geometric-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #E85D4A;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.geometric-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #E85D4A;
  bottom: 10%;
  left: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.geometric-circle-3 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #E85D4A;
  top: 40%;
  left: 15%;
  animation: float 10s ease-in-out infinite;
}

.geometric-circle-4 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #E85D4A;
  bottom: -80px;
  right: -80px;
  opacity: 0.05;
  animation: float 12s ease-in-out infinite;
}

.geometric-circle-5 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: white;
  top: -200px;
  left: -200px;
  opacity: 0.1;
  animation: float 14s ease-in-out infinite;
}

.geometric-circle-6 {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #E85D4A;
  top: 10%;
  right: -50px;
  opacity: 0.05;
  animation: float 9s ease-in-out infinite reverse;
}

.geometric-square-1 {
  width: 100px;
  height: 100px;
  background: #E85D4A;
  top: 20%;
  right: 10%;
  transform: rotate(45deg);
  animation: rotate 20s linear infinite;
}

.geometric-square-2 {
  width: 80px;
  height: 80px;
  background: white;
  bottom: 15%;
  left: 8%;
  transform: rotate(30deg);
  opacity: 0.15;
  animation: rotate 15s linear infinite reverse;
}

.geometric-diamond-1 {
  width: 150px;
  height: 150px;
  background: #E85D4A;
  top: 30%;
  left: 5%;
  transform: rotate(45deg);
  animation: rotate 25s linear infinite;
}

.geometric-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid #E85D4A;
  top: 60%;
  right: 5%;
  opacity: 0.06;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll reveal (progressive enhancement) */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
  color: white;
  transition: color 0.3s;
}

#navbar.scrolled .nav-logo-text {
  color: #1a1a1a;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E85D4A;
  transition: width 0.3s;
}

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

#navbar.scrolled .nav-link {
  color: #525252;
}

#navbar.scrolled .nav-link:hover {
  color: #E85D4A;
}

/* Mobile menu */
.mobile-menu-line {
  transition: all 0.3s ease;
}

#mobile-menu-btn.active .mobile-menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

#mobile-menu-btn.active .mobile-menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 5px;
}

.mobile-menu-link {
  position: relative;
}

/* Back to top */
#back-to-top {
  transition: opacity 0.3s, transform 0.3s;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:not(.visible) {
  transform: translateY(10px);
}

/* Selection color */
::selection {
  background: #E85D4A;
  color: white;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #E85D4A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth image loading */
img {
  image-rendering: auto;
}
