/* ========================================
   VIRIENO'S BALLET — GLOBAL STYLESHEET
   Style: Refined luxury editorial
   Palette: Dusty rose, cream, deep charcoal
   ======================================== */

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

:root {
  --rose:       #c9848a;
  --rose-light: #e8c4c8;
  --rose-deep:  #a5626a;
  --cream:      #faf7f4;
  --parchment:  #f0ebe4;
  --charcoal:   #2c2825;
  --mid:        #7a6f69;
  --white:      #ffffff;

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

  --nav-h: 80px;
  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ─── NAV ─────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-nav.scrolled { box-shadow: 0 2px 30px rgba(44,40,37,0.08); }

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--rose-deep); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--rose-deep); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* ─── MAIN CONTENT OFFSET ─────────────── */
.page-content { padding-top: var(--nav-h); }

/* ─── HERO ────────────────────────────── */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.75);
  transform: scale(1.04);
  animation: heroZoom 10s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,40,37,0.6) 0%, transparent 55%);
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 0 5vw 6vh;
  color: var(--white);
  animation: fadeUp 1.2s ease both 0.4s;
}

.hero-text .eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero-text .subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--rose-light);
}

/* ─── SECTION BASE ────────────────────── */
.section {
  padding: 7rem 5vw;
}

.section--parchment { background: var(--parchment); }
.section--rose      { background: var(--rose-light); }
.section--dark      { background: var(--charcoal); color: var(--cream); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

p { color: var(--mid); max-width: 65ch; }
.section--dark p { color: var(--rose-light); }

/* ─── TWO-COL LAYOUT ──────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ─── IMAGE FRAME ─────────────────────── */
.img-frame {
  position: relative;
  overflow: hidden;
}

.img-frame::before {
  content: '';
  position: absolute;
  inset: -12px -12px auto auto;
  width: 60px; height: 60px;
  border-top: 2px solid var(--rose);
  border-right: 2px solid var(--rose);
  z-index: 1;
  pointer-events: none;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: auto auto -12px -12px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--rose);
  border-left: 2px solid var(--rose);
  z-index: 1;
  pointer-events: none;
}

.img-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.img-frame:hover img { transform: scale(1.03); }

/* ─── CTA BUTTON ──────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1px solid var(--rose);
  color: var(--rose-deep);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: var(--transition);
  margin-top: 1.5rem;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--rose);
  color: var(--white);
}

.btn--filled {
  background: var(--rose);
  color: var(--white);
}

.btn--filled:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

/* ─── IMAGE GRID ──────────────────────── */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.img-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.85);
}

.img-grid img:hover {
  transform: scale(1.02);
  filter: saturate(1.1);
}

/* ─── PHOTO GALLERY (about) ───────────── */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-mosaic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.9);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.photo-mosaic img:hover {
  filter: sepia(0) saturate(1.1);
  transform: scale(1.02);
}

/* ─── CONTACT FORM ────────────────────── */
.contact-section {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--rose-light);
  background: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
  border-radius: var(--radius);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus { border-color: var(--rose); }

.form-success {
  display: none;
  padding: 1rem;
  background: var(--rose-light);
  color: var(--rose-deep);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ─── FAQ ACCORDION ───────────────────── */
.faq-list { max-width: 760px; margin: 2rem auto 0; }

.faq-item {
  border-bottom: 1px solid var(--rose-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--rose-deep); }

.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--rose);
  transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }

.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer { max-height: 600px; }

/* ─── VIDEO SECTION ───────────────────── */
.video-wrap {
  position: relative;
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 2rem auto 0;
  border: 1px solid var(--rose-light);
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ─── DIVIDER ─────────────────────────── */
.divider {
  text-align: center;
  padding: 2rem 0;
  color: var(--rose-light);
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
}

/* ─── ATTIRE LIST ─────────────────────── */
.attire-block {
  max-width: 760px;
  margin: 0 auto;
}

.attire-block p { max-width: 100%; margin-bottom: 1rem; }
.attire-block strong { color: var(--charcoal); font-weight: 500; }
.attire-block em { color: var(--mid); }

.attire-block a {
  color: var(--rose-deep);
  border-bottom: 1px solid var(--rose-light);
  transition: border-color var(--transition);
}

.attire-block a:hover { border-color: var(--rose-deep); }

/* ─── FOOTER ──────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--rose-light);
  text-align: center;
  padding: 2.5rem 5vw;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ─── FADE-UP ANIMATION ───────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SECTION TITLE CENTER ────────────── */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col.reverse { direction: ltr; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .section { padding: 4rem 5vw; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--cream); padding: 2rem 5vw; gap: 1.5rem; border-bottom: 1px solid var(--rose-light); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.6rem; }
}
