/* =============================================
   SECTIONS — Editorial Split Layout with Botanicals
   ============================================= */

/* ===== SHARED SECTION STYLES ===== */
.section {
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== SPLIT LAYOUT (mobile stacked → desktop side by side) ===== */
.section-split {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.section.section-ceremony .section-split {
  gap: 0px;
}

.section-split .section-image {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(92, 64, 51, 0.1);
}

/* ===== ARCH PHOTO FRAME ===== */
.section-image.arch-frame {
  overflow: visible;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  position: relative;
}

.arch-bg {
  position: absolute;
  top: 6%;
  left: -3%;
  width: 72%;
  height: 92%;
  background: var(--sage-light);
  opacity: 0.4;
  border-radius: 150px 6px 6px 6px;
  z-index: 0;
}

.arch-photo {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 150px 6px 6px 6px;
  box-shadow: 0 8px 32px rgba(92, 64, 51, 0.15);
  display: block;
  margin-left: auto;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Bottom-right arch variant */
.arch-bg.arch-br {
  left: auto;
  right: -3%;
  border-radius: 6px 6px 150px 6px;
  background: var(--dusty-rose);
  opacity: 0.35;
}

.arch-photo.arch-br {
  border-radius: 6px 6px 150px 6px;
  margin-left: 0;
  margin-right: auto;
}

/* Bottom-left arch variant */
.arch-bg.arch-bl {
  left: -3%;
  border-radius: 6px 6px 6px 150px;
  background: var(--gold-light);
  opacity: 0.45;
}

.arch-photo.arch-bl {
  border-radius: 6px 6px 6px 150px;
  margin-left: auto;
}

/* Top-right arch variant */
.arch-bg.arch-tr {
  left: auto;
  right: 0;
  border-radius: 6px 150px 6px 6px;
  background: var(--champagne);
  opacity: 0.35;
}

.arch-photo.arch-tr {
  border-radius: 6px 150px 6px 6px;
  margin-left: 0;
  margin-right: auto;
}

.arch-wreath {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.arch-wreath-bottom-left {
  bottom: -8%;
  left: -8%;
  width: 55%;
  height: 55%;
}

.arch-wreath-top-right {
  top: -8%;
  right: -8%;
  width: 50%;
  height: 50%;
}

.arch-wreath-top-left {
  top: -8%;
  left: -14%;
  width: 50%;
  height: 50%;
}

.arch-wreath-bottom-right {
  bottom: -8%;
  right: -8%;
  width: 55%;
  height: 55%;
}

.arch-confetti {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 3;
}

.arch-confetti span {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
}

.arch-confetti span:nth-child(odd) {
  width: 4px;
  height: 4px;
  opacity: 0.85;
}

.arch-confetti span:nth-child(even) {
  width: 6px;
  height: 6px;
  opacity: 0.7;
}

.section-split .section-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--brown-light);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== THIN SECTION DIVIDER ===== */
.section-line {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 20px;
  opacity: 0.5;
}

/* ===== OUR STORY ===== */
.section-story {
  background: var(--bg-story);
}

/* ===== NAȘI ===== */
.section-nasi {
  background: var(--bg-nasi);
}

/* ===== PRIMIREA ===== */
.section-primirea {
  background: var(--bg-primirea);
}

/* Primirea — dual photo layout */
.section-split .primirea-photos {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  height: auto;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.primirea-photo-pair {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow: visible;
}

.primirea-photo-pair .arch-frame-small {
  flex: 1;
  position: relative;
  height: 380px;
  overflow: visible;
}

.primirea-photo-pair .arch-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(92, 64, 51, 0.15);
}

.primirea-photo-pair .arch-bg {
  width: 100%;
  height: 100%;
}

.primirea-photo-pair .arch-bg.arch-bl {
  left: -10%;
}

.primirea-photo-pair .arch-bg.arch-br {
  right: -10%;
}

/* Diagonal wreaths — hidden on desktop, shown on mobile */
.primirea-diagonal-wreath {
  display: none;
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.primirea-diagonal-wreath.wreath-top-right {
  top: 5%;
  right: 2%;
  width: 35%;
}

.primirea-diagonal-wreath.wreath-bottom-left {
  bottom: 5%;
  left: 2%;
  width: 35%;
}

@media (max-width: 599px) {
  .primirea-photo-pair {
    position: relative;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: visible;
    aspect-ratio: 3 / 4;
  }

  .primirea-photo-pair .arch-frame-small {
    position: absolute;
    width: 62%;
    height: 55%;
    min-height: auto;
    overflow: visible;
  }

  .primirea-photo-pair .arch-frame-small:first-child {
    top: 0;
    left: 0;
    z-index: 1;
  }

  .primirea-photo-pair .arch-frame-small:last-child {
    bottom: 0;
    right: 0;
    z-index: 2;
  }

  /* Arch photos on mobile with drop shadow — softer arch */
  .primirea-photo-pair .arch-photo.arch-bl {
    width: 100%;
    box-shadow: 0 6px 24px rgba(92, 64, 51, 0.18);
    border-radius: 6px 6px 6px 100px;
  }

  .primirea-photo-pair .arch-photo.arch-br {
    width: 100%;
    box-shadow: 0 6px 24px rgba(92, 64, 51, 0.18);
    border-radius: 6px 6px 100px 6px;
  }

  .primirea-photo-pair .arch-bg.arch-bl {
    width: 100%;
    height: 100%;
    top: 6%;
    left: -10%;
    border-radius: 6px 6px 6px 100px;
    background: var(--dusty-rose);
    opacity: 0.20;
  }

  .primirea-photo-pair .arch-bg.arch-br {
    width: 100%;
    height: 100%;
    top: 6%;
    left: auto;
    right: -10%;
    border-radius: 6px 6px 100px 6px;
    background: var(--gold-light);
    opacity: 0.40;
  }

  /* Hide the per-photo wreaths on mobile — use the diagonal ones instead */
  .primirea-photo-pair .arch-frame-small .arch-wreath {
    display: none;
  }

  /* Diagonal wreaths in empty corners */
  .primirea-diagonal-wreath {
    display: block;
  }
}

/* ===== RECEPTION VENUE ===== */
.section-welcome {
  background: var(--bg-welcome);
}

/* ===== CEREMONY ===== */
.section-ceremony {
  background: var(--bg-ceremony);
}

.ceremony-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ceremony-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}

.ceremony-details {
  margin-top: 32px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
  padding: 8px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(92, 64, 51, 0.15), 0 1px 4px rgba(92, 64, 51, 0.1);
}

.detail-card-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.detail-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.detail-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 8px;
}

.detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.6;
}

/* Map link button */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dusty-rose);
  margin-top: 10px;
  padding: 8px 16px;
  border: 1px solid var(--blush);
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.map-link:hover {
  background: var(--blush-light);
  border-color: var(--rose);
  color: var(--rose);
}

.map-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ===== RECEPTION ===== */
.section-transport {
  background: var(--bg-transport);
  text-align: center;
}

.transport-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.transport-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.transport-card-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.transport-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.transport-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
}

.transport-row-text {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--brown-light);
  line-height: 1.6;
  padding-left: 40px;
  margin-top: -4px;
}

.section-menu {
  background: var(--bg-menu);
}

.section-menu .section-split {
  gap: 45px;
}

.menu-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}

/* ===== DRESS CODE ===== */
.section-dresscode {
  background: var(--bg-dresscode);
  text-align: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.dresscode-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dresscode-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}

.dresscode-colors {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.color-swatch-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  font-weight: 400;
  color: var(--brown-light);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.color-swatch:hover .color-swatch-label {
  opacity: 1;
}

.dresscode-hint {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  font-style: italic;
  color: var(--brown-light);
  margin-top: 20px;
  opacity: 0.7;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 48px 24px;
  background: var(--ivory);
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--rose);
  margin-bottom: 10px;
}

.footer-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 24px;
}

.footer-bottom {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--brown-light);
  opacity: 0.6;
}
