/* =============================================================
   home.css – Home page specific styles
   ============================================================= */

/* ---------------- HERO SLIDER ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  /* font-family: "Times New Roman", Times, serif; */
  line-height: 1.6;
  color: #1f2937;
  background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
      
        /* font-size: 16px;
        background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
        margin: 0;
        padding: 0 16px;
        box-sizing: border-box; */
}
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  }
 
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
 /*  transition: background 0.3s ease; */
}

.indicator.active {
  background: white;
}

/* Ken Burns Animation */
@keyframes ken-burns {
  0% {
    transform: scale(1) translateX(0) translateY(0);
  }
  25% {
    transform: scale(1.08) translateX(-2%) translateY(-1%);
  }
  50% {
    transform: scale(1.12) translateX(-4%) translateY(-2%);
  }
  75% {
    transform: scale(1.08) translateX(-2%) translateY(-3%);
  }
  100% {
    transform: scale(1) translateX(0) translateY(0);
  }
}

.slide {
  animation: ken-burns 20s ease-in-out infinite;
}

/* ---------------- WELCOME SECTION ---------------- */
.welcome-section {
  padding: 0.5rem 0;
  background: linear-gradient(to bottom, white, #fef7ed);
  max-height: auto !important;
}

.welcome-card {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 0.2rem 0.5rem;  /* ↓ reduced padding */
  border: 1px solid #fbbf24;
}

.welcome-title {
  font-size: 3rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 0.5rem;
}

.welcome-divider {
  width: 20rem;
  height: 4px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  margin: 0 auto 0.5rem;
}

/* .welcome-text { */
  /* font-size: 1.25rem;
  color: #374151;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 2rem;
    font-family: Georgia, "Times New Roman", serif;
  text-align: justify; */

  /* color: #374151;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    text-align: justify;
    position: relative;
    z-index: 2; */

  /* font-size: 1.25rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 2rem;
  /* font-family: "Times New Roman"; */
  /* font-style: italic;
  text-align: justify;
  font-style: normal;  */


.welcome-highlight {
  font-size: 1rem;
  color: #b45309;
  font-weight: 400;
  margin-top: 0.5rem;
}
/* -----ABOUT CHURCH--------------- */
.church-image {
  flex: 0 0 400px; /* Narrower fixed width */
  max-width: 600px;
}


.church-image img {
  width: 100%;
  height: 28rem; /* Taller image height */
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  /* transition: transform 0.3s ease; */
}

.church-image img:hover {
  transform: scale(1.05);
}
/* ---------------- CONTENT SECTIONS ---------------- */
.content-section {
  padding: 0.5rem 0;
}

.content-card {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin: 0.5rem auto; /* tighten to taste (1–2 rem works well) */
  max-width: 72rem;
  flex-wrap: wrap;
}

.content-card.reverse {
  flex-direction: row-reverse;
}

.content-image {
  flex: 0 0 400px; /* Narrower fixed width */
  max-width: 300px;
}


.content-image img {
  width: 100%;
  height: 20rem; /* Taller image height */
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  /* transition: transform 0.3s ease; */
}

.content-image img:hover {
  transform: scale(1.05);
}

.content-body {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-title {
  font-size: 2rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-divider {
  width: 13rem;
    height: 4px;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    margin: 0 auto 1.5rem;
}


.content-text {
  font-size: 1.25rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 2rem;
  /* font-family: "Times New Roman"; */
  text-align: justify;
  font-style: normal;
}

.content-highlight {
  color: #b45309;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.content-signature {
  border-top: 1px solid #fbbf24;
  padding-top: 1rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
}

/* ---------------- RELIC SECTIONS ---------------- */
.relic-section {
  padding: 0.2rem 0;
  background: linear-gradient(to bottom, #fef7ed, #fed7aa);
}

.relic-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(180, 83, 9);
  margin-bottom: 0.5rem; /* pick one consistent value */
}


.relic-container {
  max-width: 72rem;
  margin: 0 auto 2rem;
}

.relic-container.reverse .relic-box {
  flex-direction: row-reverse;
}

.relic-box {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #fef7ed 100%);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 3rem;
  border: 2px solid #f59e0b;
 /*  transition: all 0.5s ease; */
  flex-wrap: wrap;
}

.relic-box:hover {
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(-10px);
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* .relic-box {
  animation: float 6s ease-in-out infinite;
} */

.relic-image-container {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.relic-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid #d97706;
  /* transition: transform 0.3s ease; */
}

.relic-image:hover {
  transform: scale(1.05);
}

.relic-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.2), transparent);
 /*  animation: pulse-glow 3s ease-in-out infinite; */
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
  }
}

.relic-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.relic-content-title {
  font-size: 2rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
}

.relic-content-divider {
  width: 6rem;
  height: 4px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  margin: 0 auto 1.5rem;
}

.relic-content-text {
   font-size: 1.25rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 2rem;
  /* font-family: "Times New Roman"; */
  text-align: justify;
  font-style: normal;
}

/* ---------------- GALLERY SECTION ---------------- */
.gallery-section {
  padding: 0.3rem 0;
  background: linear-gradient(to bottom, white, #fef7ed);
}

.gallery-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 1rem;
}

.gallery-container {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-x 30s linear infinite;
}

@keyframes scroll-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery-image {
  flex-shrink: 0;
  width: 20rem;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 /*  transition: box-shadow 0.3s ease; */
}

.gallery-image:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gallery-button-container {
  text-align: center;
  margin-top: 1rem;
}

