.navbar-toggler {
    border-color: white;
}
.navbar {
   background-color: #002147;
   /*background-color: #4D8C2D;*/
}
.dropdown-menu {
    border: none;
    display: none;
    background-color: #002147;
    /*background-color: #4d8c2d;*/
}
.dropdown-item {
    word-spacing: 5px;
    color: white;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
}
@media (min-width: 576px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
.site-title {
    font-size: 30px;
    color: white;
    font-weight:bold;
    word-spacing: 2px;
    display: inline-block;
    -webkit-transition: all .5s;
    transition: all .5s;
    font-family: 'Times New Roman', Times, serif;
}
.short-text {
    display: none; 
}
@media (max-width: 540px) {
    .short-text { 
        display: inline-block; 
    }
    .full-text { 
        display: none; 
    }
    .site-title { 
        font-size: 25px;
    }
}
.not-selectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
h2 {
    color: #5e370d;
    font-family: 'Caprasimo', cursive;
}
h4 {
    font-family: 'ABeeZee', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    word-spacing: 5px;
    line-height: 1.8;
}
h3 {
    color: #5e370d;
    font-family: 'Caprasimo', cursive;
}

.slide_h3 { 
  font-size: clamp(1.25rem, 2.5vw, 1.85rem); 
  margin-bottom: 8px; 
  color: #ffffff; 
  font-family: 'Caprasimo', cursive;
  line-height: 1.4;
  /* Strong dark shadows so white text pops against the bright altar lighting */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 
               -1px -1px 2px rgba(0, 0, 0, 0.5); 
}

.newfont {
    color: #002147;  /*110d5e;*/
    font-size: 20px;
    font-family: 'Caprasimo', cursive;
}
.newfont1 {
    color: #110d5e;
    font-size: 14px;
    font-family: 'Caprasimo', cursive;
}
hr {
     border: 3px solid darkblue;
}
/* Responsive iFrame */
.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.responsive-iframe-container iframe,   
.vresponsive-iframe-container object,  
.vresponsive-iframe-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.footer {
    background-color: #002147; /*#00873E;*/
    /*background-color: #4d8c2d;*/
}
.horizontalbar {
    height: 10px;
    background-color: #5e370d;
    /*background-color: #b92a36;*/
}
.comm { 
    position: relative; 
    padding-bottom: 68%; 
    padding-top: 50%; 
    height: 0; 
    overflow: hidden; 
}
.comm iframe { 
    padding-top: 5%; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%;
}
.comm img { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; 
    height: 100%; 
}
.fa {
    padding: 20px;
    font-size: 30px;
    width: 70px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
}
.fa:hover {
    opacity: 0.7;
}
.fa-youtube {
    background: #bb0000;
    color: white;
}
.fa-instagram {
    background: #125688;
    color: white;
}
table {
    font-family: "ABeeZee", sans-serif;
    font-size: 16px;
    border-collapse: collapse;
    width: 100%;
}
td {
    text-align: left;
    padding:2px;
}
.header {
    font-weight: bold;
    text-align: left;
    padding: 2px;
    background-color: #E7C6AF;
    color: #5e370d;
    font-family: 'Caprasimo', cursive;
}
.padder{
    padding-bottom: 2%;
}
pre{
    font-family: 'ABeeZee', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    word-spacing: 5px;
    border : none;
    background-color:transparent;
}
.christmastree1 {
    background-image: url('christmasstree1.png');
    background-repeat: repeat-x;
}

.intro { 
    background: url(/images/fishloaf.svg) no-repeat top center; 
                  
    /* DYNAMIC IMAGE SIZE: 
    Min: 50px (mobile), Fluid: 6% of screen width (tablets), Max: 85px (desktop) */
    background-size: clamp(50px, 6vw, 85px) auto; 
                  
    /* DYNAMIC TOP GAP: 
    Calculates image height + adds a safe 4vh text buffer to prevent overlapping */
    padding-top: calc(clamp(50px, 6vw, 85px) + 4vh); 
                  
    /* DYNAMIC SIDE PADDING: 
    Prevents text lines from touching the glass edges on mobile/tablets */
    padding-bottom: 10vh;
    padding-left: 6vw;
    padding-right: 6vw;
                  
    /* DYNAMIC FONT SIZE: 
    Scales text smoothly across phone, tablet, and desktop viewports */
    font-size: clamp(1.4rem, 4vh, 2.5rem); 
    line-height: 1.4;
    margin: 0; 
    text-align: center; 
    font-family: 'Times New Roman', Times, serif; 
    box-sizing: border-box;
}

.video-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    padding-top: 30px; height: 0; 
    overflow: hidden; 
}

