/* the-fire-chest.css */ 

/* Page Title Styles */
.page-title-container {
    text-align: center;
    max-width: 1800px;
    width: 95%;
    margin: 8rem auto 2rem;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: #d14b00;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #d14b00;
    border-radius: 3px;
}

.page-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #5c534a;
    max-width: 680px;
    margin: 1.5rem auto 0;
    line-height: 1.5;
    min-height: 1.8rem;
    width: 100%;
    font-style: italic;
}

.fire-chest-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 2rem 4rem 2rem;
  background: transparent;
}

.offering-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.offering {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.offering.visible {
  opacity: 1;
  transform: translateY(0);
}  

.offering img {
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.offering img:hover {
  box-shadow: 0 0 30px rgba(209, 75, 0, 0.6), 0 0 60px rgba(209, 75, 0, 0.4);
  transform: scale(1.02);
}

.offering-details {
  margin-top: 2rem;
  display: flex;        
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
}

.offering-details h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #7e2607;
  text-align: center;
}

.offering-details p {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  text-align: center;
  align-items: center;
  padding-bottom: 1rem;
  color: #5c534a;
  line-height: 2.0;
  max-width: 50ch; 
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cta-button {
  background: #d94f04;
  color: #fefaf5;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 5;
}

.cta-button:hover {
  background: #b13c00;
  transform: translateY(-2px);
}

.buy-button {
  background: #36302A;
}

.buy-button:hover {
  background: #4a413a;
}

.offering-investment {
  opacity: 0;
  text-align: right;
  transform: translateY(10px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  font-style: italic;
  color: #5A4230;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.offering-investment.visible {
  opacity: 1;
  transform: translateY(0);
}

.offering-investment.hidden {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 1200px) {
    .page-title {
        font-size: 3rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-title-container {
        margin: 2rem auto 1rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-title::after {
        width: 60px;
        height: 2px;
    }
    
    .page-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }
  
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }
  
  .offering {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2rem;
    text-align: center;
    line-height: 1.2;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    margin-top: 0;
  }

  .button-container {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 200px;
  }

  .offering {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }

  .offering-image img {
    max-width: 80%;
  }

  .offering-details {
    padding-left: 0;
    padding-right: 0;
    align-items: center;
  }

  .offering-details h3 {
    text-align: center;
  }
}
