:root {
  --primary: #2E593D;
  --secondary: #B8D4C8;
  --light: #FAFDF9;
  --dark: #1A2F22;
  --accent: #7CA895;
  --white: #FFFFFF;
}

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

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

.hero {
  height: 100vh;
  background: linear-gradient(135deg, #F5F7F2 0%, #A8C3A6 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero::before {
  content: '✦';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.5;
}

.wedding-date-top {
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.couple-names {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 1rem;
  color: var(--dark);
  letter-spacing: 2px;
}

.ampersand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--primary);
}

.invitation-text {
  font-size: 1.3rem;
  font-weight: 300;
  margin-top: 2rem;
  color: var(--primary);
}

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

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: 3rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--primary);
  display: block;
  line-height: 1;
}

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

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

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

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

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

.story {
  background: var(--light);
  text-align: center;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.calendar-section {
  text-align: center;
}

.calendar-month {
  font-size: 1.5rem;
  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: 0.8rem;
  color: var(--accent);
  padding: 0.5rem;
}

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

.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 {
  background: var(--light);
  text-align: center;
}

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

.address {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.map-placeholder {
  width: 100%;
  max-width: 600px;
  height: 300px;
  background: var(--secondary);
  margin: 2rem auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

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

.timeline-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 8px;
  transition: transform 0.3s;
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-time {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  min-width: 80px;
}

.timeline-event {
  font-size: 1.1rem;
  color: var(--dark);
}

.dress-code {
  text-align: center;
  background: var(--light);
}

.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 white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-1 { background: #d4c4b0; }
.color-2 { background: #8b7355; }
.color-3 { background: #c9b8a4; }
.color-4 { background: #f5f0eb; }
.color-5 { background: #a89880; }

.dress-note {
  font-size: 1rem;
  font-style: italic;
  color: var(--primary);
  margin-top: 1rem;
}

.wishes {
  text-align: center;
}

.wish-item {
  padding: 1.5rem;
  margin: 1rem 0;
  background: var(--light);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.wish-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

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

.countdown-big .countdown-number {
  color: white;
  font-size: 4rem;
}

.countdown-big .countdown-label {
  color: rgba(255,255,255,0.9);
}

.contacts {
  background: var(--light);
  text-align: center;
}

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

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

.contact-phone {
  font-size: 1.2rem;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem 0;
  transition: color 0.3s;
}

.contact-phone:hover {
  color: var(--dark);
}

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

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

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

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(--primary);
}

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

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

.checkbox-group {
  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"], input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

button {
  padding: 1.2rem 3rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.success-message {
  display: none;
  text-align: center;
  padding: 3rem;
  background: var(--light);
  border-radius: 8px;
  margin-top: 2rem;
}

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

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

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

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

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

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

@media (max-width: 768px) {
  .countdown {
    gap: 1rem;
  }

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

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

  section {
    padding: 3rem 1.5rem;
  }

  .color-palette {
    gap: 0.8rem;
  }

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

html {
  scroll-behavior: smooth;
}

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

section {
  animation: fadeIn 0.8s ease-out;
}