.video-container iframe { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%    !important;
    height: 100%   !important; 
}

/* For Liturgical Calendar */
.card {
    background-color: #BDEDFF;
}
            
/* For Daily Verse */
.dailyVerses.bibleText {
    font-weight: 500;
}

/* For slider carousel image */
.carousel-item img {
	height: 500px; /* Force all images to this height */
	object-fit: cover; /* Crop and center images nicely without distortion */
	object-width: 100%;
}
			
/* Mobile devices slide 3 carousel image */
@media (max-width: 768px) {
    .slide-three-img {
	    /* Replace the path below with your mobile-optimized image */
		content: url("/new_images/MainChurch.jpg"); 
	}
}

/* Base Card Layout */
.feature-card {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.feature-img {
	height: 380px; 
	object-fit: cover;
	transition: filter 0.4s ease, transform 0.4s ease;
	filter: brightness(80%);
}

.tracking-wide { letter-spacing: 2px; }
.font-serif { font-family: 'Georgia', serif; line-height: 1.5; }

/* The Shared Decorative Border Box Frame style */
.gallery-inner-border, .reveal-content {
	border: 1px solid rgba(255, 255, 255, 0.6);
	position: relative;
	background: rgba(0, 0, 0, 0.2); /* Softens background behind text */
}

/* White overlapping corners look for the frames */
.gallery-inner-border::before, .gallery-inner-border::after, .reveal-content::before, .reveal-content::after {
		content: "";
		position: absolute;
		width: 20px;
		height: 20px;
		border: 2px solid #fff;
}
.gallery-inner-border::before, .reveal-content::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.gallery-inner-border::after, .reveal-content::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

/* --- Hover Reveal Animation Logic --- */

/* 1. Set the initial state for the titles and content */
.hover-reveal .main-title {
	transition: opacity 0.3s ease, transform 0.3s ease;
	opacity: 1;
	transform: scale(1);
}

.hover-reveal .reveal-content {
	position: absolute;
	top: 24px; bottom: 24px; left: 24px; right: 24px; /* Matches layout margins */
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.4s ease, transform 0.4s ease;
	pointer-events: none; /* Prevents cursor bugs prior to reveal */
}

/* 2. Hover Triggers */
.hover-reveal:hover .main-title {
	opacity: 0;
	transform: scale(0.9);
}

.hover-reveal:hover .reveal-content {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}

/* Optional background zoom depth change on hover */
.hover-reveal:hover .feature-img {
	transform: scale(1.05);
	filter: brightness(65%);
}

/* Mobile View: Make everything visible automatically since you can't mouse-hover on smartphones */
@media (max-width: 768px) {
	.hover-reveal .main-title { display: none !important; }
	.hover-reveal .reveal-content {
	    position: relative;
		top: 0; bottom: 0; left: 0; right: 0;
		opacity: 1;
		transform: scale(1);
    }
}

.btn-custom-gold {
	background: #8B5A2B;
	color: #ffffff !important;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 14px 28px;
	border: 1px solid #704620;
	border-radius: 4px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.btn-custom-gold:hover {
	background: #a06934;
	border-color: #8B5A2B;
	letter-spacing: 1.5px; /* Subtle text expand effect */
}