/* ============================================================
   Roshan Events Jaipur — Static HTML/CSS build
   Palette: gold #D4AF37 / ivory #F8F5F0 / white / charcoal #1F1F1F / maroon #722F37
   ============================================================ */

:root {
  --gold: #D4AF37;
  --gold-hover: #B8962E;
  --ivory: #F8F5F0;
  --white: #FFFFFF;
  --charcoal: #1F1F1F;
  --maroon: #722F37;
  --text: #333333;
  --muted: #666666;
  --border: rgba(31, 31, 31, 0.1);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --section-pad: clamp(72px, 9vw, 128px);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--gold); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-hover); }

/* ===== Layout helpers ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }

.section { padding: var(--section-pad) 0; position: relative; }
.bg-white { background: var(--white); }
.bg-ivory { background: var(--ivory); }
.bg-charcoal { background: var(--charcoal); color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1024px) {
  .grid-2 { gap: 80px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.portfolio-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
@media (min-width: 768px) {
  .portfolio-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ===== Typography ===== */
.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin: 8px 0 0;
}
.text-light { color: #fff; }
.italic { font-style: italic; }
.gold { color: var(--gold); }
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--maroon);
  margin: 0 0 8px;
}
.eyebrow-gold { color: var(--gold); }
.lead { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; color: #444; margin: 24px 0 0; max-width: 520px; }
.muted-light { color: rgba(255, 255, 255, 0.7); max-width: 380px; line-height: 1.7; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em;
  border-radius: 0;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-hover); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-ghost:hover { background: #fff; color: var(--charcoal); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 24px 0;
  background: transparent;
  transition: background-color .4s ease, padding .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--font-serif); font-size: 18px; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 20px; color: #fff; transition: color .3s ease; }
.brand-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); }
.site-header.scrolled .brand-name { color: var(--charcoal); }
.site-header.scrolled .brand-sub { color: var(--maroon); }
.brand-light .brand-name { color: #fff; }

.nav-desktop { display: none; gap: 36px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 500;
  color: rgba(255, 255, 255, 0.9); position: relative; padding: 4px 0;
  transition: color .3s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--gold);
  transition: width .4s ease;
}
.nav-link:hover::after { width: 100%; }
.site-header.scrolled .nav-link { color: var(--text); }

.header-cta { display: none; padding: 14px 22px; font-size: 11px; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.mobile-toggle {
  width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-toggle .bar { width: 22px; height: 1px; background: #fff; transition: transform .3s ease, background-color .3s ease, opacity .3s ease; }
.site-header.scrolled .mobile-toggle .bar { background: var(--charcoal); }
.mobile-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}
.mobile-menu[hidden] { display: none !important; }
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-link {
  padding: 12px 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em;
  border-bottom: 1px solid rgba(31,31,31,0.08); color: var(--charcoal);
}
.mobile-cta { margin-top: 12px; align-self: flex-start; }

/* ===== Hero ===== */
.hero {
  position: relative; height: 100vh; min-height: 640px; width: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,31,31,0.35) 0%, rgba(31,31,31,0.55) 60%, rgba(31,31,31,0.7) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 24px; max-width: 880px; }
.hero-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(40px, 7vw, 84px); line-height: 1.05; letter-spacing: -0.01em;
  color: #fff; margin: 16px 0 0;
}
.hero-sub {
  margin: 28px auto 0; max-width: 620px;
  font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; color: rgba(255,255,255,0.85); font-weight: 300;
}
.hero-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; justify-content: center; } }

.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 10px; text-transform: uppercase; letter-spacing: 0.4em;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ===== About ===== */
.about-image { position: relative; }
.about-image img { width: 100%; height: 520px; object-fit: cover; }
.about-frame {
  position: absolute; right: -24px; bottom: -24px;
  width: 128px; height: 128px; border: 1px solid var(--gold); display: none;
}
@media (min-width: 768px) { .about-frame { display: block; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 420px; margin-top: 40px; }
.stat-n { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px); color: var(--gold); line-height: 1; }
.stat-l { font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted); margin-top: 8px; }

/* ===== Services ===== */
.service-card {
  background: var(--white);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -20px rgba(31, 31, 31, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
}
.service-img { position: relative; height: 240px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-icon {
  position: absolute; top: 16px; left: 16px;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(255,255,255,0.95); color: var(--gold); font-size: 18px;
}
.service-body { padding: 28px; }
.service-body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--charcoal); margin: 0; }
.service-body p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: #555; }