/* ---------------- NEWS SECTION ---------------- */
.news-section {
  padding: 1rem 0;
  background: linear-gradient(to bottom, #fef7ed, #fed7aa);
}

.news-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 1rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.news-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
 /*  transition: box-shadow 0.3s ease; */
}

.news-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.news-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 1rem;
}

.news-card-description {
  color: black;
  margin-bottom: 1.5rem;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d97706;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.news-card-link:hover {
  color: #b45309;
}

/* ---------------- RESPONSIVE DESIGN ---------------- */
@media (max-width: 1024px) {
  .relic-box,
  .content-card {
    flex-direction: column;
    text-align: center;
  }

  .relic-container.reverse .relic-box {
    flex-direction: column;
  }

  .content-card.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .welcome-text{
        /* font-family: "Times New Roman", serif;
        font-size: 18px;
        line-height: 1.6;
        color: red;
        /* #1f2937 */
        /* background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
        min-height: 100vh;
        margin: 0;
        padding: 0 16px;
        box-sizing: border-box;
        .welcome-text   */
    font-size: 18px;
    line-height: 1.6;
    color: black;
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
    padding: 0 16px;
    }




  .content-section,
  .relic-section {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  .relic-content-text {
    font-size: 18px;
    line-height: 1.6;
    color: black;
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
    padding: 0 16px;
  }

  .content-text{
    font-size: 18px;
    line-height: 1.6;
    color: black;
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
    padding: 0 16px;
  }
  .welcome-text {
    /* text-align: justify !important; */
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }
  .welcome-card {
  padding: 0.6rem .5rem;  /* vertical horizontal */
  }

  .welcome-section,
  .welcome-title {
    font-size: 1.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.5rem;
  }
  .welcome-divider {
    margin-bottom: 0.3rem !important;
  }
 
  .content-body {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 100%);
  padding: 1rem;
 /*  border-radius: 1rem; */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  .content-title {
  margin-bottom: 0.5rem;   /* Or a value that looks right to you */
  }
  .content-section {
    padding: 0.5rem 0 !important;
  }
 .container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  }
  /* Equal width for image and content columns */
.relic-image-container,
.relic-content {
  flex: 1 1 0;
  min-width: 0;
}
/* Optional: Center text in relic content if that's the design */
.relic-content {
  text-align: center;
}
.relic-box {
    padding: 0.5rem 1rem;  /* 0.5rem top/bottom, 1rem left/right */
}
.relic-image-container,
.relic-content {
  padding: 0 !important;
}
.gallery-section {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
.news-section{
  padding-top: 0.75rem !important;
}
.news-title{
  margin-bottom: 1rem;
}

  /* .welcome-title {
    font-size: 2rem;
  }

  .welcome-card {
    padding: 2rem;
  }

  .content-card,
  .relic-box {
    padding: 2rem;
    gap: 2rem;
  }

  .gallery-image {
    width: 16rem;
    height: 12rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  } */


  
  /* .home-page p {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: black !important;
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%) !important;
    padding: 0 16px !important;
  } */

  .home-page .welcome-section p,
.home-page .content-section p,
.home-page .relic-section p,
.home-page .archbishop-section p,
.home-page .parish-priest-section p,
.home-page .news-section p {
    font-size: 18px;
    line-height: 1.6;
    color: black;
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
    padding: 0 16px;
}

}

@media (max-width: 480px) {
  .content-section,
  .relic-section {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  .welcome-text,
  .relic-content-text {
    text-align: justify !important;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }
  .welcome-card {
  padding: 1rem 1rem;   /* vertical horizontal */
  }
  .welcome-section,
  .welcome-title {
    font-size: 1.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.5rem;
  }
  .welcome-divider {
    margin-bottom: 0.3rem !important;
  }
  .content-title {
  margin-bottom: 0.5rem;   /* Or a value that looks right to you */
  }
  .content-title {
  margin-bottom: 0.5rem;   /* Or a value that looks right to you */
  }
  .content-text,
  .relic-text {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 0rem;
  text-align: justify;
  padding: 0.2rem 0.2rem;      /* <--- THIS is the padding */
  }
  .content-section {
    padding: 0.25rem 0 !important;
     margin-bottom: 0rem;
  }
  .relic-title {
  margin-bottom: 0.5rem;   /* Or a value that looks right to you */
  }
  .relic-content-divider{
    margin-bottom: 0.3rem !important;
  }
  .relic-content{
    padding: 0.2rem 0.2rem;
  }

  /* Equal width for image and content columns */
.relic-image-container,
.relic-content {
  flex: 1 1 0;
  min-width: 0;
}

/* Optional: Center text in relic content if that's the design */
.relic-content {
  text-align: center;
}
.relic-box {
    padding: 0.5rem 1rem;  /* 0.5rem top/bottom, 1rem left/right */
}
.relic-image-container,
.relic-content {
  padding: 0 !important;
}
.gallery-title{
  margin-bottom: 1rem;
}
.gallery-button-container{
  margin-top: 1rem;
}
.gallery-section {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
.news-section{
  padding-top: 0.75rem !important;
}
.news-title{
  margin-bottom: 1rem;
}

  /* .welcome-title {
    font-size: 1.75rem;
  }

  .content-title,
  .relic-content-title {
    font-size: 1.5rem;
  }

  .gallery-title,
  .news-title,
  .relic-title {
    font-size: 2rem;
  } */


.mt-tight {
  margin-top: 0.5 rem !important;
}

/* Assuming both are content-cards inside a parent container */
.content-card.archbishop {
  margin-bottom: 1rem !important;
}

.content-card.parish-priest {
  margin-top: 1rem !important;
}
}