@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lato:wght@300;400&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;1,300;1,400;1,500&display=swap");
@import url("https://use.typekit.net/gja5cdy.css");

@font-face {
  font-family: 'Luna Soir';
  src: url('/assets/LunaSoir-Regular.otf') format('opentype'),
       url('/assets/LunaSoir-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eina01';
  src: url('/assets/Eina01-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --max-width: 1100px;
  --border-radius: 12px;
  --color-gold: #d39f42;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;

  --font-serif: 'freight-big-pro', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --font-script: 'bickham-script-pro-3', 'Playfair Display', cursive;
  --font-eina: 'Eina01', sans-serif;
}

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

html, body {
  max-width: 100vw;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Hide scrollbar helper if needed */
body {
  position: relative;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

section {
  width: 100%;
}

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

/* Navigation */
.nav-bar {
  top: 0;
  left: 0;
  display: flex;
  position: fixed;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  width: 100%;
  padding: 18px 48px;
  font-weight: 500;
  color: #fff;
  transition: background-color 0.3s ease, padding 0.3s ease, color 0.3s ease;
}

.nav-bar.scrolled,
.nav-bar.nav-bar-subpage {
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  padding: 16px 48px;
}

.nav-bar.scrolled .toggle-button,
.nav-bar.scrolled .toggle-button::before,
.nav-bar.scrolled .toggle-button::after,
.nav-bar.nav-bar-subpage .toggle-button,
.nav-bar.nav-bar-subpage .toggle-button::before,
.nav-bar.nav-bar-subpage .toggle-button::after {
  background-color: #000;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 300;
}

.nav-logo img {
  height: 38px;
  width: auto;
  transition: filter 0.3s ease;
}

.nav-bar.scrolled .nav-logo img,
.nav-bar.nav-bar-subpage .nav-logo img {
  filter: invert(1);
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  width: max-content;
}

.nav-items li {
  list-style: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  font-family: var(--font-sans);
  /* Transição de font-family — igual ao site de referência */
  transition: font-family 0.2s ease-in;
  white-space: nowrap;
  cursor: pointer;
}

/* No hover/active: fonte cursiva cresce para 42px mas line-height fixo mantém altura */
.nav-items li:hover,
.nav-items li.active {
  font-family: var(--font-script);
  line-height: 20px;
  font-size: 42px;
  letter-spacing: 0;
  text-transform: lowercase;
}

/* O elemento filho (a) recebe height fixo — impede que o li mude de tamanho */
.nav-items li:hover a,
.nav-items li.active a {
  height: 22px;
  display: inline-block;
}

.nav-items a {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

/* Mobile Navigation Hamburger */
.menu-toggle-checkbox {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
  z-index: 110;
}

.toggle-button {
  width: 30px;
  height: 1px;
  background-color: #fff;
  position: relative;
  transition: background-color 0.2s ease-in-out;
}

.toggle-button::before,
.toggle-button::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: transform 0.2s ease;
}

.toggle-button::before {
  top: -8px;
}

.toggle-button::after {
  top: 8px;
}

/* Hamburguer Animation when checked */
.menu-toggle-checkbox:checked ~ .menu-button .toggle-button {
  background-color: transparent !important;
}

.menu-toggle-checkbox:checked ~ .menu-button .toggle-button::before {
  transform: translateY(8px) rotate(45deg);
  background-color: #fff !important;
}

.menu-toggle-checkbox:checked ~ .menu-button .toggle-button::after {
  transform: translateY(-8px) rotate(-45deg);
  background-color: #fff !important;
}

/* Mobile Navigation Overlay Menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-toggle-checkbox:checked ~ .mobile-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.mobile-nav-overlay li {
  list-style: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  font-size: 16px;
  color: #fff;
  transition: font-size 0.2s, font-family 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
}

.mobile-nav-overlay li:hover,
.mobile-nav-overlay li.active {
  font-family: var(--font-script);
  text-transform: lowercase;
  font-size: 38px;
  font-weight: normal;
  letter-spacing: 0;
  color: #fff;
}

/* Header & Banner Slideshow */
.home-header {
  min-height: 120vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  padding-top: 200px; /* Place "Julia & Igor" lower */
}

.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.slideshow-image {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow-image.active {
  opacity: 1;
}

.slideshow-container::after {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.425;
}

.home-header-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  padding: 0 32px;
  text-align: center;
  color: #fff;
  margin-top: auto;
  margin-bottom: auto;
}

.home-header-box h1 {
  font-family: 'Luna Soir', var(--font-serif);
  font-size: 72px;
  font-weight: 200;
  position: relative;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.home-header-box h1 .first-name {
  letter-spacing: -0.5px;
}

.home-header-box h1 .second-name {
  letter-spacing: 2.5px;
  transform: scaleX(1.055);
  display: inline-block;
  padding-left: 10px;
}

.home-header-box h1 .connector {
  font-family: 'Luna Soir', var(--font-script);
  font-style: italic;
  padding: 0 12px;
  font-size: 32px;
  text-transform: lowercase;
}

.home-header-box h1::after {
  position: absolute;
  background-color: #fff;
  content: "";
  height: 1px;
  width: 20%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.home-header-box h2 {
  margin-top: 12px;
  font-style: italic;
  font-weight: 300;
  font-size: 60px;
  line-height: 54px;
  font-family: var(--font-script);
  text-transform: lowercase;
}

.home-header-box > span {
  padding-top: 4px;
  font-family: var(--font-serif);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 2px;
}

.home-header-box > span span {
  padding: 0 8px;
}

/* Buttons */
.button {
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 2px;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3.2rem;
  padding: 12px 24px;
  position: relative;
  text-decoration: none;
  transition: all 0.25s;
  user-select: none;
  touch-action: manipulation;
  text-align: center;
  vertical-align: baseline;
  border-radius: 30px;
  width: auto;
}

.button-primary {
  background-color: transparent;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.02);
  color: rgba(0,0,0,0.85);
}

.button-primary:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.65);
}

.button-secondary {
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 3px 0 rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.85);
}

.button-secondary:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
}

.button-highlighted {
  background-color: #fff;
  border: 1px solid var(--color-gold);
  min-width: 260px;
  line-height: 26px;
  box-shadow: 0 1px 3px 0 rgba(211,159,66,0.02);
  transition-property: font-family, font-size;
  color: var(--color-gold);
}

.button-highlighted:hover {
  font-family: var(--font-script);
  font-size: 30px;
  color: var(--color-gold);
}

/* Countdown Overlay on Home Page */
.countdown-overlay {
  position: relative;
  width: 100%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.countdown-overlay * {
  pointer-events: auto;
}

.countdown-container {
  width: 100%;
  max-width: 2400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.countdown-cronos {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.after-message {
  font-family: var(--font-script);
  font-size: 60px;
  line-height: 54px;
  font-weight: 300;
  font-style: italic;
  text-transform: lowercase;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.countdown-time {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-serif);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.time-section {
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.time-box {
  font-size: 68px;
  font-weight: 100;
  line-height: 1;
  color: #fff;
}

.time-unit {
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  letter-spacing: 2px;
}

/* Ripped Paper Divider */
.ripped-divider {
  width: 100%;
  height: clamp(100px, 15vw, 150px);
  background-image: url('/assets/ripped-bg-3.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  margin-bottom: -3px; /* to overlap the border perfectly */
  z-index: 11;
}

/* Save The Date */
.save-the-date-section {
  background: #fff;
  min-height: 80vh;
  padding: 80px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.save-the-date-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 2400px;
  gap: 220px;
}

.save-the-date-text-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  height: 100%;
  min-height: 380px;
}

.save-the-date-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.save-the-date-title {
  font-family: 'Luna Soir', var(--font-serif);
  font-size: 144px;
  line-height: 144px;
  font-weight: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(270deg, #eee, #111);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.save-the-date-cta {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 32px;
  position: relative;
}

.save-the-date-cta svg {
  margin-bottom: -10px;
}

.save-the-date-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex: 0 0 auto;
  gap: 64px;
}

/* Rounded Cards */
.rounded-card-container {
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.rounded-card-inner {
  width: 240px;
  height: 440px;
  perspective: 1000px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rounded-card-images {
  height: 440px;
  width: 240px;
  border-radius: 300px;
  overflow: hidden;
  position: relative;
  display: flex;
  z-index: 3;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.rounded-card-inner:hover .rounded-card-images {
  transform: rotateY(180deg);
}

.rounded-card-front,
.rounded-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rounded-card-front {
  filter: none;
}

.rounded-card-back {
  transform: rotateY(180deg);
  filter: none;
}

.rounded-card-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 300px;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.rounded-card-legend {
  position: absolute;
  pointer-events: none;
  font-size: 84px;
  line-height: 84px;
  font-family: var(--font-serif);
  font-weight: 200;
  bottom: 0px;
  right: -15px;
}

.inner-legend {
  z-index: 4;
  color: #fff;
}

.outer-legend {
  color: #000;
  z-index: 2;
}

.rounded-card-splitter {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, var(--color-gold) 10%, #fff);
}

.rounded-card-dates {
  text-transform: uppercase;
  text-align: center;
}

.rounded-card-dates span {
  color: #aaa;
  font-size: 14px;
  letter-spacing: 4px;
  font-family: var(--font-eina);
}

.rounded-card-dates h3 {
  color: #555;
  font-size: 32px;
  font-family: 'Luna Soir', var(--font-serif);
  font-weight: 100;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Horizontal Scroll Section */
.horizontal-scroll-section {
  position: relative;
  width: 100%;
  height: 200vh; /* 2x screen height to scroll horizontally */
  background-color: #fff;
}

.scroll-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.scroll-container {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 200vw; /* 4 panels at 50vw each = 200vw total width */
  flex-direction: row;
  will-change: transform;
}

.scroll-child {
  width: 50vw;
  height: 100vh;
  flex: 0 0 auto;
}

.scroll-container h2 {
  font-family: var(--font-serif);
  font-size: 44px;
  letter-spacing: 4px;
  text-transform: uppercase;

font-weight: 200;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .scroll-container h2 {
    font-size: 32px;
  }
}

/* Specific panels in Scroll Section */
.ceremony-section {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.15) 100%), url('/assets/recepcao-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.ceremony-section h2 {
  color: #fff;
}

.ceremony-section .ceremony-address {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
}

.gifts-section {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.15) 100%), url('/assets/gifts-bg.jpg?v=2');
  color: #fff;
  background-size: cover;
  background-position: center;
}

.gifts-section h2 {
  color: #fff;
}

.gifts-description {
  max-width: 600px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 24px;
  letter-spacing: 1px;
}

.dresscode-section {
  background-image: url('/assets/dicas-e-instrucoes.jpg');
  background-size: cover;
  background-position: center;
}

.dresscode-description {
  max-width: 600px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.75);
  margin-top: 24px;
  letter-spacing: 1px;
}

.accommodation-section {
  background-image: url('/assets/dandelion.jpg');
  color: #fff;
  background-size: cover;
  background-position: center;
}

.accommodation-section h2 {
  color: #fff;
}

.poems-section {
  background-image: url('/assets/planta.jpg');
  background-size: cover;
  background-position: center;
}

.gallery-section {
  background-image: url('/assets/final.jpg');
  color: #fff;
  background-size: cover;
  background-position: center;
}

.gallery-section h2 {
  color: #fff;
}

.scroll-section-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  height: 100%;
  text-align: center;
  position: relative;
  background-color: rgba(0,0,0,0.15); /* Soft overlay to improve text readability */
}

.scroll-section-panel .button {
  margin-top: 16px;
  min-width: 320px;
}

.ceremony-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 1px;
  color: #666;
  margin-top: 24px;
}

.scroll-child:nth-child(even) .ceremony-address {
  color: #ccc;
}

/* Story Section */
.story-section {
  display: flex;
  justify-content: center;
  background-color: #fff;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.story-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  padding: 120px 48px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}

.story-slogan {
  position: relative;
  font-size: 72px;
  text-transform: uppercase;
  font-family: var(--font-serif);
  line-height: 1.1;
  flex: 0 0 40%;
}

.story-first-line {
  color: rgba(0, 0, 0, 0.35);
  font-weight: 200;
  display: block;
}

.story-second-line {
  font-weight: 200;
  font-size: 2.2em;
  display: block;
  font-style: italic;
  text-transform: lowercase;
}

.story-main-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 1;
}

.story-paragraph {
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-eina);
}

/* Footer Section */
.footer-section {
  width: 100%;
  padding: 48px 0;
  background-color: #fff;
  border-top: 1px solid #eaeaea;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: invert(1);
}

.copyright-bar {
  width: 100%;
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-family: var(--font-serif);
  background-color: #000;
  display: flex;
  justify-content: center;
  padding: 14px 0;
}

/* Shared Inner Pages Layout */
.page-main {
  min-height: calc(100vh - 140px);
  padding: 140px 24px 80px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.inner-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 200;
  text-align: center;
  margin-bottom: 48px;
  text-transform: uppercase;
}

/* RSVP Form styling */
.rsvp-form-container {
  width: 100%;
  max-width: 500px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px;
  font-size: 16px;
  font-family: var(--font-sans);
  background-color: #fff;
}

.form-field textarea {
  height: 120px;
  resize: vertical;
}

.rsvp-form-container .button {
  width: 100%;
  margin-top: 16px;
}

.form-message {
  margin-top: 24px;
  font-size: 16px;
  color: var(--color-gold);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.visible {
  opacity: 1;
}

/* Gifts Page */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.gift-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s;
}

.gift-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.gift-image {
  height: 200px;
  width: 100%;
  background-color: #f5f5f5;
  background-size: cover;
  background-position: center;
}

.gift-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gift-details h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 200;
}

.gift-details .price {
  color: var(--color-gold);
  font-size: 18px;
  font-weight: 600;
}

.gift-details .button {
  font-size: 14px;
  min-height: auto;
  padding: 8px 16px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: #f0f0f0;
  color: #888;
  font-size: 11px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

/* Tips and Instructions Sub Navigation */
.tips-sub-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  border-bottom: 1px solid #eaeaea;
  width: 100%;
  justify-content: center;
}

.tips-sub-nav a {
  padding: 12px 16px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #888;
  position: relative;
}

.tips-sub-nav a.active {
  color: #000;
  font-weight: 600;
}

.tips-sub-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

/* Tips Page Style */
.tips-content {
  width: 100%;
  line-height: 1.8;
  color: #333;
}

.tips-content h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 200;
}

.tips-content h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 32px 0 16px;
  font-weight: 200;
}

