/* ==========================================
   Boda Moderna Minimalista — Wedding Template
    Black + White + Gold accent
   System fonts, zero external requests
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #c9a96e;
  margin-bottom: 0.75rem;
}

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-alt { background: #fafafa; }
.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
  .container { padding: 0 1.25rem; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #1a1a1a;
  color: #ffffff;
}
.btn-primary:hover { background: #333; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
}
.btn-outline:hover { background: #1a1a1a; color: #fff; }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: #ffffff;
  color: #1a1a1a;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
}
.hero-content { position: relative; z-index: 1; padding: 2rem; }
.hero-names {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-ampersand {
  display: block;
  font-size: 0.45em;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 200;
  color: #c9a96e;
  margin: 0.15rem 0;
}
.hero-date {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}
.hero-divider {
  width: 40px;
  height: 2px;
  background: #c9a96e;
  margin: 1.5rem auto;
}
.hero-countdown {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.hero-countdown-item { text-align: center; }
.hero-countdown-number {
  font-size: 2rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1;
}
.hero-countdown-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #999;
  margin-top: 0.25rem;
}
@media (max-width: 768px) {
  .hero-countdown { gap: 1.5rem; }
}

/* --- Story --- */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.story-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 1.3;
  color: #1a1a1a;
  font-style: italic;
}
.story-quote::before { content: '"'; color: #c9a96e; }
.story-quote::after { content: '"'; color: #c9a96e; }
.story-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}
.story-text p { margin-bottom: 1rem; }
.story-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.story-detail-item { border-left: 2px solid #c9a96e; padding-left: 1rem; }
.story-detail-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #c9a96e;
  font-weight: 700;
}
.story-detail-label {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.25rem;
}
@media (max-width: 768px) {
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
  .story-quote { font-size: 1.5rem; }
  .story-details { grid-template-columns: 1fr; }
}

/* --- Event Cards --- */
.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.event-card {
  padding: 3rem;
  text-align: center;
  border: 1px solid #eee;
  transition: background 0.3s;
}
.event-card:hover { background: #fafafa; }
.event-card:first-child { border-right: none; }
.event-icon { margin: 0 auto 1.5rem; }
.event-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.event-detail {
  font-size: 0.9375rem;
  color: #555;
  margin-bottom: 0.25rem;
  line-height: 1.6;
}
.event-time {
  font-weight: 600;
  color: #c9a96e;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.event-map-link {
  display: inline-block;
  margin-top: 1rem;
  color: #1a1a1a;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.event-map-link:hover { color: #c9a96e; border-color: #c9a96e; }
@media (max-width: 768px) {
  .event-grid { grid-template-columns: 1fr; }
  .event-card { padding: 2rem; }
  .event-card:first-child { border-right: 1px solid #eee; border-bottom: none; }
}

/* --- Dress Code --- */
.dress-code-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.dress-item { text-align: center; }
.dress-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  border: 2px solid #eee;
}
.dress-label {
  font-size: 0.8125rem;
  color: #666;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}
.gallery-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.gallery-grid .full { grid-column: span 2; height: 450px; }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 250px; }
  .gallery-grid .full { height: 300px; }
}

/* --- RSVP --- */
.rsvp-box {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem;
}
.rsvp-box p {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* --- Registry --- */
.registry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 700px;
  margin: 0 auto;
  background: #eee;
  border: 1px solid #eee;
}
.registry-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  text-align: center;
}
.registry-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
.registry-detail {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.25rem;
}
.qr-placeholder {
  width: 120px;
  height: 120px;
  margin: 1rem auto;
  background: #fafafa;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.75rem;
}
@media (max-width: 768px) {
  .registry-grid { grid-template-columns: 1fr; }
}

/* --- Travel / Hotels --- */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}
.travel-card {
  background: #ffffff;
  padding: 1.5rem;
}
.travel-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.travel-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.travel-detail {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.25rem;
  line-height: 1.6;
}
.travel-distance {
  font-size: 0.8125rem;
  color: #c9a96e;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.travel-code-label {
  font-size: 0.6875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.125rem;
}
.travel-code {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.travel-phone {
  font-size: 0.8125rem;
  color: #666;
}
@media (max-width: 768px) {
  .travel-grid { grid-template-columns: 1fr; }
}

/* --- FAQ --- */
.faq-list { max-width: 650px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 0.25rem 0;
}
.faq-item summary {
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: #c9a96e;
  transition: transform 0.2s;
  font-weight: 300;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: #c9a96e; }
.faq-answer {
  padding: 0 0 1.25rem;
  color: #555;
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* --- Wedding Party --- */
.party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-content: center;
}
.party-card { text-align: center; }
.party-initials {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin: 0 auto 1rem;
  background: #ffffff;
}
.party-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.party-role {
  font-size: 0.8125rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .party-grid { gap: 2rem; }
}

/* --- Footer --- */
.footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 4rem 2rem;
}
.footer-hashtag {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 1rem;
}
.footer-text {
  font-size: 0.9375rem;
  opacity: 0.5;
  margin-bottom: 2rem;
}
.footer-credit {
  font-size: 0.8125rem;
  opacity: 0.3;
  letter-spacing: 0.05em;
}
.footer-branding {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  opacity: 0.35;
}
.footer-branding a {
  color: #c9a96e;
  text-decoration: underline;
  opacity: 0.7;
}
.footer-branding a:hover {
  opacity: 1;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.8125rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links a:hover { color: #1a1a1a; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1a1a1a;
}

.hero { padding-top: 56px; }

@media (max-width: 768px) {
  .nav { padding: 0 1rem; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; gap: 1rem; border-bottom: 1px solid #e2e8f0; box-shadow: 0 4px 6px rgba(0,0,0,.05); z-index: 200; }
  .nav-links.nav-open { display: flex; }
  .nav-links a { font-size: 0.9rem; }
  .nav-toggle { display: block; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
