/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Anton', sans-serif;
  background-color: #f9eedb;
  color: #111;
  overflow-x: hidden;
}


#hero {
  height: 100vh; /* one full screen height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: url('../assets/images/background.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 100vh;
  background-attachment: fixed;
  overflow: hidden;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: scale(1.2) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

#logo {
  width: 240px;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  transition: transform 0.3s ease;
}


#main-content {
  margin-top: -15vh;
  padding: 8rem 2rem 5rem;
  position: relative;
  z-index: 2;
  background-color: #f9eedb;
  background-image:
    linear-gradient(to bottom, #f9eedb 0%, rgba(249, 238, 219, 0.9) 60%, rgba(249, 238, 219, 0) 100%),
    url('../assets/images/background.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 100vh;
  background-attachment: fixed;
  overflow: hidden;
}


.content.transparent-bg {
  background-color: transparent;
  backdrop-filter: none;
}

.content {
  display: flex;
  flex-wrap: nowrap; /* prevent stacking unless forced */
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.text-block {
  padding-left: 2rem;
  flex: 1 1 50%;
  max-width: 600px;
  margin-right: 2rem; /* pulls text over the image */
  position: relative;
  z-index: 3;
}

.text-block h1 {
  font-size: clamp(5rem, 12vw, 16rem);
  line-height: 1;
  font-weight: 300;
  color: #111;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  z-index: 3;
}

.text-block p {
  font-size: clamp(1rem, 2vw, 2rem);
  line-height: 1.6;
  color: #a52a2a;
  max-width: 45ch;
  font-weight: 200;
  margin-bottom: 2rem;
  position: relative;
  z-index: 3;
}

button#shop {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #111;
  background-color: transparent;
  color: #111;
  cursor: pointer;
  transition: background 0.3s ease;
}

button#shop:hover {
  background-color: #111;
  color: #f9eedb;
}

.visual-block {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.takeout {
  width: 80%;
  height: auto;
  margin-top: 10rem;
  margin-bottom: 1rem;
  margin-right: 0rem;
}

.fortune {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  background: #fff;
  border: 2px solid #111;
  padding: 2rem;
  width: 100%;
  max-width: 100%; /* match scaling of .takeout */
  transform: rotate(2.5deg) translateY(-2rem);
  position: relative;
  z-index: 2;
  margin-top: 15rem;
  box-sizing: border-box;
}



.fortune p {
  margin: 0;
  line-height: 1.5;
}

.fortune .learn {
  font-size: 1rem;
  margin-top: 1rem;
  color: #444;
}

@media (max-width: 768px) {
  #main-content {
    padding: 2rem 1rem;
  }

  .content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-block, .visual-block {
    align-items: center;
  }
}

#footer {
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 10rem; /* add space between content and footer */
  font-size: 0.85rem;
  color: #444;
}