.tips-content p {
  margin-bottom: 16px;
}

.tips-content ol {
  padding-left: 20px;
  margin-bottom: 24px;
}

.tips-content li {
  margin-bottom: 8px;
}

.tips-content .button {
  margin-top: 12px;
  font-size: 14px;
  min-height: auto;
  padding: 10px 20px;
}

.venue-logo-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.venue-logo-box img {
  max-width: 280px;
  height: auto;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.inspiration-card {
  width: 100%;
  aspect-ratio: 2 / 3;
  background-color: #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Our Story Page Styles */
.narrator {
  font-style: italic;
  color: #888;
  margin-top: 12px;
  font-size: 14px;
}

.chapter {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
}

.chapter h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 200;
  margin-bottom: 16px;
  color: var(--color-gold);
}

.chapter p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.8;
  font-family: var(--font-eina);
}

.poem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  width: 100%;
  margin-top: 24px;
}

.poem-list li a {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: #333;
  transition: color 0.2s;
}

.poem-list li a:hover {
  color: var(--color-gold);
}

/* Photo Gallery Grid */
.album-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #eaeaea;
  width: 100%;
  justify-content: center;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-family: 'Eina01', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.tab-btn.active {
  color: #000;
  font-weight: bold !important;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.album-panel {
  display: none;
  width: 100%;
}

.album-panel.active {
  display: block;
}

.photo-gallery-grid {
  columns: 3;
  column-gap: 20px;
  width: 100%;
}

.photo-item {
  width: 100%;
  margin-bottom: 20px;
  break-inside: avoid;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  cursor: zoom-in;
  transition: transform 0.3s;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-item:hover {
  transform: scale(1.02);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive styles */
@media screen and (max-width: 1284px) {
  .nav-bar {
    padding: 16px 24px;
  }
  .nav-items {
    display: none;
  }
  .menu-button {
    display: block;
  }
}

@media screen and (max-width: 1024px) {
  .save-the-date-container {
    flex-direction: column-reverse;
    gap: 48px;
  }
  .save-the-date-text-side {
    width: 100%;
    min-height: auto;
    align-items: center;
    text-align: center;
  }
  .save-the-date-cta {
    justify-content: center;
  }
  .save-the-date-cta svg {
    display: none;
  }
  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-gallery-grid {
    columns: 2;
  }
  .story-container {
    flex-direction: column;
    padding: 80px 24px;
    gap: 40px;
  }
  .story-slogan {
    text-align: center;
    width: 100%;
  }
  .story-main-container {
    width: 100%;
    align-items: center;
  }
  .story-paragraph {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .home-header {
    min-height: 950px;
  }
  
  .home-header-box h1 {
    font-size: 54px;
    padding-bottom: 24px;
  }
  .home-header-box h1 .connector {
    display: block;
    font-size: 42px;
    padding: 10px 0;
  }
  .home-header-box h2,
  .after-message {
    font-size: 36px;
    line-height: 31px;
    max-width: 90%;
  }

  .countdown-time {
    flex-wrap: wrap;
    gap: 12px;
  }
  .time-section {
    width: 80px;
  }
  .time-box {
    font-size: 48px;
  }
  
  .save-the-date-title {
    font-size: 120px;
    line-height: 0.9;
  }

  /* Timeline Mobile */
  .save-the-date-images {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  
  .rounded-card-container {
    margin-bottom: 32px;
  }

  /* Esconde apenas o card 2 e 3 (imagens), mas mantém os textos/datas! */
  .save-the-date-images .rounded-card-container:nth-child(n+2) .rounded-card-inner {
    display: none;
  }
  
  /* Ajuste no espaço do splitter (linha dourada) para conectar tudo */
  .rounded-card-splitter {
    height: 50px;
    margin-bottom: 16px;
  }

  /* Esconde o número gigante (01.) do card giratório no mobile */
  .rounded-card-legend {
    display: none;
  }

  /* Horizontal Scroll Effect (Mobile) */
  .horizontal-scroll-section {
    height: 400vh; /* 4 seções = 4 telas de altura para o scroll funcionar no mobile */
    overflow: visible;
  }
  .scroll-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  }
  .scroll-container {
    position: absolute;
    width: 400vw; /* 4 filhos * 100vw */
    height: 100vh;
    flex-direction: row;
    overflow: hidden; /* Removemos scroll nativo, o JS vai mover! */
    will-change: transform;
    display: flex;
  }
  .scroll-child {
    width: 100vw;
    height: 100vh;
    flex: 0 0 100vw;
    min-height: auto;
    padding: 0;
    display: block;
  }
  .scroll-section-panel {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Story / Nossa História */
  .story-section {
    overflow: hidden; /* Volta para hidden para evitar vazar fundo, mas agora não vai cortar */
  }
  .story-container {
    padding: 60px 20px; /* Reduz espaçamento geral */
    gap: 16px;
    overflow: visible;
  }
  .story-slogan {
    font-size: 42px;
    flex: none; /* FIX CRÍTICO: remove o flex 40% que bugava a altura no column */
    width: 100%;
    margin-bottom: 0px;
  }
  .story-second-line {
    font-size: 1.8em;
  }
  .story-main-container {
    flex: none; /* FIX CRÍTICO: remove flex 1 para a altura ficar dinâmica com o texto */
    gap: 16px;
  }
  .story-main-container .button {
    width: auto;
    min-width: 0;
    padding: 12px 24px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
    margin-top: 8px; /* Dá um espacinho em relação ao texto */
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }
  .photo-gallery-grid {
    columns: 1;
  }
  .inspiration-grid {
    grid-template-columns: 1fr;
  }
  .poem-list {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-title {
    font-size: 36px;
  }
}

/* Desktop navigation layout grid overrides (prevents overlaps) */
@media screen and (min-width: 1285px) {
  .nav-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: stretch;
  }
  .nav-logo {
    grid-column: 1;
    justify-self: start;
  }
  .nav-items {
    grid-column: 2;
    justify-self: center;
  }
}


/* =============================================
   RSVP PAGE - Confirmar Presenca
============================================= */

.rsvp-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  overflow: hidden;
  padding-top: 80px;
}

/* Decorative translucent background text */
.rsvp-bg-text {
  position: absolute;
  top: calc(50% + 40px);
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}

.rsvp-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.rsvp-marquee-track {
  display: flex;
  white-space: nowrap;
}

.rsvp-marquee-left .rsvp-marquee-track {
  animation: rsvp-scroll-left 65s linear infinite;
}

.rsvp-marquee-right .rsvp-marquee-track {
  animation: rsvp-scroll-right 65s linear infinite;
}

.rsvp-bg-text span {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 300;
  color: rgba(0, 0, 0, 0.035);
  letter-spacing: 6px;
  white-space: nowrap;
  line-height: 0.9;
}

@keyframes rsvp-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes rsvp-scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Central content area */
.rsvp-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  flex: 1;
  justify-content: center;
  width: 100%;
  max-width: 800px;
}

/* Clickable prompt */
.rsvp-prompt {
  cursor: pointer;
  padding: 16px;
  transition: opacity 0.2s;
}

.rsvp-prompt:hover {
  opacity: 0.7;
}

.rsvp-prompt-text {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: 1px;
  line-height: 1.15;
  margin: 0;
}

.rsvp-dots {
  display: inline;
}

.rsvp-dot {
  color: var(--color-gold);
  animation: rsvpBlink 1.4s infinite both;
}

.rsvp-dot.dot1 { animation-delay: 0s; }
.rsvp-dot.dot2 { animation-delay: 0.2s; }
.rsvp-dot.dot3 { animation-delay: 0.4s; }

@keyframes rsvpBlink {
  0%, 20% { opacity: 0; }
  40%, 100% { opacity: 1; }
}

/* Input field (replaces prompt on click) */
.rsvp-input-area {
  width: 100%;
  max-width: 560px;
  animation: rsvpSlideIn 0.35s ease both;
}

@keyframes rsvpSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rsvp-inline-input {
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  color: #1a1a1a;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(0,0,0,0.12);
  padding: 12px 0;
  outline: none;
  letter-spacing: 1px;
  caret-color: var(--color-gold);
  transition: border-color 0.25s;
}

.rsvp-inline-input::placeholder {
  color: rgba(0,0,0,0.18);
  font-style: italic;
}

.rsvp-inline-input:focus {
  border-bottom-color: var(--color-gold);
}

/* Results list */
.rsvp-results {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 500px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin 0.35s ease;
}

.rsvp-results.visible {
  max-height: 320px;
  overflow-y: auto;
  margin-top: 16px;
}

.rsvp-result-item {
  padding: 14px 24px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: #333;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: color 0.15s, background 0.15s;
}

.rsvp-result-item:last-child {
  border-bottom: none;
}

.rsvp-result-item:hover,
.rsvp-result-item:focus {
  color: var(--color-gold);
  background: rgba(211,159,66,0.04);
  outline: none;
}

.rsvp-result-empty {
  padding: 16px 24px;
  color: #aaa;
  font-size: 15px;
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
}

/* Instruction note */
.rsvp-instruction {
  margin-top: 0px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: #858585;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* =============================================
   RSVP MODAL POPUP
============================================= */

[hidden] {
  display: none !important;
}

.rsvp-modal-confirm,
.rsvp-modal-already,
.rsvp-modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.rsvp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: rsvpOverlayIn 0.3s ease both;
}

.rsvp-modal-overlay.active {
  display: flex;
}

@keyframes rsvpOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.rsvp-modal-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 56px 48px 44px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
  animation: rsvpCardIn 0.4s cubic-bezier(.22,.68,0,1.15) both;
}

@keyframes rsvpCardIn {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.rsvp-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #bbb;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s;
}

.rsvp-modal-close:hover {
  color: #555;
}

.rsvp-modal-icon {
  font-size: 18px;
  color: var(--color-gold);
  margin-bottom: 12px;
  letter-spacing: 6px;
}

.rsvp-modal-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}

.rsvp-modal-name {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 200;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.rsvp-modal-question {
  font-family: var(--font-serif);
  font-size: 15px;
  color: #777;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
  font-style: italic;
}

.rsvp-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 24px;
}

.rsvp-modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  border: 1.5px solid #e5e0d8;
  background: #fafaf8;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.4px;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}

.rsvp-modal-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(211,159,66,0.05);
}

