/* Siyavar website styles
   Brand: dark maroon #440512, cream ivory #F7F1EA */

:root {
  --maroon: #440512;
  --deep: #2E030C;
  --night: #1F0208;
  --ivory: #F7F1EA;
  --muted: #D8C6BE;
  --line: #6B2A35;
  --ink-soft: #6B4A50;
  --rule: #D9CBC0;
  --display: 'Cormorant Garamond', Georgia, serif;
  --head: 'Playfair Display', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--maroon);
  color: var(--ivory);
  font: 300 17px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.bg-ivory :focus-visible, .form :focus-visible { outline-color: var(--maroon); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ivory); color: var(--maroon); padding: 12px 18px;
}
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 34px;
  font: 500 13px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--ivory); background: transparent; color: var(--ivory);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--light { background: var(--ivory); color: var(--maroon); }
.btn--light:hover { background: #fff; }
.btn--ghost:hover { background: rgba(247, 241, 234, 0.14); }
.btn--dark { background: var(--maroon); color: var(--ivory); border-color: var(--maroon); }
.btn--dark:hover { background: var(--deep); }
.btn--outline-dark { color: var(--maroon); border-color: var(--maroon); }
.btn--outline-dark:hover { background: rgba(68, 5, 18, 0.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(68, 5, 18, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 48px; width: auto; }
.brand span { font: 500 30px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 36px; font: 400 13px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; }
.nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:not(.btn):hover { border-color: var(--ivory); }
.nav__cta { min-height: 44px; padding: 0 24px; }

.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px;
  background: none; border: 1px solid var(--line); color: var(--ivory); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--ivory); content: '';
}
.nav-toggle span { top: 23px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--maroon); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  min-height: clamp(560px, 92vh, 880px); padding: 96px 0 112px;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(46, 3, 12, 0.62) 0%, rgba(46, 3, 12, 0.34) 45%, rgba(46, 3, 12, 0.78) 100%);
}
.hero__inner { max-width: 1000px; }
.hero__mark { width: 110px; height: auto; margin: 0 auto 28px; }
.hero h1 {
  font: 500 clamp(46px, 8.4vw, 108px)/1.04 var(--display);
  margin: 12px 0 28px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.lead { font-size: clamp(17px, 2vw, 20px); max-width: 620px; margin: 0 auto 44px; color: #F0E4DA; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Shared section bits ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.bg-deep { background: var(--deep); }
.bg-ivory { background: var(--ivory); color: var(--maroon); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); text-align: center; }
.eyebrow { font: 400 13px/1.4 var(--body); letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.hero .eyebrow { color: #F0E4DA; }
@media (max-width: 520px) {
  .eyebrow { letter-spacing: 0.2em; font-size: 12px; }
  .hero .eyebrow { letter-spacing: 0.16em; }
}
.h2 { font: 400 clamp(36px, 5vw, 64px)/1.1 var(--head); }
.caps { text-transform: uppercase; }
.muted { color: var(--muted); }

/* ---------- About collage ---------- */
.magic { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 28px; align-items: start; }
.magic__col { display: grid; gap: 28px; }
.magic__col--b { padding-top: 72px; }
.magic__text { align-self: center; text-align: center; padding: 0 8px; }
.magic__text .h2 { margin-bottom: 24px; }
.magic__text .muted { margin-bottom: 32px; }
.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

@media (max-width: 900px) {
  .magic { grid-template-columns: 1fr 1fr; }
  .magic__text { grid-column: 1 / -1; order: -1; padding-bottom: 20px; }
  .magic__col--b { padding-top: 0; }
}
@media (max-width: 520px) { .magic { grid-template-columns: 1fr; } }

/* ---------- Event cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 3 / 4; padding: 28px;
  border: 1px solid var(--line); border-radius: 28px; background: var(--deep);
}
.card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(46, 3, 12, 0) 45%, rgba(46, 3, 12, 0.9) 100%); }
.card:hover img { transform: scale(1.05); }
.card__label { font: 400 30px/1.15 var(--head); text-align: center; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px 28px; text-align: center; }
.features svg { margin: 0 auto 14px; }
.features p { font: 400 19px/1.5 var(--head); max-width: 230px; margin-inline: auto; }

/* ---------- Gallery ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin-bottom: 44px; }
.tab {
  min-height: 44px; padding: 8px 2px; background: none; border: 0; border-bottom: 1px solid transparent;
  color: var(--muted); font: 400 26px/1.2 var(--head); cursor: pointer; transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ivory); }
.tab[aria-selected="true"] { color: var(--ivory); border-bottom-color: var(--ivory); }

.panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel[hidden] { display: none; }
.shot { padding: 0; border: 0; background: none; border-radius: 4px; overflow: hidden; cursor: zoom-in; display: block; }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .panel { grid-template-columns: 1fr; } .tab { font-size: 22px; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.steps__n { display: block; font: 500 56px/1 var(--display); margin-bottom: 8px; }
.steps h3 { font: 500 28px/1.2 var(--display); margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact__mark { width: 80px; height: auto; margin-bottom: 28px; }
.contact__info .h2 { margin-bottom: 20px; }
.details { margin-top: 36px; display: grid; gap: 22px; }
.details dt { font: 400 12px/1.4 var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.details dd { font-size: 19px; }
.details a { border-bottom: 1px solid var(--line); }
.details a:hover { border-color: var(--ivory); }

.form { background: var(--ivory); color: var(--maroon); padding: clamp(24px, 4vw, 44px); border-radius: 20px; display: grid; gap: 20px; }
.form__title { font: 400 28px/1.2 var(--head); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 12px/1.4 var(--body); letter-spacing: 0.16em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--body); color: var(--maroon);
  background: #fff; border: 1px solid #CBB9AE; border-radius: 6px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--maroon); }
.form__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.form__status { min-height: 1.4em; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } .form__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--muted); padding: 56px 0 28px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.site-footer__top img { height: 120px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font: 400 13px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; }
.site-footer nav a { padding: 12px 0; }
.site-footer nav a:hover { color: var(--ivory); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; font: 400 12px/1.6 var(--body); letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ivory); color: var(--maroon);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 2, 6, 0.9); }
.lightbox img { width: auto; max-width: 100%; max-height: 86vh; margin: 0 auto; border-radius: 6px; }
.lightbox form { position: absolute; top: -52px; right: 0; margin: 0; }
.lightbox__close {
  width: 44px; height: 44px; font-size: 30px; line-height: 1; cursor: pointer;
  background: var(--ivory); color: var(--maroon); border: 0; border-radius: 50%;
}

/* ---------- Scroll reveal (only when JavaScript is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ---------- Service cards, FAQ and form refinements ---------- */
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:38px; }
.service-card { background:#fff; border:1px solid #e7dcd4; border-radius:12px; padding:clamp(22px,3vw,34px); min-height:230px; display:flex; flex-direction:column; align-items:flex-start; }
.service-card > span { color:#9b786e; font:500 12px/1 var(--body); letter-spacing:.2em; }
.service-card h3 { margin:22px 0 10px; font:500 25px/1.15 var(--head); color:var(--maroon); }
.service-card p { color:#665751; line-height:1.75; margin:0 0 20px; }
.service-card a { margin-top:auto; color:var(--maroon); border-bottom:1px solid #b99b8e; padding-bottom:4px; font-size:13px; letter-spacing:.06em; }
.faq-wrap { max-width:900px; }
.faq-list { border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); padding:20px 2px; }
.faq-item summary { cursor:pointer; color:var(--ivory); font:500 22px/1.35 var(--head); list-style:none; position:relative; padding-right:36px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; position:absolute; right:4px; top:0; font:300 25px/1 var(--body); }
.faq-item[open] summary::after { content:'−'; }
.faq-item p { color:var(--muted); line-height:1.8; max-width:760px; margin:14px 0 0; }
.honeypot { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.form__note { color:#6f5d55; font-size:12px; line-height:1.6; margin:0; }
.form button:disabled { opacity:.65; cursor:wait; }
:focus-visible { outline:3px solid #c9a27e; outline-offset:3px; }
[hidden] { display:none !important; }
@media (max-width:900px) { .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .service-grid { grid-template-columns:1fr; } .faq-item summary { font-size:20px; } }


/* ---------- Siyavar luxury motion upgrade ---------- */
@keyframes siyavar-rise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes siyavar-soft-zoom {
  from { transform: scale(1.075); }
  to { transform: scale(1); }
}
@keyframes siyavar-glow {
  0%, 100% { box-shadow: 0 6px 24px rgba(0,0,0,.32); }
  50% { box-shadow: 0 8px 30px rgba(201,162,126,.28); }
}
.hero__img { animation: siyavar-soft-zoom 1.8s cubic-bezier(.2,.7,.2,1) both; }
.hero__inner > * { opacity: 0; animation: siyavar-rise .85s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__inner > *:nth-child(1) { animation-delay: .12s; }
.hero__inner > *:nth-child(2) { animation-delay: .28s; }
.hero__inner > *:nth-child(3) { animation-delay: .44s; }
.hero__inner > *:nth-child(4) { animation-delay: .6s; }
.hero__inner > *:nth-child(5) { animation-delay: .76s; }

.js .reveal {
  transition:
    opacity .8s cubic-bezier(.2,.7,.2,1),
    transform .8s cubic-bezier(.2,.7,.2,1),
    filter .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  filter: blur(3px);
}
.js .reveal.is-in { filter: blur(0); }
.cards .card, .service-card, .shot, .photo {
  transition: transform .65s cubic-bezier(.2,.7,.2,1), box-shadow .65s ease;
}
.cards .card:hover, .service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(20,2,6,.2);
}
.card img, .shot img, .photo { will-change: transform; }
.shot:hover img { transform: scale(1.065); }
.btn { position: relative; overflow: hidden; transition: transform .3s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.nav a:not(.btn) { transition: color .25s ease, border-color .25s ease; }
.wa-float { animation: siyavar-glow 3.8s ease-in-out infinite; }
.faq-item summary { transition: color .25s ease, padding-left .25s ease; }
.faq-item summary:hover { padding-left: 5px; }
.panel:not([hidden]) .shot { animation: siyavar-rise .65s both; }
.panel:not([hidden]) .shot:nth-child(2) { animation-delay: .1s; }
.panel:not([hidden]) .shot:nth-child(3) { animation-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__inner > *, .wa-float, .panel:not([hidden]) .shot {
    animation: none !important; opacity: 1 !important;
  }
  .js .reveal { filter: none; transition: none !important; }
}
