@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&family=Montserrat:wght@400;500;600&display=swap');

:root {
  --gold: #b58a2c;
  --gold-light: #e0c277;
  --black: #111111;
  --cream: #fffaf1;
  --white: #ffffff;
  --text: #29231c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 50px 20px 70px;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.82)
    ),
    url('/levi-leaticia/assets/photos/hero.png');
  background-size: cover;
  background-position: center top;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  color: var(--white);
}

.hero-small {
    margin-bottom: 18px;
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
}

.hero h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(64px, 14vw, 130px);
  font-weight: 400;
  line-height: 0.85;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.42);
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
}

.hero-date {
  margin: 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  letter-spacing: 3px;
}

.hero-button,
.map-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.music-button {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--black);
  color: var(--gold-light);
  font-size: 25px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.section {
  padding: 85px 20px;
}

.section-inner {
  width: min(760px, 100%);
  margin: auto;
  text-align: center;
}

.section-label {
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 600;
}

.section-title {
  margin-bottom: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 8vw, 62px);
  line-height: 1.05;
}

.section-title strong {
  color: var(--gold);
}

.invitation-section {
  background:
    radial-gradient(circle at top left, rgba(181, 138, 44, 0.12), transparent 35%),
    var(--cream);
}

.invitation-text {
  max-width: 600px;
  margin: 0 auto 30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.couple-names {
  display: grid;
  gap: 4px;
  color: var(--gold);
  font-family: 'Great Vibes', cursive;
  font-size: clamp(46px, 10vw, 80px);
  line-height: 1;
}

.couple-names b {
  color: var(--black);
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
}

.guest-box {
  margin: 0 auto 45px;
  padding: 26px 20px;
  border: 1px solid var(--gold-light);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.06);
}

.guest-box h2 {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
}

.guest-box.hidden {
  display: none;
}

.ceremony-section {
  background: var(--white);
}

.reception-section {
  background: #eee5d6;
}

.event-card {
  max-width: 630px;
  margin: auto;
  padding: 38px 28px;
  border: 1px solid rgba(181, 138, 44, 0.4);
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(25, 20, 10, 0.08);
}

.event-card h3 {
  margin-bottom: 20px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
}

.event-card p {
  margin: 9px 0;
}

.reference {
  font-size: 14px;
  opacity: 0.75;
}

.map-button {
  margin-top: 20px;
}

.dark-card {
  background: var(--black);
  color: var(--white);
}

.light-button {
  background: var(--white);
  color: var(--black);
}

.countdown-section {
  background: var(--black);
  color: var(--white);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 35px;
}

.countdown div {
  padding: 24px 10px;
  border: 1px solid rgba(224, 194, 119, 0.45);
}

.countdown strong {
  display: block;
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
}

.countdown span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rsvp-section {
  background: var(--cream);
}

form {
  display: grid;
  gap: 18px;
  max-width: 580px;
  margin: 35px auto 0;
  text-align: left;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8cbaa;
  border-radius: 8px;
  padding: 15px;
  background: var(--white);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

.submit-button {
  width: 100%;
  margin-top: 8px;
}

.form-message {
  min-height: 24px;
  text-align: center;
  font-weight: 600;
}

.closing-section {
  background:
    radial-gradient(
      circle at center,
      rgba(181, 138, 44, 0.12),
      transparent 48%
    ),
    var(--black);
  color: var(--white);
}

.closing-text {
  margin-bottom: 25px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
}

.closing-section h2 {
  color: var(--gold-light);
  font-family: 'Great Vibes', cursive;
  font-size: clamp(60px, 12vw, 100px);
  font-weight: 400;
}

/* PHOTOS ET PETITS MOTS */

.photo-moment {
  position: relative;
  width: 100%;
  height: min(82vh, 780px);
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
}

.photo-moment img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}

.photo-moment:hover img {
  transform: scale(1.035);
}

.photo-moment-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.32) 48%,
      rgba(0, 0, 0, 0.05) 100%
    );
}

.photo-moment-message {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100% - 760px) / 2));
  bottom: 62px;
  width: min(620px, calc(100% - 48px));
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  color: var(--white);
}

.photo-moment-right .photo-moment-message {
  right: max(24px, calc((100% - 760px) / 2));
  left: auto;
  padding-right: 22px;
  padding-left: 0;
  border-right: 2px solid var(--gold);
  border-left: none;
  text-align: right;
}

.photo-moment-message span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.photo-moment-message p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(25px, 4vw, 39px);
  font-style: italic;
  line-height: 1.25;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* === THEME ELEGANCE CONTEMPORAINE === */

:root {
  --black: #101010;
  --black-soft: #1a1a1a;
  --charcoal: #252525;
  --gray: #696969;
  --gray-light: #d7d7d7;
  --silver: #ececec;
  --white: #fafafa;
  --pink: #d8b5c1;
  --pink-soft: #ecd9df;
  --text: #202020;
  --cream: #f6f6f6;
  --gold: #d8b5c1;
  --gold-light: #ecd9df;
}

/* BASE */

html,
body {
  background: var(--black);
}

