@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,400&family=Work+Sans:wght@300;600&display=swap');

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

body, html {
  height: 100%;
  background-color: #DED2C8;
  font-family: 'Work Sans', sans-serif;
  color: #2A2610;
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 450px;
  height: 450px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/1/1a/Mandala_pattern.svg') no-repeat center/contain;
  opacity: 0.07;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  filter: grayscale(90%) contrast(120%);
}

.container {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  color: #3B2F0B;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(59, 47, 11, 0.6);
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
  transform: translateY(25px);
  margin-bottom: 0.5em;
}

p {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: #2A2610;
  max-width: 800px;
  margin: 1em auto 0;
  line-height: 1.7;
  font-style: italic;
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
  transform: translateY(25px);
}

.contact {
  margin-top: 2em;
  font-size: 1.15rem;
  color: #2A2610;
  max-width: 800px;
  line-height: 1.6;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
  transform: translateY(25px);
}

.contact a {
  color: #2A2610;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid #2A2610;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact a:hover {
  color: #7E6B1D;
  border-color: #7E6B1D;
}

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

.flower {
  position: fixed;
  top: -160px;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  opacity: 0.9;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0.5;
  }
}

/* ----------- Responsive Design ----------- */

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
    letter-spacing: 0.08em;
  }

  p {
    font-size: 1.15rem;
    max-width: 90vw;
  }

  .contact {
    font-size: 1rem;
    padding: 0 10px;
  }

  .container {
    padding: 40px 20px;
    justify-content: start;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact {
    font-size: 0.95rem;
  }

  .container {
    padding-top: 80px;
    height: auto;
  }

  body::before {
    width: 300px;
    height: 300px;
  }

  .flower {
    opacity: 0.7;
  }
}
