/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #b9a897;
  --primary-dark: #a09283;
  --text-color: #1a1a1a;
  --background: #f7f4ef;
  --white: #ffffff;
  --accent-brown: #584d43;
  --heart-color: #a09e8e;
}

body {
  background: var(--background);
  font-family: "ArTarumianBarakU", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
}

/* ===== TYPOGRAPHY ===== */
@font-face {
  font-family: "Kotayk-Italic";
  src: url("./fonts/kotayk-italic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "CosiArm";
  src: url("./fonts/cosiarm.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ArTarumianBarakU";
  src: url("./fonts/artarumianbaraku-regular.ttf") format("truetype");
  font-display: swap;
}

h1 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}
h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
}
h3 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
}
p {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 600;
}

.title {
  font-family: "Kotayk-Italic", serif;
}
.subtitle {
  font-family: "CosiArm", serif;
  font-size: 20px;
  font-weight: 400;
}

/* ===== REUSABLE COMPONENTS ===== */
.section-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.section-divider img {
  width: 50%;
  max-width: 150px;
  height: auto;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.custom-button {
  max-width: 300px;
  width: 90%;
  background: var(--primary-color);
  color: var(--white);
  text-transform: uppercase;
  font-size: 18px;
  border-radius: 50px;
  padding: 15px 20px 10px;
  border: 1px solid var(--primary-color);
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 10px auto;
  display: block;
  font-weight: 300;
}

.custom-button:hover {
  background: var(--primary-dark);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
}

.hero-wrapper {
  position: relative;
  width: 1200px;
  height: 700px;
}

.image-left {
  position: absolute;
  left: 180px;
  top: 0;
  width: 520px;
  height: 680px;
  overflow: hidden;
}

.image-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-right {
  position: absolute;
  left: 600px;
  top: 170px;
  width: 300px;
  height: 380px;
  background: var(--white);
  padding: 8px;
}

.image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-label {
  position: absolute;
  right: 100px;
  top: -120px;
  /* writing-mode: vertical-rl; */
  /* transform: rotate(180deg); */
  font-size: 22px;
  letter-spacing: 3px;
}

.hero-names {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  padding-left: 100px;
  padding-top: 20px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-down {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
}

.scroll-down i {
  font-size: 28px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ===== INVITATION SECTION ===== */
.invitation {
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.invitation-wrapper {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invitation-title {
  font-size: 36px;
  margin-bottom: 40px;
}

.invitation-text {
  max-width: 500px;
  line-height: 1.8;
}

/* ===== CALENDAR ===== */
.calendar {
  margin-top: 40px;
  font-family: "CosiArm", serif;
  text-align: center;
}

.calendar-wrapper {
  display: grid;
  gap: 10px;
}

.month {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.8;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 5px;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 10px;
  font-size: 16px;
}

.days div {
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  line-height: 1.8;
}

.days .highlight {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 16px;
  color: #333;
}

.days .highlight div {
  position: relative;
  z-index: 2;
}

.days .highlight i {
  position: absolute;
  margin-top: 30px;
  margin-left: 35px;
  transform: translate(-50%, -50%);
  font-size: 35px;
  color: var(--heart-color);
  z-index: 1;
  pointer-events: none;
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* ===== HERO IMAGE ===== */
.hero-3 {
  display: flex;
  justify-content: center;
}

.hero-3 img {
  width: 450px;
}

/* ===== LOCATION SECTION ===== */
.location {
  padding: 50px 20px;
  text-align: center;
}

.location-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.location-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 100px;
}

.location-item:first-child {
  margin-top: 0;
}

.location-icon {
  width: 350px;
}

.location-item .details h3 {
  font-weight: 600;
  margin-bottom: 5px;
}

.location-item .details p {
  font-size: 18px;
}

.location-item .map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 15px 50px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  transition: background 0.3s;
}

.location-item .map-btn:hover {
  background: var(--primary-dark);
}

/* ===== SCHEDULE SECTION ===== */
.day-schedule {
  padding: 50px 20px;
}

.schedule-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.schedule-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.schedule-icons {
  display: flex;
  flex-direction: column;
  gap: 115px;
}

.schedule-icons .icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  padding: 10px;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex: 1;
}

.schedule-item h3 {
  font-weight: 600;
  margin-bottom: 5px;
}

.schedule-item p {
  font-size: 20px;
  margin-bottom: 5px;
}

.time {
  font-weight: 600;
  font-size: 26px;
  color: var(--accent-brown);
}

/* ===== DRESS CODE SECTION ===== */
.dress-code {
  padding: 50px 20px;
  text-align: center;
}

.dress-code-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.dress-code p {
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cocktail-colors {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.cocktail-colors .color {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ===== RSVP SECTION ===== */
.rsvp {
  max-width: 600px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.rsvp-text {
  font-size: 23px;
  text-align: center;
  margin-bottom: 30px;
}

.invitation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 22px;
  margin-bottom: 5px;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"] {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--primary-color);
  border-radius: 0;
  font-size: 1rem;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-bottom-color: var(--primary-dark);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-group label {
  font-size: 18px;
  color: #333;
  display: flex;
  align-items: center;
}

.radio-group input[type="radio"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #815533;
}
/* ===== HERO SECTION RESPONSIVE (BIGGER IMAGES, KEEP OVERLAP & ANIMATION) ===== */

/* Large tablets / small screens */
@media (max-width: 1024px) {
  .hero-wrapper {
    width: 90%;
    height: 650px; /* slightly taller */
  }

  .image-left {
    left: 5%; /* moved slightly more left */
    top: 0;
    width: 50%; /* bigger */
    height: 85%; /* bigger */
  }

  .image-right {
    left: 45%; /* moved slightly left to keep overlap */
    top: 10%;
    width: 50%; /* bigger */
    height: 75%; /* bigger */
    padding: 5px;
  }

  .hero-label {
    right: 36px;
    top: -60px;
    font-size: 18px;
  }

  .hero-names {
    font-size: 36px;
    padding-left: 20px;
    padding-top: 15px;
  }
}

/* Tablets / portrait */
@media (max-width: 768px) {
  .hero-wrapper {
    width: 100%;
    height: 550px; /* taller */
  }

  .image-left {
    left: 5%;
    top: 0;
    width: 50%; /* bigger */
    height: 80%; /* bigger */
  }

  .image-right {
    left: 40%; /* adjust for bigger size */
    top: 15%;
    width: 55%; /* bigger */
    height: 75%; /* bigger */
    padding: 5px;
  }

  .hero-label {
    /* right: 15px; */
    top: -50px;
    font-size: 16px;
  }

  .hero-names {
    font-size: 34px;
    padding-left: 15px;
    padding-top: 15px;
  }

  .hero-3 img {
    width: 350px;
  }

  .days .highlight i {
    margin-left: 30px;
    margin-top: 30px;
  }

  .section-divider {
    margin: 0;
  }
  .location-item {
    margin: 0;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .hero-wrapper {
    width: 100%;
    /* height: 450px; */ /* taller */
    /* margin-top: 50px; */
    position: relative;
  }

  .image-left {
    left: 5%;
    top: 0;
    width: 50%; /* bigger */
    height: 75%; /* bigger */
  }

  .image-right {
    left: 38%; /* adjust for bigger image */
    top: 10%;
    width: 55%; /* bigger */
    height: 70%; /* bigger */
    padding: 5px;
  }

  .hero-label {
    /* right: 10px; */
    /* top: -40px; */
    font-size: 22px;
  }

  .hero-names {
    font-size: 42px;
    left: 20px;
    /* display: flex; */
    /* justify-content: center; */
    /* padding-top: 10px; */
  }
}

/* ===== ANIMATIONS (keep for all screen sizes) ===== */
.image-left.animate-left {
  animation: slideLeft 1s ease forwards;
}

.image-right.animate-right {
  animation: slideRight 1s ease forwards;
}

@keyframes slideLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