.rsvp-modal-btn.selected {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(211,159,66,0.25);
}

.rsvp-modal-btn span {
  font-style: normal;
}

.rsvp-modal-submit {
  width: 100%;
  border-radius: 50px;
  padding: 15px;
  font-size: 16px;
}

.rsvp-modal-submit:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Success view inside modal */
.rsvp-modal-success-icon {
  font-size: 52px;
  margin-bottom: 16px;
  animation: rsvpPop 0.5s cubic-bezier(.22,.68,0,1.6) both 0.15s;
}

@keyframes rsvpPop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.rsvp-modal-success-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.rsvp-modal-success-msg {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.7;
  color: #777;
  font-style: italic;
  letter-spacing: 0.4px;
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
}

/* Remove RSVP Button (Pastel Red) */
.rsvp-btn-remove {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  border: 1.5px solid #ffcfcf;
  background: #fff5f5;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.4px;
  color: #d85c5c;
  cursor: pointer;
  transition: all 0.2s;
}

.rsvp-btn-remove:hover {
  border-color: #ffbaba;
  background: #ffecec;
  color: #c94040;
}

/* Responsive */
@media (max-width: 600px) {
  .rsvp-prompt-text {
    font-size: 32px;
  }
  .rsvp-inline-input {
    font-size: 26px;
  }
  .rsvp-modal-card {
    padding: 40px 24px 32px;
  }
  .rsvp-modal-name {
    font-size: 26px;
  }
  .rsvp-bg-text span {
    font-size: 20px;
    letter-spacing: 3px;
  }
}

