/* =========================================
   SKY BEAUTY STUDIO - GLOBAL STYLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  /* Brand Colors */
  --primary: #E7A3C5; /* Soft Pink */
  --primary-light: #FDF4F8; /* Lighter Pink for backgrounds */
  --secondary: #8C7BAA; /* Lavender Purple */
  --secondary-light: #F4F2F8; /* Lighter Lavender */
  --accent: #D5D7DC; /* Silver Grey */
  --bg-color: #FFFFFF; /* White */
  
  /* Text Colors */
  --text-dark: #2D2D2D;
  --text-muted: #6B6B6B;
  --text-light: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  
  /* Borders and Shadows */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 50px;
  --box-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  /* scroll-behavior: smooth; */ /* Disabled for Lenis compatibility */
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: hidden; /* Prevent scrolling during load */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loaded {
  overflow-y: auto; /* Restore scroll when loader finishes */
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(3rem, 5vw, 5rem); }
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
h3 { font-size: clamp(2rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.5rem, 2vw, 2rem); }

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  scroll-margin-top: 100px; /* Luxury spacing for navbar */
}

.section.bg-light {
  background-color: var(--primary-light);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

/* Section Headers */
.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 24px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(231, 163, 197, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--text-light);
  box-shadow: 0 8px 25px rgba(140, 123, 170, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* =========================================
   COMPONENTS
   ========================================= */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  padding: 2px 0;
  border-bottom: 1px solid rgba(140, 123, 170, 0.14);
  box-shadow: 0 10px 30px rgba(231, 163, 197, 0.06);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  padding: 2px 0;
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(140, 123, 170, 0.2);
  box-shadow: 0 18px 40px rgba(45, 45, 45, 0.08);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.navbar .custom-logo-container {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  gap: 12px;
  transform-origin: left center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar .custom-logo-container:hover {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.navbar .brand-logo {
  height: 160px; /* Massive dominant size */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-text-backup {
  display: none; /* Hide text, kept for screen readers/fallback if requested */
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary) 0%, #d7a2df 100%);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 28px);
}

.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  padding: 12px 24px !important;
  font-size: 0.84rem !important;
  letter-spacing: 1.4px;
  background: linear-gradient(135deg, #f0a8cb 0%, #b79ad8 100%);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 24px rgba(231, 163, 197, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(183, 154, 216, 0.28), 0 0 18px rgba(240, 168, 203, 0.22);
  filter: saturate(1.05);
}

.nav-cta:focus-visible {
  outline: 2px solid rgba(140, 123, 170, 0.3);
  outline-offset: 3px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, background-color 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* Footer */
footer {
  background-color: var(--primary-light);
  padding: 80px 0 40px;
}

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

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo {
  height: 110px; /* Slightly larger in footer */
}

.footer-desc {
  color: var(--text-muted);
  max-width: 300px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color);
  color: var(--primary);
  box-shadow: var(--box-shadow-soft);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.contact-info i {
  color: var(--primary);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}
