@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&family=Great+Vibes&family=Cormorant+Garamond:wght@300;400;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 35%),
    linear-gradient(135deg, #080604, #16100a 45%, #050505);
  color: #fff8df;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
  z-index: 0;
}

.cover {
  position: fixed;
  inset: 0;
  z-index: 999;
  background:
    radial-gradient(
      circle at center,
      rgba(212, 175, 55, 0.16),
      transparent 35%
    ),
    linear-gradient(135deg, #070604, #15100a 55%, #030303);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition:
  opacity 0.8s ease,
  transform 0.8s ease,
  filter 0.8s ease;
}

.cover.hide {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(12px);
  visibility: hidden;
  pointer-events: none;
}

.cover-content {
  width: min(700px, 90%);
  padding: 70px 35px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
  animation: coverEntrance 1.2s ease both;
}

.cover-content::before,
.cover-content::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  transform: rotate(45deg);
}

.cover-content::before {
  top: -90px;
  left: -90px;
}

.cover-content::after {
  bottom: -90px;
  right: -90px;
}

.script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(52px, 9vw, 110px);
  color: #f7e7a6;
  line-height: 0.9;
  font-weight: 400;
}

.cover-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 5vw, 58px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 18px;
}

.gold-line {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 30px auto;
}

.open-btn {
  padding: 16px 38px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.8);
  background: linear-gradient(135deg, #f8e7a1, #b8860b);
  color: #111;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.35s ease;
  text-transform: uppercase;
}

.open-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.35);
}

.section {
  position: relative;
  z-index: 1;
  padding: 95px 8%;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-card {
  width: min(1180px, 100%);
  margin: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
}

.hero-photo {
  width: min(520px, 48%);
  height: 680px;
  border-radius: 300px 300px 32px 32px;
  padding: 10px;
  background: linear-gradient(145deg, #fff0b3, #b8860b, #6f4d0b);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75);
  position: relative;
  overflow: hidden;
  animation:
    elegantPhotoEntrance 1.5s ease both,
    floatPhoto 6s ease-in-out 1.5s infinite;
}

.hero-photo::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -80%;
  width: 35%;
  height: 400%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: rotate(25deg);
  animation: goldShine 6s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

.hero-photo:hover {
  transform: translateY(-8px);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(212, 175, 55, 0.25);
  transition: 0.5s ease;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 290px 290px 24px 24px;
  display: block;
}

.hero-text {
  flex: 1;
  text-align: right;
  padding-bottom: 20px;
  animation: elegantTextEntrance 1.2s ease both;
}

.small-text {
  color: #d4af37;
  letter-spacing: 5px;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.main-name {
  font-family: "Great Vibes", cursive;
  font-size: clamp(64px, 11vw, 135px);
  color: #fff4c8;
  font-weight: 400;
  line-height: 0.9;

}

.sub-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 5vw, 58px);
  color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 10px;
}

.desc {
   font-family: 'Playfair Display', serif;
  font-style: italic;
  max-width: 620px;
  margin: 24px 0 0 auto;
  line-height: 1.9;
  color: #eee0b6;
  font-size: 22px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .script {
  font-size: clamp(50px, 7vw, 95px);
}

.section-title h2 {
  font-family: "Cormorant Garamond", serif;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: -18px;
}

.date-box {
  width: min(760px, 100%);
  margin: auto;
  padding: 55px 30px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.date-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  margin: 25px 0;
}

.date-main span {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: #f3df9d;
  min-width: 130px;
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
  padding: 10px 0;
}

.date-main strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 82px;
  color: #fff;
  line-height: 1;
}

.month {
  color: #d4af37;
  letter-spacing: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.time-box {
  width: 145px;
  padding: 25px 10px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 18px;
}

.time-box span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 46px;
  color: #fff4c8;
  font-weight: 700;
}

.time-box p {
  color: #d4af37;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.photo-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "large wide1"
    "large wide2"
    "bottom1 bottom2";
  gap: 24px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(60px);
  transition: 0.8s ease;
}

.photo-item.active {
  opacity: 1;
  transform: translateY(0);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.8s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-large {
  grid-area: large;
  height: 780px;
}

.photo-wide:nth-child(2) {
  grid-area: wide1;
  height: 370px;
}

.photo-wide:nth-child(3) {
  grid-area: wide2;
  height: 386px;
}

.photo-bottom:nth-child(4) {
  grid-area: bottom1;
  height: 520px;
}

.photo-bottom:nth-child(5) {
  grid-area: bottom2;
  height: 520px;
}

.photo-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 50%);
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
  pointer-events: none;
}

