/* =============================================
   VIVIANA TARTAGLIA — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --cream: #f5f0eb;
  --gold: #c9b89a;
  --muted: #6e6660;
  --serif: 'Cormorant Garant', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  background: linear-gradient(to bottom, rgba(10,10,10,.85) 0%, transparent 100%);
  transition: background .3s;
}
nav.scrolled { background: rgba(10,10,10,.97); }

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-links a { color: var(--cream); opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

.nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(245,240,235,.45);
  padding: 10px 22px;
  color: var(--cream);
  transition: background .2s, border-color .2s;
}
.nav-cta:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--cream); transition: .3s; }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.25) 0%, rgba(10,10,10,.55) 100%);
}
.hero-text {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
  max-width: 640px;
}
.hero-text .eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-text h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-text h1 em { font-style: italic; }

/* ---- SECTION DEFAULTS ---- */
section { padding: 100px 48px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 em { font-style: italic; }

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.3;
  margin-bottom: 14px;
}

p { color: rgba(245,240,235,.75); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 14px 32px;
  color: var(--cream);
  transition: background .2s, color .2s;
  margin-top: 32px;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn-light {
  border-color: var(--cream);
}
.btn-light:hover { background: var(--cream); color: var(--bg); }

/* ---- GALLERY GRID ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.gallery-grid img { aspect-ratio: 2/3; object-fit: cover; height: 100%; }
.gallery-grid a { display: block; overflow: hidden; }
.gallery-grid a img { transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }

/* ---- GALLERY CARD ---- */
.wedding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wedding-card { position: relative; overflow: hidden; }
.wedding-card img { aspect-ratio: 3/4; object-fit: cover; transition: transform .5s; }
.wedding-card:hover img { transform: scale(1.04); }
.wedding-card .card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 24px 24px;
  background: linear-gradient(to top, rgba(10,10,10,.8) 0%, transparent 100%);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
}

/* ---- SPLIT LAYOUT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img { overflow: hidden; }
.split-img img { object-fit: cover; height: 100%; max-height: 680px; }

/* ---- QUOTE ---- */
.quote-section {
  text-align: center;
  padding: 80px 48px;
  background: var(--bg2);
}
.quote-section blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 300;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 16px;
  color: var(--cream);
}
.quote-section cite {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- FAQ ---- */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(245,240,235,.12); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .04em;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: 24px;
  color: rgba(245,240,235,.7);
  font-size: 14px;
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ---- PHOTO GALLERY (wedding detail) ---- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.photo-gallery img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.photo-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* ---- CONTACT FORM ---- */
.contact-form { max-width: 580px; margin: 0 auto; }
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,240,235,.25);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-bottom-color: var(--gold); }
.form-row textarea { resize: none; min-height: 120px; }
.form-row select option { background: #1a1a1a; }
.form-submit {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 16px 40px;
  background: none;
  color: var(--cream);
  cursor: pointer;
  transition: background .2s, color .2s;
  margin-top: 16px;
}
.form-submit:hover { background: var(--gold); color: var(--bg); }

/* ---- FOOTER ---- */
footer {
  text-align: center;
  padding: 64px 48px;
  border-top: 1px solid rgba(245,240,235,.1);
}
.footer-logo img { height: 48px; width: auto; margin: 0 auto 32px; }
footer p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
footer a { color: var(--gold); transition: opacity .2s; }
footer a:hover { opacity: .7; }
.footer-social { margin-top: 24px; }
.footer-social a {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.footer-social a:hover { color: var(--cream); }

/* ---- FULL-WIDTH IMAGE ---- */
.full-img { width: 100%; max-height: 600px; object-fit: cover; object-position: center; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  height: 65vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.page-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.4);
}
.page-hero .page-title {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
}
.page-hero .page-title h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-style: italic;
}
.page-hero .page-title .eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---- EXPERIENCE STEPS ---- */
.experience-steps { max-width: 660px; margin: 0 auto; }
.step { margin-bottom: 56px; padding-left: 32px; border-left: 1px solid var(--gold); }
.step h3 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 400;
}
.step p { font-family: var(--serif); font-size: 1.1rem; font-style: italic; font-weight: 300; color: var(--cream); line-height: 1.8; }

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-64 { margin-top: 64px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav { padding: 22px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bg);
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 14px;
  }
  section { padding: 72px 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .wedding-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery img:first-child { grid-column: 1; aspect-ratio: 4/3; }
}
@media (max-width: 540px) {
  .wedding-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}
