#parallax-carlo {
  /* Path to the image you uploaded. Make sure to save it in your images folder */
  background-image: url("/img/carlo/carlo-acutis.webp"); 
  
  height: 480px; /* Ideal height to hold the title, text, and button */
  background-attachment: fixed;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100% !important;
  
  /* Flexbox to center the entire content block */
  display: flex;
  justify-content: center; 
  align-items: center; 
  position: relative;
}

/* Dark overlay layer to improve text readability */
#parallax-carlo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
 
  z-index: 1;
}

/* Text container */
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title with your magic in Lilita One and Bisque */
.text-parallax {
  font-family: "Lilita One", sans-serif;
  color: #ffe4c4; /* Real Bisque Color */
  font-weight: 400;
  font-style: normal;
  /* Scales fluidly between small and large screens */
  font-size: clamp(1.8rem, 4.5vw, 3.2rem); 
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* Elegant shading to make it pop from the background */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8); 
}

/* Small description */
.desc-parallax {
  font-family: Arial, sans-serif; /* Clean typography for easy reading */
  color: #fdf5e6; /* A soft linen/cream tone that matches the bisque */
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 620px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* Read More Button */
.btn-parallax {
  display: inline-block;
  font-family: "Lilita One", sans-serif;
  color: #ffe4c4; /* Bisque letters */
  border: 2px solid #ffe4c4; /* Bisque border */
  background: transparent;
  padding: 10px 26px;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Interactive hover effect for the button */
.btn-parallax:hover {
  background-color: #ffe4c4;
  color: #111111; /* Background turns bisque, text turns dark */
  text-shadow: none;
  transform: scale(1.05); /* Enlarges slightly in an elegant way */
}