/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header and Banner Styling */
.banner {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, #121212), url('../images/banner.png');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0f0f0;
    text-align: center;
}

.banner-text h1 {
    font-size: 3.5rem;
    color: #ffc400;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.6); /* Add shadow for readability */

    margin-bottom: 0.5rem;
}

.banner-text p {
    font-size: 1.3rem;
    color: rgb(255, 188, 0);
    text-shadow: 10px 10px 10px rgba(0, 0, 0, 10); /* Add shadow for readability */
}

/* Navigation Styling */
nav {
    background-color: #1a1a1a;
    padding: 1rem 2rem;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ffd700;
}

/* Section Styling */
.section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1c1c1c;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.section h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section h3 {
    color: #f0f0f0;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.section p, .section ul {
    margin: 1rem 0;
}

.section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

/* Blockquote Styling */
blockquote {
    font-style: italic;
    color: #ffd700;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid #ffd700;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #1c1c1c;
}

/* Slide Styling */
.slide {
    display: none;
    text-align: center;
    padding: 1.5rem;
}

.slide img {
    width: 150px;
    height: 150px;
    object-fit: cover; /* Ensures the image maintains aspect ratio within its frame */
    border-radius: 50%; /* Circular frame */
    margin-bottom: 1rem;
}

.slide h3 {
    font-size: 1.5rem;
    color: #ffd700;
}

.slide p {
    font-size: 1rem;
    color: #f0f0f0;
    margin: 0.5rem 0;
}

/* Navigation Buttons for Slideshow */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: #f0f0f0;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Footer Styling */
footer {
    background-color: #1a1a1a;
    padding: 1rem;
    text-align: center;
    color: #f0f0f0;
}

/* Contact Form Styling */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: #1c1c1c;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-form label {
    font-size: 1.1rem;
    color: #ffd700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #121212;
    color: #f0f0f0;
}

.contact-form button {
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: #ffd700;
    color: #121212;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e0c600;
}

/* Rosary Guide */
.rosary-guide .section {
    max-width: 920px;
}

.rosary-intro p,
.rosary-order p {
    font-size: 1.05rem;
}

.rosary-steps {
    padding-left: 1.5rem;
}

.rosary-steps li {
    margin: 0.65rem 0;
}

.rosary-counts {
    border-top: 1px solid #333;
    color: #e6e6e6;
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.prayer-list {
    display: grid;
    gap: 0.75rem;
}

.prayer-list details,
.mystery-set details {
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #151515;
    overflow: hidden;
}

.prayer-list summary,
.mystery-set summary {
    cursor: pointer;
    color: #ffd700;
    font-weight: bold;
    padding: 1rem;
}

.prayer-list details p {
    padding: 0 1rem 1rem;
}

.mystery-set summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    font-size: 1.2rem;
}

.mystery-set summary span {
    color: #c8c8c8;
    font-size: 0.9rem;
    font-weight: normal;
    text-align: right;
}

.mode-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.mode-button {
    min-height: 44px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #151515;
    color: #f0f0f0;
    font-weight: bold;
    cursor: pointer;
}

.mode-button:hover,
.mode-button.active {
    background-color: #ffd700;
    border-color: #ffd700;
    color: #121212;
}

.mystery-card {
    border-top: 1px solid #333;
    padding: 1.25rem;
}

.mystery-card h3 {
    color: #f0f0f0;
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
}

.mystery-fruit {
    border-left: 3px solid #ffd700;
    color: #e6e6e6;
    margin: 0 0 0.9rem;
    padding-left: 0.75rem;
}

.mode-content {
    display: none;
    margin: 0;
}

.rosary-guide[data-mode="meditative"] .mode-meditative,
.rosary-guide[data-mode="scriptural"] .mode-scriptural,
.rosary-guide[data-mode="reflection"] .mode-reflection,
.rosary-guide[data-mode="visualization"] .mode-visualization {
    display: block;
}

a.resource-link {
    color: #121212;
    background-color: #ffd700;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
    margin-top: 0.5rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
}

a.resource-link:hover {
    background-color: #e0c600;
}

a.resource-link-secondary {
    border: 1px solid #ffd700;
    color: #ffd700;
    background-color: transparent;
    margin-left: 0.5rem;
}

a.resource-link-secondary:hover {
    color: #121212;
    background-color: #ffd700;
}

.simulator-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #454545;
    border-left: 4px solid #ffd700;
    border-radius: 8px;
    background: linear-gradient(135deg, #171717, #202020);
}

.simulator-callout h3,
.simulator-callout p {
    margin: 0;
}

.simulator-callout h3 {
    color: #ffd700;
    font-size: 1.25rem;
}

.simulator-callout .resource-link {
    flex: 0 0 auto;
    margin-top: 0;
}
/* Responsive styles for mobile */
@media (max-width: 900px) {
    .banner {
        height: 30vh;
        padding: 1rem 0;
    }
    .banner-text h1 {
        font-size: 2rem;
    }
    .banner-text p {
        font-size: 1rem;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    .section {
        padding: 1rem;
        margin: 1rem 0.5rem;
    }
    .slideshow-container {
        max-width: 100%;
    }
    .slide img {
        width: 90px;
        height: 90px;
    }
    .contact-form form {
        padding: 0.5rem;
        max-width: 98vw;
    }
    .mode-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mystery-set summary {
        align-items: flex-start;
        flex-direction: column;
    }
    .mystery-set summary span {
        text-align: left;
    }
    .simulator-callout {
        align-items: flex-start;
        flex-direction: column;
    }
    .simulator-callout .resource-link {
        width: 100%;
        text-align: center;
    }
    a.resource-link-secondary {
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    .banner {
        height: 18vh;
        padding: 0.5rem 0;
    }
    .banner-text h1 {
        font-size: 1.2rem;
    }
    .section {
        padding: 0.5rem;
        margin: 0.5rem 0.2rem;
    }
    .contact-form form {
        padding: 0.2rem;
        max-width: 99vw;
    }
}