.photo-item:hover::before {
  opacity: 1;
}

.photo-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  color: #fff8df;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.4s;
}

.photo-item:hover .photo-label {
  opacity: 1;
  transform: translateY(0);
}

.photo-label h3 {
  font-family: "Great Vibes", cursive;
  font-size: 44px;
  font-weight: 400;
}

.photo-label p {
  color: #d4af37;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 11px;
  margin-top: -6px;
}

.details-grid {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.detail-card {
  text-align: center;
  padding: 34px 18px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
}

.detail-card h3 {
  color: #d4af37;
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

.detail-card p {
  color: #fff8df;
  line-height: 1.6;
}

.venue {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.venue-img {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: #111;
}

.venue-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.venue-info {
  padding: 35px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.venue-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  color: #fff4c8;
  margin-bottom: 12px;
}

.venue-info p {
  color: #eee0b6;
  line-height: 1.8;
}

footer {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  text-align: center;
  color: #d4af37;
  background: #050505;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatPhoto {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes elegantPhotoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(50px);
    filter: blur(10px);
  }

  60% {
    opacity: 1;
    transform: scale(1.03) translateY(-8px);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes elegantTextEntrance {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes goldShine {
  0% {
    left: -80%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  50% {
    left: 160%;
    opacity: 1;
  }

  100% {
    left: 160%;
    opacity: 0;
  }
}

@keyframes coverEntrance {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .hero-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;
    text-align: center;
  }

  .hero-photo {
    width: min(520px, 92%);
    height: 560px;
  }

  .hero-text {
    text-align: center;
    padding-bottom: 0;
  }

  .desc {
    margin: 24px auto 0;
  }

  .date-main {
    gap: 16px;
  }

  .date-main span {
    min-width: 105px;
    font-size: 19px;
  }

  .date-main strong {
    font-size: 72px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "large wide1"
      "large wide2"
      "bottom1 bottom2";
    gap: 14px;
  }

  .photo-large {
    height: 620px;
  }

  .photo-wide:nth-child(2) {
    height: 295px;
  }

  .photo-wide:nth-child(3) {
    height: 311px;
  }

  .photo-bottom:nth-child(4),
  .photo-bottom:nth-child(5) {
    height: 390px;
  }

  .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .venue {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .section {
    padding: 75px 5%;
  }

  .hero-photo {
    height: 500px;
  }

  .small-text {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .desc {
    font-size: 18px;
  }

  .date-box {
    padding: 42px 12px;
  }

  .date-main {
    gap: 8px;
  }

  .date-main span {
    min-width: 74px;
    font-size: 15px;
    padding: 8px 0;
  }

  .date-main strong {
    font-size: 54px;
  }

  .month {
    letter-spacing: 4px;
    font-size: 14px;
  }

  .time-box {
    width: 130px;
  }

  .photo-grid {
    gap: 10px;
  }

  .photo-item {
    border-radius: 16px;
  }

  .photo-large {
    height: 470px;
  }

  .photo-wide:nth-child(2) {
    height: 225px;
  }

  .photo-wide:nth-child(3) {
    height: 235px;
  }

  .photo-bottom:nth-child(4),
  .photo-bottom:nth-child(5) {
    height: 300px;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .detail-card {
    padding: 24px 12px;
  }

  .venue-info {
    padding: 25px;
  }

  .venue-info h3 {
    font-size: 32px;
  }
}

@media (max-width: 380px) {
  .date-main {
    gap: 6px;
  }

  .date-main span {
    min-width: 68px;
    font-size: 14px;
  }

  .date-main strong {
    font-size: 48px;
  }

  .time-box {
    width: 120px;
  }

  .photo-large {
    height: 410px;
  }

  .photo-wide:nth-child(2) {
    height: 195px;
  }

  .photo-wide:nth-child(3) {
    height: 205px;
  }

  .photo-bottom:nth-child(4),
  .photo-bottom:nth-child(5) {
    height: 260px;
  }
}

.cover .script {
  animation: fadeUp 1s ease forwards;
}

.cover-title {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}

.gold-line {
  opacity: 0;
  animation: expandLine 1s ease forwards;
  animation-delay: 0.8s;
}

.open-btn {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 1.2s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 140px;
    opacity: 1;
  }
}

.hero {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.hero.show {
  opacity: 1;
  transform: translateY(0);
}
