:root {
  --bg-soft: #f7f2f1;
  --white-soft: rgba(255, 255, 255, 0.82);
  --sage: #98a07b;
  --sage-dark: #7f8666;
  --rose: #d89aa8;
  --rose-soft: #ead1d7;
  --text-main: #5f5a57;
  --text-light: #8a817d;
  --border: #ddd4cf;
  --shadow: 0 12px 35px rgba(120, 110, 100, 0.12);
}
@font-face {
    font-family: "Melodrama-Bold";
    src: url('./wed-fonts/Melodrama-Bold.woff') format('woff');
    
}
@font-face {
    font-family: "Melodrama-Semibold";
    src: url('./wed-fonts/Melodrama-Semibold.woff') format('woff');    
}
@font-face {
    font-family: "Melodrama-Medium";
    src: url('./wed-fonts/Melodrama-Medium.woff') format('woff');    

  }@font-face {
    font-family: "Melodrama-Regular";
    src: url('./wed-fonts/Melodrama-Regular.woff') format('woff');    
}
@font-face {
    font-family: "Aston Script";
    src: url('./wed-fonts/Aston-Script.woff') format('woff');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-soft);
  color: var(--text-main);
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

/* HEADER */
.wedding-header {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(247, 242, 241, 0.42), rgba(247, 242, 241, 0.55)),
    url("wed-fonts\\The-Wedding-House-Weddings-19.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(247, 242, 241, 0.2) 45%,
    rgba(247, 242, 241, 0.38) 100%
  );
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(152, 160, 123, 0.18);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 80px 30px;
}
.header-content img{
  max-height: 100px;
}
.eyebrow {
  font-family: "Melodrama-Semibold", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 28px;
  color: #af97b7;
  margin: 30px auto 30px;
}

.wedding-header h1 {
  font-family: "Aston Script", cursive;
 /* font-size: clamp(3.4rem, 8vw, 6.6rem);*/
 font-size: 58px;
 font-weight: 500;
 color: var(--sage);
}

.subtitle {
  font-family: "Melodrama-Semibold", sans-serif;
  font-size: 24px;
    letter-spacing: 1.5px;
  font-weight: 200;
  color: #af97b7;
  margin: 30px auto 30px;
}

.description {
  font: normal normal 16px/24px "Montserrat", sans-serif;
  max-width: 560px;
  margin: 30px auto 30px;
  color: #525252;
}

.header-btn {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid var(--sage);
  border-radius: 999px;
  text-decoration: none;
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.header-btn:hover {
  background: var(--sage);
  color: white;
  transform: translateY(-2px);
}

/* CONTACT */
.contact-section {
  padding: 100px 20px;
  background:
    radial-gradient(circle at top left, rgba(234, 209, 215, 0.22), transparent 35%),
    radial-gradient(circle at bottom right, rgba(152, 160, 123, 0.13), transparent 35%),
    var(--bg-soft);
}

.contact-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 60px 32px;
}

.section-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.section-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose), transparent);
}

.section-label {
/*  font-family: "Cormorant Garamond", serif;*/
font-family: "Aston-Script";  
font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light);
}

.contact-wrapper h2 {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  color: var(--sage);
  margin-bottom: 12px;
  font-weight: 500;
}

.contact-text {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-main);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.98rem;
  font-family: "Montserrat", sans-serif;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(216, 154, 168, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  align-self: center;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  background: var(--rose);
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: var(--sage);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
      width: 85%;
    padding: 45px 22px;
  }
  .eyebrow {
    font-size: 16px;
    line-height: 24px;
  }
  .wedding-header h1 {
    font-size: 40px;
  }
  .subtitle {
    font-size: 1.65rem;
  }
.description {
  font-size: 14px;
  line-height: 20px;
}
  .contact-wrapper {
    padding: 42px 20px;
    border-radius: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-line {
    width: 36px;
  }
}




.wedding-info-section {
  padding: 100px 20px;
  background: rgba(255, 255, 255, 0.68);
}

.info-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  padding: 58px 32px;
  display: flex;
    flex-direction: column;
}

.wedding-info-section h2 {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 12px;
}

.info-text {
  max-width: 650px;
  margin: 0 auto 34px;
  text-align: center;
  color: var(--text-main);
}

/* Familie - fără carduri mari */
.family-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto 42px;
  padding: 22px 0;
  border-top: 1px solid rgba(152, 160, 123, 0.18);
  border-bottom: 1px solid rgba(152, 160, 123, 0.18);
}

.family-item {
  text-align: center;
  padding: 6px 12px;
  position: relative;
}

.family-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 42px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(216, 154, 168, 0.35),
    transparent
  );
}

.family-role {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light);
}

.family-item p {
  font-family: "Melodrama-Semibold", serif;
  font-size: 23px;
  letter-spacing: 1px;
  line-height: 28px;
  color: var(--sage);
  margin: 0;
}

.info-wrapper img{
  margin: 0 auto 30px;
  max-height: 50px;
}
.info-wrapper h3{
  font-family: "Melodrama-Semibold", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 1px;
  line-height: 28px;
    color: #cc89a4;
    text-align: center;
    margin: 0 auto 50px;
}

/* Program */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.schedule-card {
  text-align: center;
  padding: 26px 20px 24px;
  border: 1px solid rgba(221, 212, 207, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.schedule-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(120, 110, 100, 0.08);
  border-color: rgba(152, 160, 123, 0.28);
}

.schedule-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(152, 160, 123, 0.10),
    rgba(216, 154, 168, 0.10)
  );
  border: 1px solid rgba(152, 160, 123, 0.12);
}

