@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Roboto+Condensed:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --gold: #B07850;
  --gold-light: #C4956E;
  --gold-lighter: #E8C4A8;
  --gold-dark: #8B5E3C;
  --cream: #F5EDE6;
  --cream-light: #FAF5F0;
  --cream-dark: #EDE0D4;
  --text-gold: #9E7050;
  --text-dark: #4A3830;
  --white: #FFFFFF;
  --card-bg: rgba(255,252,248,0.88);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== SPARKLE CANVAS ===== */
#sparkle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== BACKGROUND TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(176,120,80,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(196,149,110,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(176,120,80,0.04) 0%, transparent 50%),
    linear-gradient(180deg, #FAF5F0 0%, #F2E8DF 30%, #EDE0D4 60%, #E8D8CC 100%);
  z-index: 0;
}

/* ===== DIAMOND PATTERN OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(176,120,80,0.025) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(176,120,80,0.025) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(176,120,80,0.025) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(176,120,80,0.025) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

/* ===== LANDING WRAPPER ===== */
.landing-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 0;
}

/* ===== HEADER ===== */
.landing-header {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeIn 1.2s ease;
}

/* Logo Image */
.logo-image {
  width: 280px;
  height: auto;
  margin: 0 auto 12px;
}
.logo-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(176,120,80,0.15));
}

.landing-subtitle-main {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.landing-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 12px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 30%, var(--gold-lighter) 50%, var(--gold-light) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.landing-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.landing-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.landing-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}
.landing-badges .dot {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== SALON CARDS ===== */
.salon-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  width: 100%;
  margin-bottom: 60px;
}

.salon-card {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  background: var(--card-bg);
  border: 1px solid rgba(184,148,62,0.25);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 24px rgba(184,148,62,0.08);
  position: relative;
}
.salon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(184,148,62,0.2);
  border-color: var(--gold-light);
}

/* Card Photo */
.card-photo {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.salon-card:hover .card-photo img {
  transform: scale(1.08);
}
.card-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EDE4D3, #D4C9B0, #C4B896);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-photo-placeholder span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.4;
  text-align: center;
  padding: 20px;
  text-transform: uppercase;
}
/* Shimmer effect on photo */
.card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.1) 0%,
    transparent 30%,
    transparent 70%,
    rgba(247,240,227,0.5) 100%
  );
}

/* Card Content */
.card-content {
  padding: 24px 20px 28px;
  text-align: center;
  position: relative;
}

/* Monogram Circle */
.card-monogram {
  width: 64px;
  height: 64px;
  margin: -56px auto 16px;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(184,148,62,0.3);
  border: 3px solid var(--cream-light);
}
.card-monogram span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

/* Ornamental lines around monogram */
.card-monogram::before,
.card-monogram::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.card-monogram::before { right: calc(100% + 8px); }
.card-monogram::after { left: calc(100% + 8px); }

.card-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.card-type {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-gold);
  opacity: 0.7;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Card Instagram Link */
.card-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(176, 120, 80, 0.06);
  border: 1px solid rgba(176, 120, 80, 0.15);
  text-decoration: none;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.card-instagram:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(176, 120, 80, 0.25);
}
.card-instagram svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-instagram .card-instagram svg circle:last-child {
  fill: currentColor;
  stroke: none;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold-lighter));
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(184,148,62,0.3);
}
.card-btn:hover {
  box-shadow: 0 6px 20px rgba(184,148,62,0.45);
  transform: translateY(-2px);
}
.card-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* ===== FOOTER ===== */
.landing-footer {
  width: 100%;
  max-width: 1400px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(184,148,62,0.2);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-left {
  text-align: left;
}
.footer-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-center {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--white);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-right {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-phone-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-phone-text {
  text-align: left;
}
.footer-phone-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-gold);
  text-transform: uppercase;
}
.footer-phone-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}

.salon-card {
  animation: cardIn 0.8s ease forwards;
  opacity: 0;
}
.salon-card:nth-child(1) { animation-delay: 0.1s; }
.salon-card:nth-child(2) { animation-delay: 0.25s; }
.salon-card:nth-child(3) { animation-delay: 0.4s; }
.salon-card:nth-child(4) { animation-delay: 0.55s; }

@keyframes cardIn {
  from { opacity:0; transform:translateY(30px) scale(0.97); }
  to { opacity:1; transform:translateY(0) scale(1); }
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}
.page-transition::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2C2218 0%, #3D2F1E 30%, #2C2218 60%, #1a150e 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.86, 0, 0.07, 1);
}
.page-transition.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.page-transition.active::before {
  transform: scaleY(1);
}
.transition-logo {
  position: relative;
  z-index: 2;
  width: 160px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
  filter: brightness(1.3) drop-shadow(0 0 20px rgba(196,149,110,0.4));
}
.page-transition.active .transition-logo {
  opacity: 1;
  transform: scale(1);
}

/* Entrance animation for pages loaded from transition */
.page-enter {
  animation: pageEnter 0.8s ease forwards;
}
@keyframes pageEnter {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .salon-cards { gap: 16px; }
  .salon-card { min-width: 240px; }
}

@media (max-width: 900px) {
  .salon-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .salon-card { max-width: none; min-width: auto; }
}

@media (max-width: 600px) {
  .landing-wrapper { padding: 24px 16px 0; }
  .landing-title { letter-spacing: 6px; }
  .salon-cards { grid-template-columns: 1fr; gap: 20px; }
  .salon-card { max-width: 400px; margin: 0 auto; }
  .landing-footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-left, .footer-right { text-align: center; }
}
