/* ═══════════════════════════════════════════════════════════
   HENNA BY POONAM — Main Stylesheet
   Aesthetic: Dark Luxury / Editorial
   ═══════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --wine: #4A0E2E;
  --wine-deep: #2D0A1B;
  --wine-light: #6B1D45;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --white: #F5F0EB;
  --white-pure: #FFFFFF;
  --bg: #0A0A0A;
  --bg-section: #0E0E0E;
  --bg-card: #141414;
  --bg-card-hover: #1A1A1A;
  --text-primary: #F5F0EB;
  --text-secondary: #A09890;
  --text-muted: #6B6560;
  --border: rgba(201, 168, 76, 0.12);
  --border-active: rgba(201, 168, 76, 0.4);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Mono', 'Courier New', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-height: 72px;
  --container-max: 1200px;
  --section-pad: 120px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--border-active);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-svg {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__link {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, var(--wine-deep) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(74, 14, 46, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.03) 0%, transparent 40%),
    var(--bg);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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: 256px 256px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0 24px;
}

.hero__ornament {
  flex-shrink: 0;
  width: 60px;
  opacity: 0;
  animation: fadeIn 1.5s var(--ease-out) 0.5s forwards;
}

.hero__ornament svg {
  width: 100%;
  height: auto;
}

.hero__text {
  text-align: center;
  max-width: 600px;
}

.hero__tagline {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero__title-line {
  display: block;
  font-size: clamp(60px, 10vw, 120px);
  color: var(--white);
  letter-spacing: 8px;
}

.hero__title-sub {
  display: block;
  font-size: clamp(18px, 3vw, 28px);
  color: var(--gold);
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-top: 8px;
}

.hero__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.hero__scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--border-active);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:hover {
  color: var(--bg);
  border-color: var(--gold);
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn--primary::before {
  background: var(--gold-light);
}

.btn--primary:hover {
  color: var(--bg);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
}

.btn--lg {
  padding: 18px 48px;
  font-size: 12px;
}

/* ─── SECTIONS ──────────────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 2px;
}

.section__title--left {
  text-align: left;
}

.section__divider {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.section__divider span {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section__divider--left {
  justify-content: flex-start;
}

.section__subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
}

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

.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery__filter {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.gallery__filter:hover {
  border-color: var(--border-active);
  color: var(--gold);
}

.gallery__filter.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) forwards;
}

.gallery__item:nth-child(3n+2) {
  aspect-ratio: 1 / 1.2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-caption {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: capitalize;
}

.gallery__item-category {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.gallery__empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.gallery__empty p {
  margin-bottom: 24px;
  font-size: 13px;
}

/* ─── LIGHTBOX ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--border);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__caption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: var(--gold);
  font-size: 32px;
  padding: 16px;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 0.7;
}

.lightbox__close { top: 16px; right: 16px; font-size: 36px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ─── SERVICES ──────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px 40px;
  position: relative;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.service-card:hover::before {
  height: 100%;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.service-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-card__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  opacity: 0.7;
}

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

.booking__form {
  max-width: 720px;
  margin: 0 auto;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group--full {
  margin-bottom: 20px;
}

.form__label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form__input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 16px;
  font-size: 13px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  width: 100%;
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23C9A84C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.booking__form .btn {
  width: 100%;
  margin-top: 8px;
}

.booking__success {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 60px 0;
}

.booking__success-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold);
  margin: 0 auto 24px;
  animation: scaleIn 0.5s var(--ease-out);
}

.booking__success h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}

.booking__success p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 32px;
}

/* ─── ABOUT ─────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about__image-frame {
  border: 1px solid var(--border);
  padding: 16px;
  background: var(--bg-card);
}

.about__image-placeholder {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
}

.about__image-placeholder svg {
  width: 60%;
  height: auto;
}

.about__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__stat {
  text-align: center;
}

.about__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.about__stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── CONTACT ───────────────────────────────────────────── */
.contact {
  background: var(--bg-section);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
}

.contact__card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.contact__card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
}

.contact__card-icon svg {
  width: 100%;
  height: 100%;
}

.contact__card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.contact__card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  height: 32px;
  width: auto;
}

.footer__copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--gold);
}

/* ─── TOAST ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  color: var(--text-primary);
  padding: 16px 24px;
  font-size: 13px;
  z-index: 3000;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
  max-width: 360px;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast--error {
  border-color: #C94C4C;
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__image-frame {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
    --nav-height: 64px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    border-bottom: 1px solid var(--border);
  }

  .nav__links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero__ornament {
    display: none;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__stats {
    gap: 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .hero__title-line {
    letter-spacing: 4px;
  }

  .hero__title-sub {
    letter-spacing: 6px;
  }

  .about__stats {
    flex-direction: column;
    gap: 20px;
  }
}