/* =============================================
   TIPS & INSTRUCTIONS PAGES - SIDEBAR & COLUMNS LAYOUT
   ============================================= */

.page-main-tips {
  min-height: calc(100vh - 140px);
  /* Left: aligns with INÍCIO nav item (~467px from viewport)
     Right: aligns with NOSSA HISTÓRIA end (~1443px from viewport = 1920-477) */
  padding: 140px 477px 80px 326px;
  width: 100%;
  box-sizing: border-box;
}

.tips-sidebar-ghost {
  display: none;
}

.tips-sidebar {
  width: 240px;
  position: fixed;
  top: 140px;
  bottom: 80px;
  left: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
}

.tips-sidebar-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.tips-sidebar-nav li {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  font-family: var(--font-sans);
  transition: font-family 0.2s ease-in, font-size 0.2s, line-height 0.2s;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 44px;
}

.tips-sidebar-nav li a {
  display: inline-block;
  white-space: nowrap;
}

.tips-sidebar-nav li.active a,
.tips-sidebar-nav li:hover a {
  font-family: var(--font-script);
  line-height: 20px;
  font-size: 42px;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--color-gold);
  height: 22px;
  display: inline-block;
}

/* Main Content Area */
.tips-content-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tips-content-header {
  text-align: center;
  max-width: 650px;
  margin-bottom: 48px;
}