body {
  color: var(--text);
}

/* HERO */

.hero {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.18) 42%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    url('/levi-leaticia/assets/photos/hero.png');
  background-size: cover;
  background-position: center top;
}

.hero-small {
  color: var(--pink-soft);
}

.hero h1 span {
  color: var(--pink-soft);
}

.hero-date {
  color: var(--white);
}

/* BOUTONS */

.hero-button,
.map-button,
.submit-button {
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.hero-button:hover,
.map-button:hover,
.submit-button:hover {
  border-color: var(--pink);
  background: var(--pink);
  color: var(--black);
  transform: translateY(-2px);
}

.music-button {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(16, 16, 16, 0.94);
  color: var(--white);
}

/* INVITATION */

.invitation-section {
  background:
    radial-gradient(
      circle at top center,
      rgba(216, 181, 193, 0.15),
      transparent 37%
    ),
    var(--white);
}

.section-label {
  color: #9c7180;
}

.section-title {
  color: var(--black);
}

.section-title strong {
  color: #9c7180;
}

.invitation-text {
  color: #505050;
}

.couple-names {
  color: #9c7180;
}

.couple-names b {
  color: var(--black);
}

.guest-box {
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
}

.guest-box h2 {
  color: #8f6574;
}

/* PROGRAMME */

.ceremony-section {
  background: var(--silver);
}

.reception-section {
  background: var(--white);
}

.event-card {
  border: 1px solid #cfcfcf;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.event-card h3 {
  color: var(--black);
}

.event-card strong {
  color: #8f6574;
}

.dark-card {
  border-color: #383838;
  background: var(--black-soft);
  color: var(--white);
}

.dark-card h3 {
  color: var(--pink-soft);
}

.dark-card strong {
  color: var(--pink-soft);
}

.dark-card .reference {
  color: var(--gray-light);
}

.light-button {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

/* PHOTOS ET PETITS MOTS */

.photo-moment {
  background: var(--black);
}

.photo-moment-overlay {
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.28) 48%,
      rgba(0, 0, 0, 0.03) 100%
    );
}

.photo-moment-message,
.photo-moment-right .photo-moment-message {
  border-color: var(--pink);
}

.photo-moment-message span {
  color: var(--pink-soft);
}

.photo-moment-message p {
  color: var(--white);
}

/* COMPTE À REBOURS */

.countdown-section {
  background:
    radial-gradient(
      circle at center,
      rgba(216, 181, 193, 0.1),
      transparent 47%
    ),
    var(--black);
  color: var(--white);
}

.countdown-section .section-title {
  color: var(--white);
}

.countdown div {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.025);
}

.countdown strong {
  color: var(--pink-soft);
}

.countdown span {
  color: var(--gray-light);
}

/* RSVP */

.rsvp-section {
  background: var(--silver);
}

.rsvp-section .section-title {
  color: var(--black);
}

.rsvp-section label {
  color: var(--black);
}

input,
select,
textarea {
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: var(--white);
  color: var(--black);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9c7180;
  box-shadow: 0 0 0 2px rgba(216, 181, 193, 0.18);
}

.form-message {
  color: #8f6574;
}

/* PIED DE PAGE SANS PHOTO */

.closing-section {
  background:
    radial-gradient(
      circle at center,
      rgba(216, 181, 193, 0.1),
      transparent 48%
    ),
    var(--black);
  color: var(--white);
}

.closing-section h2 {
  color: var(--pink-soft);
}

.closing-text {
  color: var(--white);
}

/* === FIN THEME ELEGANCE CONTEMPORAINE === */

/* Position ciblée du texte supérieur du Hero */

.hero-small {
  position: absolute;
  top: 42px;
  left: 50%;
  width: calc(100vw - 40px);
  margin: 0;
  transform: translateX(-50%);
  color: #111111 !important;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  text-shadow: none;
}


/* Correction finale du texte supérieur du Hero */

.hero-content {
  position: static;
}

.hero-small {
  position: absolute;
  z-index: 5;
  top: 35px;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  transform: none;
  color: #111111 !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}


/* Hero supérieur */

.hero-top{
    position:absolute;
    top:35px;
    left:0;
    width:100%;
    text-align:center;
    z-index:10;
}

.hero-small{
    margin:0;
    color:#111;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:13px;
}

.hero-date-top{
    margin-top:10px;
    color:#111;
    font-family:'Cormorant Garamond',serif;
    font-size:24px;
    letter-spacing:2px;
}

.hero-date{
    display:none;
}


/* Correction définitive du haut du Hero */

.hero {
  position: relative;
}

.hero-top {
  position: absolute;
  z-index: 10;
  top: 35px;
  left: 0;
  width: 100%;
  padding: 0 20px;
  text-align: center;
}

.hero-top .hero-small {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto;
  margin: 0;
  padding: 0;
  transform: none;
  color: #111111 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: none;
}

.hero-top .hero-date-top {
  position: static;
  margin: 7px 0 0;
  color: #111111;
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: none;
}

.hero-content > .hero-date {
  display: none;
}

