/* styles.css */

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Background Image Layer */
.background-image {
    background-image: url('img/background-clouds.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* Title Section */
.title-section {
    position: relative;
    padding: 20%;
}

@media (min-width: 992px) {
    .title-section {
        padding: 5%;
        height: 550px;
    }
}

@media (max-height: 600px) {
    #hide-on-small-screens {
        display: none;
    }
}

/* Sticky Navbar */
.sticky-bottom, .sticky-top {
    position: sticky;
    z-index: 1030;
    background-color: #fff;
}

.sticky-bottom {
    bottom: 0;
}

.sticky-top {
    top: 0;
}

/* Content Styles */
@media (max-width: 750px) {
    .content {
        background-color: Silver;
        padding: 0px;
    }
}
@media (min-width: 750px) {
    .content {
        background-color: Silver;
        padding: 20px;
    }
}

.content-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    border-radius: 10px;
    padding: 20px;
    background-color: #f8f9fa;
}

.content-row {
    margin-bottom: 1em;
}

/* Headings */
h1, h2, h3, h4 {
    text-align: center;
}

/* Font Awesome Icons */
.fa, .fab, .fal, .far, .fas {
    font-size: 24px;
}

/* Logos and Images */
.logo {
    width: 200px;
}

@media (min-width: 992px) {
    .logo {
        width: 200px;
    }
}

@media (max-height: 600px) {
    .logo {
        width: 100px;
    }
}

.content-image {
    width: 95%;
    max-width: 400px;
    margin: auto;
}

@media (min-width: 992px) {
    .content-box, .content-image, .content-image-fill-empty-tomb, .content-image-fill-bales-dwight {
        margin-left: -0.5em;
    }
}

/* Custom Styles */
.font-pt-sans-narrow-bold {
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 700;
}

.content-box-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 992px) {
    .content-box-2 {
        flex-direction: row;
    }
}

.image-container-2 {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-image: url("img/bales-dwight.png");
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .image-container-2 {
        width: 50%;
        height: auto;
        aspect-ratio: 3 / 4;
    }
}

.text-container-2 {
    flex: 1;
    padding: 15px;
}

.content-image-fill-bales-dwight-2 {
    width: 100%;
    padding-top: 130%;
    background-image: url("img/bales-dwight.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.content-image-fill-empty-tomb {
    background-image: url("img/lightstock_775858_small_empty-tomb-4.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    position: relative;
    min-height: 345px;
}

.content-image-fill-youth-group {
    background-image: url("img/youth-group-3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    position: relative;
    min-height: 375px;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 50%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide:first-child {
    display: block;
}

/* Navigation Buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,1,0,0.8);
}

/* Dots */
.dots-container {
    text-align: center;
    padding: 0;
    z-index: 100;
    height: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Weekly Schedule */
.weekly-schedule {
    display: flex;
    flex-direction: column;
    height: auto;
}

.weekly-schedule-header {
    flex-shrink: 0;
    background-color: #f8f9fa;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.weekly-schedule-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

/* Sermon Details */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.iframe-container2 {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}

.iframe-container iframe,
.iframe-container2 iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.tab-pane {
    background-color: #ffffff;
    border: none;
    padding: 1rem;
}

/* Outreach Cards */
.outreach-card {
    height: 100%;
    border: 1px solid #007bff;
    border-radius: 0.25rem;
    overflow: hidden;
}

.outreach-card-header {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.outreach-card-body {
    flex: 1 1 auto;
    padding: 1rem;
    background-color: #f8f9fa;
}

/* Ministry Cards */
.ministry-card {
    height: 100%;
    border-radius: 0.25rem;
    padding: 1rem;
}

.ministry-card-title {
    text-align: center;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}