/* ===== Why Us ===== */
.why-grid { align-items: flex-start; }
.why-head { position: relative; }
@media (min-width: 768px) {
  .why-head { position: sticky; top: 128px; align-self: flex-start; }
}
.why-item {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.why-num {
  font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 36px); color: var(--gold);
  width: 56px; flex-shrink: 0; line-height: 1;
}
.why-item h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin: 0; color: var(--charcoal); }
.why-item p { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: #555; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative; overflow: hidden; display: block; aspect-ratio: 1 / 1;
}
.gallery-item.tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.gallery-item::after {
  content: ''; position: absolute; inset: 0; background: rgba(31, 31, 31, 0); transition: background-color .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { background: rgba(31, 31, 31, 0.55); }

.gallery-caption {
  position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 2;
  color: #fff; font-family: var(--font-serif); font-size: 18px; line-height: 1.2;
  opacity: 0; transition: opacity .5s ease;
}
.gallery-caption em {
  display: block; font-style: normal; color: var(--gold);
  font-family: var(--font-sans); font-size: 10px; text-transform: uppercase; letter-spacing: 0.35em; margin-bottom: 6px;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ===== Testimonials ===== */
.testimonial {
  position: relative;
  background: var(--ivory);
  padding: 36px 32px;
  border: 1px solid var(--border);
  margin: 0;
  transition: border-color .5s ease;
}
.testimonial:hover { border-color: rgba(212, 175, 55, 0.5); }
.testimonial blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35;
  color: var(--charcoal); margin: 0;
}
.testimonial .quote-mark {
  position: absolute; top: 18px; right: 24px; font-family: var(--font-serif); font-size: 64px;
  color: var(--gold); opacity: 0.3; line-height: 1;
}
.testimonial figcaption {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(212, 175, 55, 0.3);
  display: flex; flex-direction: column; gap: 4px;
}
.testimonial figcaption strong { font-family: var(--font-serif); font-weight: 500; font-size: 18px; color: var(--charcoal); }
.testimonial figcaption span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); }
.testimonial.dark { background: var(--charcoal); }
.testimonial.dark blockquote { color: #fff; }
.testimonial.dark figcaption strong { color: #fff; }

/* ===== Form ===== */
.form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: #888;
}
.field input,
.field select,
.field textarea {
  border: 0; border-bottom: 1px solid rgba(31,31,31,0.2);
  background: transparent;
  padding: 10px 0;
  font: inherit; font-size: 16px; color: var(--charcoal);
  border-radius: 0;
  transition: border-color .3s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder { color: #999; }
.field textarea { resize: vertical; min-height: 88px; }
.field select {
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 24px;
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-submit { align-self: flex-start; padding: 18px 36px; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status { margin: 0; font-size: 13px; min-height: 18px; color: var(--maroon); }
.form-status.success { color: #2f7d32; }
.form-status.error { color: #b3261e; }

.contact-list { margin-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  display: inline-grid; place-items: center;
  width: 22px; color: var(--gold); font-size: 18px; line-height: 1; flex-shrink: 0;
}
.ci-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: #888; }
.ci-value { display: block; font-size: 16px; color: var(--charcoal); margin-top: 2px; }

/* ===== Contact cards ===== */
.contact-card {
  background: var(--white); padding: 40px 28px;
  text-align: center; border: 1px solid transparent;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -20px rgba(31, 31, 31, 0.18);
  border-color: rgba(212, 175, 55, 0.4);
}
.contact-card-icon {
  width: 56px; height: 56px; margin: 0 auto 24px;
  display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold); font-size: 22px;
}
.contact-card-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: #888; margin-bottom: 8px; }
.contact-card-value { font-family: var(--font-serif); font-size: 22px; color: var(--charcoal); line-height: 1.3; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.8); padding: 80px 0 32px; }
.footer-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-blurb { margin-top: 20px; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-h {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold);
  margin: 0 0 20px; font-weight: 500;
}
.footer-links li,
.footer-contact li { margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.socials { display: flex; gap: 12px; margin-bottom: 24px; }
.social {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 11px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  transition: border-color .3s ease, color .3s ease;
}
.social:hover { border-color: var(--gold); color: var(--gold); }
.footer-hours { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; margin: 0; }
.footer-bottom {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 12px; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--gold); }

/* ===== Toast ===== */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-120%);
  background: var(--charcoal); color: #fff;
  padding: 14px 22px;
  border-left: 3px solid var(--gold);
  font-size: 13px; letter-spacing: 0.05em;
  z-index: 9999;
  transition: transform .4s ease, opacity .4s ease;
  opacity: 0;
  max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { border-left-color: #b3261e; }

/* ===== Reveal-on-scroll animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}
