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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, serif;
  background: #f8f1e7;
  color: #2f241d;
  line-height: 1.6;
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(20, 15, 10, .45), rgba(20, 15, 10, .75)),
    url("../assets/photos/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  position: relative;
}

.hero-content {
  color: white;
  max-width: 700px;
}

.label,
.section-label {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #d4af37;
  font-size: 13px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 58px;
  margin-bottom: 10px;
}

.date {
  font-size: 22px;
  margin-bottom: 10px;
}

.families {
  margin-bottom: 30px;
}

.btn,
button {
  display: inline-block;
  background: #d4af37;
  color: #2f241d;
  padding: 14px 28px;
  border-radius: 40px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

section {
  padding: 70px 22px;
  text-align: center;
}

section h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.intro p,
.dress-code p {
  max-width: 760px;
  margin: auto;
}

.programme {
  background: #fffaf2;
}

.card {
  max-width: 650px;
  margin: 25px auto 0;
  background: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.card h3 {
  color: #8b5a2b;
  margin-bottom: 15px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 700px;
  margin: 30px auto 0;
}

.countdown div {
  background: white;
  padding: 20px 10px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

.countdown span {
  display: block;
  font-size: 34px;
  font-weight: bold;
  color: #8b5a2b;
}

.countdown small {
  color: #6f5a4a;
}

.dress-code {
  background: #efe1cf;
}

.rsvp {
  background: #fffaf2;
}

form {
  max-width: 520px;
  margin: 25px auto 0;
  display: grid;
  gap: 14px;
}

input,
select {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid #d8c5ad;
  font-size: 16px;
  background: white;
}

footer {
  background: #2f241d;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

footer h2 {
  color: #d4af37;
  margin-bottom: 10px;
}

footer small {
  display: block;
  margin-top: 20px;
  opacity: .7;
}

.hidden{

opacity:0;

transform:translateY(70px);

transition:

opacity .9s ease,

transform .9s ease;

}

.show{

opacity:1;

transform:translateY(0);

}

.music-btn{
  position:fixed;
  right:18px;
  bottom:18px;
  width:48px;
  height:48px;
  border-radius:50%;
  z-index:9998;
  font-size:22px;
}

.invitation-card {
  max-width: 920px;
  margin: 0 auto;
}

.guest-line {
  font-size: 24px;
  color: var(--brown);
  margin: 18px auto;
}

#guestName {
  color: var(--gold);
  font-weight: bold;
}

.invitation-message {
  margin-top: 18px;
  font-style: italic;
}

.invitation-card {
  max-width: 920px;
  margin: 0 auto;
}

.guest-line {
  font-size: 24px;
  color: var(--brown);
  margin: 18px auto;
}

#guestName {
  color: var(--gold);
  font-weight: bold;
}

.invitation-message {
  margin-top: 18px;
  font-style: italic;
}
