/* ---------------------------------------
   Candice Lesage Creative — Maintenance page (v2)
   --------------------------------------- */

:root {
  --cream: #fbf0de;
  --brown: #522714;
  --border-brown: rgba(82, 39, 20, 0.26);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Gentium Book Plus', 'Gentium Book Basic', Georgia, serif;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background-image: url('../assets/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Torn paper texture strips, top and bottom of the viewport */
.texture {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  z-index: 3;
  pointer-events: none;
}

.texture-top {
  top: 0;
}

.texture-bottom {
  bottom: 0;
}


.card-wrapper {
  position: absolute;
  left: 5%;
  top: 21%;
  width: 38%;
  min-width: 320px;
  max-width: 640px;
  z-index: 2;
}

/* Cream card with the logo + tagline */
.card {
  position: relative;
  width: 100%;
  background-color: var(--cream);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  z-index: 2;
}

.card-inner {
  border: 1px solid var(--border-brown);
  border-radius: 8px;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}

.card-inner .logo {
    width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

.tagline {
  margin: 0;
  color: var(--brown);
  font-size:1.5rem;
  line-height: 1.6;
}


.envelope {
    position: absolute;
    right: -46%;
    bottom: -52%;
    width: 74%;
    height: auto;
    transform: rotate(15.85deg);
    transform-origin: center center;
    z-index: 3;
  }

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

@media (max-width: 900px) {
  .card-wrapper {
    left: 5%;
    width: 55%;
    min-width: 260px;
    top: 14%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px;
  }

  .card-wrapper {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 380px;
  }

  .card {
    padding: 32px 20px;
  }

  .card-inner {
    padding: 2rem 1.25rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .envelope {
    right: -18%;
    bottom: -16%;
    width: 46%;
  }
}