.tips-content-header h1 {
  font-family: var(--font-script);
  font-size: 64px;
  font-weight: 500;
  text-transform: none;
  margin-bottom: 16px;
  line-height: 1.1;
}

.tips-content-header h2 {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 200;
  text-transform: uppercase;
  margin-bottom: 32px;
  letter-spacing: 2px;
}

.tips-content-header p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.tips-content-header .tip-no-rules {
  color: #888;
  font-style: italic;
  font-size: 15px;
  margin-top: 24px;
}

/* Dress Code Columns */
.inner-container.dresscode-container {
  max-width: 1200px;
}

.dresscode-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: #777;
  text-align: center;
  margin-top: -24px;
  margin-bottom: 48px;
}

.dresscode-columns-container {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 0;
  position: relative;
}

.dresscode-column {
  width: 50%;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dresscode-column.ele-column {
  border-right: 1px solid #eaeaea;
}

.column-header-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 44px;
}

.column-header-wrapper h3 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 200;
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
  background-color: var(--color-bg);
  padding: 0 24px;
}

/* Horizontal line accents on headers */
.column-header-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #3f3f3f;
  z-index: 1;
}

.inspiration-grid-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

/* Responsive Rules */
@media screen and (max-width: 1200px) {
  .page-main-tips {
    /* Sidebar goes horizontal at top — reset left padding to match nav's sides */
    padding: 140px 48px 80px 48px;
  }
  .tips-sidebar-ghost {
    display: none;
  }
  .tips-sidebar {
    position: static;
    width: 100%;
    margin-bottom: 48px;
    height: auto;
  }
  .tips-sidebar-nav ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-right: 0;
    gap: 16px;
  }
  .tips-sidebar-nav li {
    text-align: center;
    justify-content: center;
  }
  .tips-content-section {
    padding-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .tips-content-header h1 {
    font-size: 48px;
  }
  .tips-content-header h2 {
    font-size: 48px;
  }
  .dresscode-columns-container {
    flex-direction: column-reverse;
    gap: 48px;
  }
  .dresscode-column {
    width: 100%;
    padding: 0;
  }
  .dresscode-column.ele-column {
    border-right: none;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 48px;
  }
  .column-header-wrapper h3 {
    font-size: 36px;
  }
  .column-header-wrapper::before {
    display: none;
  }
}

