/* ═══════════════════════════════════════════════════════════
   LUMINARY STUDIO — styles.css
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --bg: #0d0d0f;
  --bg-2: #13131a;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-hl: rgba(177, 72, 255, 0.45);
  --purple: #b148ff; /* neon purple — THE accent */
  --amber-light: #d4a9ff; /* light purple (name kept for compat) */
  --amber-dim: rgba(177, 72, 255, 0.14);
  --white: #f0ece4;
  --muted: #7a7570;
  --danger: #e06060;
  --success: #38ba47;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}
img {
    width: 100%;
}

/* ─── NOISE TEXTURE OVERLAY ─────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* ─── AMBIENT GLOW ORBS ─────────────────────────────────── */

@keyframes drift1 {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-40px, 60px);
  }
}
@keyframes drift2 {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(60px, -40px);
  }
}

/* ─── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(13, 13, 15, 0.75);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
nav.scrolled {
  background: rgba(13, 13, 15, 0.92);
}

.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span {
  color: var(--purple);
}
.nav-logo::before {
  content: "✦";
  color: var(--purple);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 8px;
  transition:
    color var(--transition),
    background var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--purple);
  transition: width var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: var(--bg-glass);
}
.nav-links a:hover::after {
  width: 60%;
}

.nav-cta {
  background: var(--purple);
  color: var(--bg) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--amber-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(177, 72, 255, 0.35) !important;
}
.nav-cta::after {
  display: none !important;
}

/* ─── HERO ──────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 6px 16px;
  border: 1px solid var(--border-hl);
  border-radius: 100px;
  margin-bottom: 28px;
  background: var(--amber-dim);
  animation: fadeUp 0.8s 0.1s both;
}
.hero-eyebrow::before {
  content: "◆";
  font-size: 0.5rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.1;
  font-weight: 700;
  max-width: 800px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-title em {
  font-style: italic;
  color: var(--purple);
  display: inline-block;
}

.hero-sub {
  max-width: 520px;
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  animation: fadeUp 0.8s 0.35s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.45s both;
}

.btn-primary {
  padding: 14px 32px;
  border-radius: var(--radius);
  background: var(--purple);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: none;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(177, 72, 255, 0.35);
}

.btn-outline {
  padding: 14px 32px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: none;
  text-decoration: none;
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--purple);
  background: var(--amber-dim);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  animation: fadeUp 0.8s 0.55s both;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple);
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SECTION WRAPPER ───────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
}
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent);
  margin: 20px 0;
}

/* ─── ABOUT ─────────────────────────────────────────────── */
#about {
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 420px;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a1a24 0%, #111118 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  position: relative;
}
.about-img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-dim) 0%, transparent 60%);
}
.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--purple);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 16px 40px rgba(177, 72, 255, 0.35);
}
.about-badge span {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  display: block;
}

.feature-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.feature-item:hover {
  border-color: var(--border-hl);
  transform: translateX(4px);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--amber-dim);
  border: 1px solid var(--border-hl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-text h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.feature-text p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── GALLERY ───────────────────────────────────────────── */
#gallery {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 200px;
  gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.gallery-item::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #1a1a28, #0d0d14);
  z-index: 1;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--border-hl);
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-item-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  opacity: 0;
  transition:
    opacity var(--transition),
    transform var(--transition);
  transform: translateY(6px);
}
.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
}
.gallery-item:nth-child(4) {
  grid-column: span 2;
}

/* ─── BOOKING / FORM ────────────────────────────────────── */
#booking {
  background: var(--bg-2);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}
.booking-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.booking-info p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: border-color var(--transition);
}
.info-card:hover {
  border-color: var(--border-hl);
}
.info-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--amber-dim);
  border: 1px solid var(--border-hl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--purple);
}
.info-card-text {
  font-size: 0.85rem;
}
.info-card-text strong {
  display: block;
  color: var(--white);
  margin-bottom: 2px;
}
.info-card-text span {
  color: var(--muted);
}

/* FORM CARD */
.form-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}
.form-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.form-card p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  cursor: none;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 117, 112, 0.7);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: rgba(177, 72, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(177, 72, 255, 0.12);
}
.form-group select option {
  background: #1a1a22;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px 32px;
  background: var(--purple);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: none;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(177, 72, 255, 0.4);
}
.form-submit:active {
  transform: scale(0.98);
}
.form-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}
.form-note span {
  color: var(--purple);
}

/* ─── TOAST ─────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
#toast.success {
  background: rgba(94, 186, 138, 0.15);
  border: 1px solid rgba(94, 186, 138, 0.35);
  color: var(--success);
}
#toast.error {
  background: rgba(224, 96, 96, 0.15);
  border: 1px solid rgba(224, 96, 96, 0.35);
  color: var(--danger);
}
#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ─── CONTACT ───────────────────────────────────────────── */
#contact {
  background: var(--bg);
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.contact-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  cursor: default;
}
.contact-card:hover {
  border-color: var(--border-hl);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.contact-card-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}
.contact-card h4 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.contact-card a {
  color: var(--purple);
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo span {
  color: var(--purple);
}
footer p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  section {
    padding: 24px;
  }
  .about-grid,
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── ACCESSIBILITY & TOUCH ─────────────────────────────── */
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cursor {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
