/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    background-image: url('church.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo i {
    margin-right: 1rem;
}

.logo2 {
    margin-right: 10px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    font-weight: 700;
}

/* Main Content Styles */
.content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #5a7d59;
}

.content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Service Times */
.service-times {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.time-block {
    background-color: #5a7d59;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    min-width: 200px;
}

.time-block h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.time-block p {
    color: white;
    margin: 0;
    font-weight: 300;
}

/* Countdown Timer */
.countdown {
    margin: 2rem 0;
}

.countdown p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.time-unit {
    background-color: #333;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    min-width: 80px;
}

.time-unit span {
    font-size: 2rem;
    font-weight: 600;
    display: block;
}

.time-unit small {
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    margin-right: 0.5rem;
    color: #5a7d59;
}

/* Footer Styles */
footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem 0;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-block;
    margin: 0 0.5rem;
    color: #5a7d59;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3a5a40;
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
    }
    
    .logo i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .service-times {
        flex-direction: column;
        align-items: center;
    }
    
    .timer {
        flex-wrap: wrap;
    }
    
    .content h2 {
        font-size: 2rem;
    }
}