:root {
  --primary: #2e3f25;
  --secondary: #aeb99a;
  --accent: #d9a0a7;
  --bg: #e8dfdf;
  --light: #fffaf5;
  --dark: #1f2d1b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

/* HERO */

.hero {
  min-height: 100svh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 34px 20px 28px;
}

.hero-content {
  width: 100%;
  max-width: 430px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-date {
  font-family: 'Caveat';
  font-size: 25px;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
}

.couple-names {
  font-family: 'Caveat';
  font-size: 100px;
  line-height: 0.9;
  transform: translateX(-18px);
  font-weight: 600;
  color: var(--primary);
  margin: 1px;
}

.ampersand {
  font-size: 42px;
  font-weight: 300;
  color: var(--primary);
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  margin: -120px auto 0;
  overflow: visible;
}

.hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  filter:
    drop-shadow(3px 0 0 #6f8067)
    drop-shadow(-3px 0 0 #6f8067)
    drop-shadow(0 3px 0 #6f8067)
    drop-shadow(0 -3px 0 #6f8067)
    drop-shadow(0 10px 16px rgba(31, 45, 27, 0.14));
}

.hero-subtitle {
  font-size: 18px;
  color: var(--primary);
  margin: 10px 0 18px;
}

.hero-button2 {
    padding: 1.1rem 3rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 1rem;
    letter-spacing: 0.04em;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  height: 48px;
  padding: 1px;
  border-radius: 250px;
  background: #6f8067;
  color: var(--light);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(31, 45, 27, 0.18);
  transition: all 0.25s ease;
  font-family: 'Cormorant Garamond';
}

.hero-button::after {
  content: "↓";
  margin-left: 10px;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 45, 27, 0.22);
}

.hero-heart-small {
  position: absolute;
  top: 48px;
  right: 32px;
  font-size: 34px;
  color: var(--accent);
  transform: rotate(12deg);
  opacity: 0.8;
}

.hero-line {
  position: absolute;
  top: 92px;
  left: 32px;
  width: 74px;
  height: 1px;
  background: var(--primary);
  opacity: 0.35;
}

/* SECTIONS */

section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.6rem;
  text-align: center;
  margin: 0 0 2rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--secondary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 3rem;
  font-weight: 300;
}

.story,
.location,
.dress-code,
.contacts,
.wish-item,
.success-message {
  background: var(--light);
}

.story {
  font-size: 1.5rem;
  text-align: center;
  max-width: 100%;
}

.story-text {
    font-family: 'Cormorant Garamond', serif;
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* CALENDAR */

.calendar-section {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}

.calendar-month {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  max-width: 400px;
  margin: 2rem auto;
}

.calendar-day-header {
  font-size: 1.2rem;
  color: #6f8067;
  padding: 0.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
}

.calendar-day.wedding-day {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.wedding-date-highlight {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--dark);
}

/* LOCATION */

.location {
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  max-width: 100%;
}

.restaurant-name {
  font-size: 2rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 1rem;
  color: var(--dark);
}

.restaurant-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    background: var(--secondary);
}

.restaurant-name2 {
  font-size: 2rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 1rem;
  color: var(--dark);
}

.address {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 2rem;
  color: var(--primary);
}

.map-placeholder {
  width: 100%;
  max-width: 600px;
  height: 300px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--secondary);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    background: var(--secondary);
}
/* TIMELINE */

.timeline {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.timeline-item {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem;
  background: var(--light);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(31, 45, 27, 0.05);
}

.timeline-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  min-width: 80px;
}

.timeline-event {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.10rem;
}

/* DRESS CODE */

.dress-code {
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  max-width: 100%;
}

.color-palette {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.color-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(31, 45, 27, 0.12);
}

.color-1 { background: #d4c4b0; }
.color-2 { background: #6f8067; }
.color-3 { background: #d9a0a7; }
.color-4 { background: #fffaf5; }
.color-5 { background: #a89880; }

.dress-note {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 1rem auto 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--primary);
}

/* WISHES */

.wishes {
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}

.wish-item {
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 18px;
  font-size: 1.2rem;
  line-height: 1.7;
  box-shadow: 0 8px 24px rgba(31, 45, 27, 0.05);
}

.wish-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

/* COUNTDOWN */

.countdown-big {
  background: linear-gradient(135deg, var(--primary), #6f8067);
  color: white;
  text-align: center;
  max-width: 100%;
  padding: 4rem 2rem;
}

.countdown-big .section-title {
  color: white;
}

.countdown {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-item {
  text-align: center;
  min-width: 70px;
}

.countdown-number {
  font-size: 3.2rem;
  font-family: 'Cormorant Garamond', serif;
  color: white;
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
}

/* CONTACTS */

.contacts {
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  max-width: 100%;
}

.contact-person {
  margin: 2rem 0;
}

.contact-name {
  font-size: 1.7rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 0.5rem;
}

.contact-phone {
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
}

/* RSVP */

.rsvp-section {
  font-family: 'Cormorant Garamond', serif;
  padding: 5rem 2rem;
  max-width: 700px;
}

.rsvp-deadline {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.deadline-date {
  font-weight: 600;
  font-size: 1.25rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
}

.required {
  color: var(--accent);
}

input,
select,
textarea {
  padding: 1rem;
  border: 1px solid var(--secondary);
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: white;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

button {
  padding: 1.1rem 3rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

button:hover {
  background: #1f2d1b;
  transform: translateY(-2px);
}

.success-message {
  font-size: 1.5rem;
  display: none;
  text-align: center;
  padding: 3rem;
  border-radius: 18px;
  margin-top: 2rem;
}

.success-message.show {
  display: block;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* FOOTER */

footer {
  font-family: 'Cormorant Garamond', serif;
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.footer-names {
  font-family: 'Caveat';
 // font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.footer-date {
  font-size: 1.1rem;
  letter-spacing: 3px;
  opacity: 0.8;
}

.decorative-line {
  width: 100px;
  height: 1px;
  background: var(--secondary);
  margin: 2rem auto;
}

/* MOBILE */

@media (max-width: 768px) {
  .hero {
    padding: 28px 16px 24px;
  }

  .hero-content {
    max-width: 390px;
  }

  .couple-names {
    font-size: 100px;
  }

  .ampersand {
    font-size: 36px;
  }

  .hero-date {
    font-size: 25px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-button {
    min-width: 250px;
    height: 46px;
  }

  .hero-heart-small {
    top: 34px;
    right: 20px;
    font-size: 28px;
  }

  .hero-line {
    top: 74px;
    left: 20px;
    width: 56px;
  }

  section {
    padding: 3.5rem 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .timeline-item {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }

  .countdown {
    gap: 1rem;
  }

  .countdown-number {
    font-size: 2.4rem;
  }

  .color-circle {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 390px) {
  .couple-names {
    font-size: 100px;
  }4

  .hero-photo {
    width: 108%;
    margin-left: -4%;
  }
}

.hero-photo-wrap {
  position: relative;
}

.hero-button-on-photo {
  min-width: 270px;
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  z-index: 5;
}

.hero-button-on-photo:hover {
  transform: translateX(-50%) translateY(-2px);
}


.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin: 22px auto 28px;
}

.divider span {
  display: block;
  width: 34%;
  height: 1px;
  background-color: #4A5A45;
}

.divider-icon {
  color: #4A5A45;
  font-size: 22px;
  line-height: 1;
}

.ampersand {
  font-family: 'Caveat';
  position: absolute;
  right: 12px;
  top: -15px;

  font-size: 150px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--primary);
}
