/* Compiled from serious.scss */

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

body {
  font-family: 'Josefin Sans', sans-serif;
  background: #F5EDE0;
  color: #2E2A25;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 2vh;
}

.hero-names {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: clamp(3rem, 9vw, 7.5rem);
  letter-spacing: 0.06em;
  color: #2E2A25;
  animation: softUp 1.2s ease-out 0.3s both;
}

.hero-names .amp {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: #C8A84E;
  margin: 0 0.15em;
}

.hero-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  color: #5C5347;
  margin-bottom: 1.2rem;
  animation: softUp 1.2s ease-out 0.7s both;
}

.hero-date {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  letter-spacing: 0.5em;
  color: #8A7D6F;
  animation: softUp 1.2s ease-out 0.9s both;
  white-space: nowrap;
}

.hero-date span {
  margin: 0 0.15em;
  color: #C8A84E;
}

.hero-message {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: #5C5347;
  max-width: 680px;
  line-height: 1.8;
  margin: 2.5rem auto 0;
  animation: softUp 1.2s ease-out 1.1s both;
}

.hero-photo {
  width: min(320px, 45vw);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  border: 2px solid #DDD0BB;
  box-shadow: 0 8px 30px rgba(139, 115, 85, 0.12);
  margin-top: 2.5rem;
  margin-bottom: 4rem;
  animation: softUp 1.2s ease-out 1.3s both;
}

.gold-line {
  width: 100px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #C8A84E, transparent);
  margin: 1.8rem auto;
  animation: softUp 1.2s ease-out 0.5s both;
}

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: softUp 1.2s ease-out 1.4s both;
}

.scroll-hint span {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #8A7D6F;
  font-weight: 400;
}

.scroll-chevron {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: bounce 1.8s infinite ease-in-out;
}

.scroll-chevron svg {
  width: 36px;
  height: 36px;
  stroke: #C8A84E;
  opacity: 0.9;
  stroke-width: 1.8;
  fill: none;
}

.scroll-chevron svg:last-child {
  margin-top: -18px;
  opacity: 0.5;
}

/* SECTION DIVIDER & DETAILS */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.2rem 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 70px;
  height: 1px;
  background: #DDD0BB;
}

.details {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.section-label {
  font-family: 'Dancing Script', cursive;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: #C8A84E;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.section-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: 0.08em;
  color: #2E2A25;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  max-width: 1000px;
  margin: 0 auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.detail-grid .sep {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, #DDD0BB, transparent);
}

.detail-item h3 {
  font-family: 'Dancing Script', cursive;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: #C8A84E;
  margin-bottom: 0.8rem;
}

.detail-item p {
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.8;
  color: #5C5347;
}

.detail-item em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #8A7D6F;
}

.detail-item a {
  color: #5C5347;
  text-decoration: none;
  border-bottom: 1px solid #DDD0BB;
  transition: border-color 0.3s;
}

.detail-item a:hover {
  border-bottom-color: #C8A84E;
}

/* CARDS SECTION */
.cards-section {
  padding: 1.5rem 2rem 2.5rem;
  max-width: 1450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  position: relative;
  z-index: 2;
}

.card {
  background: #FEFCF8;
  border: 1px solid #EDE6D8;
  border-radius: 4px;
  padding: 3rem 2.2rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 15;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C8A84E, transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 115, 85, 0.07);
}

.card:hover::after {
  opacity: 0.6;
}

.card h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: 0.06em;
  color: #2E2A25;
  margin-bottom: 0.8rem;
}

.card p {
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.8;
  color: #5C5347;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-icon-wrap {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
}

.card-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, rgba(200, 168, 78, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.card-icon-wrap svg {
  width: 36px;
  height: 36px;
  color: #C8A84E;
  stroke-width: 1.2;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8A84E;
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  border: 1px solid #DDD0BB;
  border-radius: 2px;
  transition: all 0.3s;
}

.card-link:hover {
  background: #C8A84E;
  border-color: #C8A84E;
  color: white;
}

.card-badge {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: #8A7D6F;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 4rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #DDD0BB;
  margin: 0 auto 1.2rem;
}

.footer p {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: #8A7D6F;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.egg {
  display: inline-block;
  text-decoration: none;
  font-size: 1.4rem;
  opacity: 0.22;
  transition: opacity 0.3s, transform 0.3s;
  cursor: default;
  vertical-align: middle;
  margin: 0 0.1em;
}

.egg:hover {
  opacity: 0.6;
  transform: scale(1.4);
}

/* PARALLAX FLOWERS */
.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150vh;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(-1px) scale(1.5);
  transform-origin: top left;
}

.pf {
  position: absolute;
  opacity: 0;
  animation: pfIn 2s ease-out forwards;
}

/* ANIMATIONS */
@keyframes softUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

@keyframes pfIn {
  to {
    opacity: var(--pf-o, 0.6);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-grid .sep {
    width: 40px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, #DDD0BB, transparent);
  }

  .pf {
    transform: scale(0.55);
  }

  .hero-names {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
  }

  .hero-script {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  }

  .hero-date {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }

  .hero-message {
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  }
}