.schedule-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--sage-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-time {
  display: inline-block;
  font-family: "Melodrama-Semibold", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--sage);
  line-height: 1;
}

.schedule-card h3 {
  font-family: "Melodrama-Regular", sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin: 10px auto ;
}

.schedule-place {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  letter-spacing: 0.2px;
  font-style: italic;
  color: var(--text-main);
}

.schedule-address {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .family-minimal,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .family-item:not(:last-child)::after {
    display: none;
  }

  .family-minimal {
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .info-wrapper {
    padding: 42px 20px;
    border-radius: 22px;
  }

  .family-item p {
    font-size: 1.55rem;
  }

  .schedule-card h3 {
    font-size: 1.7rem;
  }
}



.schedule-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--sage-dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.material-icon .material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
  font-size: 30px;
  line-height: 1;
  color: var(--sage-dark);
}



/* RSVP FORM */
.rsvp-form {
  gap: 22px;
}

.form-row-main {
  grid-template-columns: 1.35fr 0.85fr;
}

.guest-card {
  padding: 24px;
  border: 1px solid rgba(221, 212, 207, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.guest-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.guest-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(152, 160, 123, 0.1);
  border: 1px solid rgba(152, 160, 123, 0.15);
  color: var(--sage-dark);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.companions-block {
  padding-top: 4px;
}

.companions-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.companions-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--sage);
  line-height: 1.1;
  margin-bottom: 4px;
}

.companions-note {
  color: var(--text-light);
  font-size: 0.95rem;
}

.companions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guest-row {
  grid-template-columns: 1.35fr 0.85fr;
}

.form-group select {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.98rem;
  font-family: "Montserrat", sans-serif;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
}

.form-group select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(216, 154, 168, 0.12);
}

.add-guest-btn {
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--sage-dark);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: 0.3s ease;
  white-space: nowrap;
}

.add-guest-btn:hover {
  background: var(--sage);
  color: #fff;
  transform: translateY(-2px);
}

.remove-guest-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 154, 168, 0.35);
  border-radius: 50%;
  background: rgba(216, 154, 168, 0.08);
  color: var(--rose);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
}

.remove-guest-btn:hover {
  background: var(--rose);
  color: #fff;
}

@media (max-width: 768px) {
  .form-row-main,
  .guest-row {
    grid-template-columns: 1fr;
  }

  .companions-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .add-guest-btn {
    width: 100%;
  }

  .guest-card {
    padding: 20px;
  }
}




/* RSVP MINIMAL */
.rsvp-minimal {
  max-width: 760px;
  padding: 64px 42px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(221, 212, 207, 0.65);
  border-radius: 0;
  box-shadow: none;
}

.rsvp-lead {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4.2vw, 2.55rem);
  line-height: 1.25;
  color: #a89a98;
}

.rsvp-simple {
  gap: 30px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.line-field {
  position: relative;
}

.line-field input,
.line-field select,
.line-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d8cfcb;
  border-radius: 0;
  background: transparent;
  padding: 12px 38px 16px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #8f8581;
  outline: none;
  box-shadow: none;
}

.line-field input:focus,
.line-field select:focus,
.line-field textarea:focus {
  border-bottom-color: #b9aca8;
  box-shadow: none;
}

.line-field input::placeholder,
.line-field textarea::placeholder {
  color: #9e9290;
  opacity: 1;
}

.line-field textarea {
  resize: vertical;
  min-height: 150px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #b9aca8;
  border-bottom: 2px solid #b9aca8;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.line-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.text-area-field {
  margin-top: 8px;
}

.rsvp-note {
  max-width: 620px;
  margin: 10px auto 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #9d8f8d;
}

.form-status {
  display: none;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.96rem;
  color: #9d8f8d;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  color: #7f8666;
}

.form-status.error {
  color: #b07f89;
}

.rsvp-actions {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  margin-top: 10px;
}

.rsvp-action-btn {
  width: min(100%, 520px);
  min-height: 74px;
  padding: 20px 24px;
  border: 1px solid #d9cfcb;
  background: transparent;
  color: #a49693;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

.rsvp-action-btn:hover {
  background: rgba(216, 207, 203, 0.12);
}

.rsvp-action-btn.is-primary {
  color: #9b8b89;
}

.rsvp-action-btn.is-active {
  border-color: #b9aca8;
  background: rgba(216, 207, 203, 0.12);
}

@media (max-width: 768px) {
  .rsvp-minimal {
    padding: 44px 22px;
  }

  .rsvp-lead {
    margin-bottom: 40px;
    font-size: 1.95rem;
  }

  .line-field input,
  .line-field select,
  .line-field textarea {
    font-size: 0.98rem;
    padding-right: 30px;
  }

  .rsvp-note {
    font-size: 0.95rem;
  }

  .rsvp-action-btn {
    min-height: 68px;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 420px) {
  .rsvp-minimal {
    padding: 38px 18px;
  }

  .rsvp-lead {
    font-size: 1.75rem;
  }

  .rsvp-action-btn {
    min-height: 64px;
    padding: 18px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }
}




.rsvp-helper-note {
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9d8f8d;
}

@media (max-width: 768px) {
  .rsvp-helper-note {
    font-size: 0.9rem;
    margin-top: 8px;
  }
}


.schedule-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}



.rsvp-success {
  max-width: 560px;
  margin: 20px auto 0;
  text-align: center;
  padding: 28px 24px;
  border: 1px solid #d9cfcb;
  background: rgba(216, 207, 203, 0.08);
  color: #9b8b89;
}

.rsvp-success h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--sage);
}

.rsvp-success p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #9d8f8d;
}

#rsvp-form.is-hidden {
  display: none;
}