body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 8px 8px 0 0;
}

.update-info {
    font-size: 0.8em;
    color: #777;
    display: block;
    margin-top: 10px;
}

.menu {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 10px 0;
    border-radius: 8px;
    flex-wrap: wrap;
}

.menu a {
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    transition: background-color 0.3s;
}

.menu a:hover {
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
}

.section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f4f4f4;
}

.photo-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    align-items: flex-start;
}

.photo-section-title {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.photo-item {
    flex: 1 1 calc(45% - 20px);
    max-width: 45%;
    box-sizing: border-box;
    text-align: center;
}

.photo-section img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 10px;
}

.photo-caption {
    text-align: center;
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.priests-section, .article-section {
    text-align: left;
    font-size: 1.1em;
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    border-radius: 0 0 8px 8px;
    margin-top: 20px;
}

.footer a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

h2 {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

/* Carrousel Styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.carousel-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
}

.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        font-size: 2em;
        padding: 15px;
    }
    .menu {
        flex-direction: column;
        align-items: center;
    }
    .menu a {
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    .container {
        width: 95%;
        padding: 15px;
    }
    .photo-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .photo-section img {
        height: auto;
    }
}

@media (max-width: 480px) {
    .header {
        font-size: 1.5em;
    }
    .menu a {
        font-size: 1em;
        padding: 8px;
    }
    .footer {
        font-size: 0.8em;
    }
    .photo-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .photo-section img {
        height: auto;
    }
}
