/* =============================================
   ARTISTRAY SALON — MAIN STYLESHEET
   Luxury Feminine Aesthetic
   ============================================= */

:root {
  --gold: #B8965A;
  --gold-light: #D4AF7A;
  --gold-pale: #F5EDD8;
  --charcoal: #1C1C1E;
  --charcoal-mid: #2C2C2E;
  --blush: #F9F0EC;
  --blush-deep: #EFD9CC;
  --white: #FDFAF7;
  --text: #3A3A3A;
  --text-light: #888;
  --border: rgba(184,150,90,0.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.bg-dark { background: var(--charcoal); color: var(--white); }
.bg-blush { background: var(--blush); }
.centered { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0;
  background: var(--charcoal);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem; letter-spacing: 0.15em;
  color: var(--gold); margin-bottom: 24px;
}
.loader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%;
  background: var(--gold);
  animation: loadBar 1.4s ease forwards;
}
@keyframes loadBar { from { width: 0 } to { width: 100% } }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0;
}
.header.scrolled {
  background: rgba(28,28,30,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.75rem; letter-spacing: 0.08em;
  color: var(--gold); line-height: 1;
}
.logo-sub {
  font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--charcoal);
  padding: 10px 24px; border-radius: 4px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,28,30,0.85) 0%, rgba(28,28,30,0.4) 60%, rgba(28,28,30,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px; padding: 0 48px;
  animation: heroFade 1.2s ease 1.6s both;
}
@keyframes heroFade { from { opacity:0; transform: translateY(30px) } to { opacity:1; transform: none } }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.75); max-width: 480px;
  margin-bottom: 40px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-info { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px; border-radius: 100px;
}
.hero-scroll-hint {
  position: absolute; bottom: 32px; right: 48px;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0) } 50% { transform: translateY(6px) } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 4px; border: none; cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--charcoal); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,150,90,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-text { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }
.btn-text:hover { color: var(--gold-light); }
.btn-text.light { color: var(--gold-light); }
.btn-sm { font-size: 0.75rem; padding: 6px 14px; background: var(--gold); color: var(--charcoal); border-radius: 4px; font-weight: 500; }
.full-width { width: 100%; }

/* ============ MARQUEE ============ */
.marquee-strip {
  background: var(--gold); overflow: hidden;
  padding: 14px 0; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 32px;
  animation: marquee 30s linear infinite;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--charcoal);
}
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ============ SECTION HEADERS ============ */
.section-tag {
  display: inline-block; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-tag.light { color: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.15;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px; flex-wrap: wrap; gap: 16px;
}
.section-header.centered { flex-direction: column; align-items: center; text-align: center; }

/* ============ ABOUT STRIP ============ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text p { color: var(--text-light); margin-bottom: 16px; font-weight: 300; }
.about-image-wrap { position: relative; }
.about-stat-card {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--gold); color: var(--charcoal);
  padding: 20px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ============ IMAGE PLACEHOLDERS ============ */
.img-placeholder-box {
  position: relative; width: 100%; height: 100%;
  min-height: 240px; background: var(--blush-deep);
  border-radius: var(--radius); overflow: hidden;
  border: 2px dashed var(--gold);
}
.img-placeholder-box.placeholder-active img { display: none; }
.placeholder-label {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  text-align: center;
  font-size: 0.8rem; font-weight: 500;
  color: var(--gold); padding: 16px;
  background: var(--blush-deep);
}
.img-placeholder-box.placeholder-active .placeholder-label { display: flex; }
.img-placeholder-box img { border-radius: var(--radius); }

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--charcoal-mid);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeUp 0.6s ease var(--delay) both;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold); }
@keyframes fadeUp { from { opacity:0; transform: translateY(30px) } to { opacity:1; transform: none } }
.service-img-wrap { height: 220px; overflow: hidden; }
.service-img-wrap .img-placeholder-box { min-height: 220px; border-radius: 0; border: none; background: #2C2C2E; }
.service-img-wrap .img-placeholder-box.placeholder-active .placeholder-label { background: #2C2C2E; color: var(--gold-light); }
.service-body { padding: 24px; }
.service-body h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 400; color: var(--white); margin-bottom: 8px;
}
.service-body p { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.service-link { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.service-link:hover { color: var(--gold-light); }

/* ============ PRODUCTS ============ */
.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img-wrap { position: relative; height: 220px; overflow: hidden; }
.product-img-wrap .img-placeholder-box { min-height: 220px; border-radius: 0; border: none; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--charcoal);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
}
.product-badge.bestseller { background: var(--charcoal); color: var(--gold); }
.product-info { padding: 18px; }
.product-info h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.product-info p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 12px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--gold); }

/* ============ GALLERY MOSAIC ============ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item .img-placeholder-box { min-height: 100%; border-radius: 0; border: none; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ============ BOOKING CTA ============ */
.booking-cta-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.booking-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 20px;
}
.booking-cta-text h2 em { font-style: italic; color: var(--gold); }
.booking-cta-text p { color: var(--text-light); margin-bottom: 24px; font-weight: 300; }
.cta-features { display: flex; flex-direction: column; gap: 8px; }
.cta-features li { font-size: 0.9rem; color: var(--gold); font-weight: 500; }

.quick-book-card {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.quick-book-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--white);
  margin-bottom: 24px;
}
.quick-form { display: flex; flex-direction: column; gap: 14px; }
.quick-form input,
.quick-form select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body); font-size: 0.9rem;
  transition: var(--transition);
}
.quick-form input::placeholder { color: rgba(255,255,255,0.3); }
.quick-form input:focus,
.quick-form select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(184,150,90,0.08);
}
.quick-form select option { background: var(--charcoal); color: var(--white); }
.form-note { text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-top: 12px; }
.form-note a { color: var(--gold); }

/* ============ UPDATES PREVIEW ============ */
.updates-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.update-card {
  background: var(--charcoal-mid); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.update-card:hover { transform: translateY(-4px); }
.update-card.skeleton { height: 280px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity:0.4 } 50% { opacity:0.8 } }
.update-img { height: 180px; overflow: hidden; }
.update-img .img-placeholder-box { min-height: 180px; border-radius: 0; border: none; background: #2C2C2E; }
.update-body { padding: 20px; }
.update-date { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.update-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.update-excerpt { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ============ FOOTER ============ */
.footer { background: #111; color: rgba(255,255,255,0.6); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px; padding: 80px 24px 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2.2rem; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: var(--transition);
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-nav-col h5 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer-nav-col a { display: block; font-size: 0.88rem; margin-bottom: 10px; }
.footer-nav-col a:hover { color: var(--gold); }
.footer-contact h5 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer-contact p { font-size: 0.88rem; margin-bottom: 12px; line-height: 1.6; }
.footer-contact a { color: var(--gold); }
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px; text-align: center;
  font-size: 0.8rem;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 56px; height: 56px;
  background: #25D366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: floatPop 0.6s ease 2s both;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes floatPop { from { opacity:0; transform: scale(0) } to { opacity:1; transform: scale(1) } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .products-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-cta-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: fixed;
    inset: 0; background: var(--charcoal); padding: 100px 32px 40px;
    gap: 0; z-index: 999; }
  .nav.open { display: flex; }
  .nav-link { font-size: 1.1rem; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin-top: 24px; text-align: center; width: 100%; }
  .hamburger { display: flex; z-index: 1000; }
  .hero-content { padding: 0 24px; }
  .hero-info { gap: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .products-row { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.tall { grid-row: auto; }
  .gallery-item.wide { grid-column: auto; }
  .updates-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .section-pad { padding: 64px 0; }
}

@media (max-width: 480px) {
  .products-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