/* =============================================
   RECEPTION / CEREMONY PAGE CUSTOM LAYOUT
   ============================================= */

.ceremony-split-container {
  display: flex;
  width: 100%;
  gap: 48px;
  margin-bottom: 48px;
  align-items: stretch;
}

.ceremony-image-side {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ceremony-image-side img {
  width: 100%;
  max-width: 480px;
  height: auto;
  /* No border-radius or object-fit so PNG transparency is fully preserved */
  display: block;
}

.ceremony-info-side {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ceremony-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.ceremony-info-box h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  line-height: 1.3;
}

.ceremony-info-box .ceremony-date {
  border-top: 1px solid var(--color-gold);
  padding-top: 16px;
  margin-top: 8px;
  font-weight: 300;
}

.ceremony-info-box .ceremony-time {
  color: var(--color-gold);
  font-weight: 300;
}

.ceremony-info-box .ceremony-address-text {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-top: 8px;
}

.ceremony-text-content {
  width: 100%;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ceremony-text-content h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.ceremony-text-content p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.ceremony-text-content ul {
  padding-left: 24px;
  margin-bottom: 24px;
  color: #555;
}

.ceremony-text-content li {
  margin-bottom: 12px;
  line-height: 1.8;
  font-family: var(--font-sans);
  font-size: 15px;
}

.ceremony-text-content .button {
  margin-right: 16px;
  margin-bottom: 16px;
}

@media screen and (max-width: 992px) {
  .ceremony-split-container {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .ceremony-image-side {
    width: 100%;
  }
  .ceremony-info-side {
    width: 100%;
  }
}

/* =============================================
   DICAS / TIPS BANNER LAYOUT
   ============================================= */

.dicas-banner {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  margin-bottom: 48px;
  align-items: center;
  justify-content: center;
}

.dicas-banner img {
  width: 100%;
  max-width: 480px; /* Centered, but a bit smaller than the full width */
  height: auto;
  display: block;
}

.dicas-banner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 500px;
  width: 100%;
}

.dicas-banner-label {
  font-family: var(--font-serif);
  font-size: 30px;
  font-style: italic;
  color: #666;
  margin: 0;
  line-height: 1.1;
}

.dicas-banner-date {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--color-gold);
  border-top: 1px solid var(--color-gold);
  padding-top: 16px;
  margin: 8px 0 0;
  width: 100%;
}

.dicas-banner-time {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-gold);
  margin: 0;
}

.dicas-banner-address {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  margin-top: 8px;
}

@media screen and (max-width: 768px) {
  .dicas-banner img {
    max-width: 340px;
  }
  .dicas-banner-label {
    font-size: 24px;
  }
}

.mobile-only-br {
  display: none;
}
@media screen and (max-width: 768px) {
  .mobile-only-br {
    display: initial;
  }
}