body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('bg.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.15);
    z-index: -1;
}

.container {
    display: flex;
    width: 80%;
    max-width: 1100px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #8f2a38;
    animation: fadeIn 1.2s ease-in;
    backdrop-filter: blur(8px);
    background-color: rgba(122, 31, 46, 0.75);
}

.left, .right {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left {
    color: #f4f1ee;
}

.left h1 {
    margin: 0;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    margin: 10px 0 30px 0;
    font-weight: 300;
}

.contact p {
    margin: 15px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* stays left-aligned */
}

.contact i {
    margin-right: 10px;
    color: #f4f1ee;
}

.social p {
    margin-top: 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* stays left-aligned */
}

.social i {
    margin-right: 8px;
}

.social a {
    color: #f4f1ee;
    text-decoration: none;
    font-weight: 500;
}

.social a:hover {
    text-decoration: underline;
}

/* Right panel */
.right {
    background-color: rgba(231, 229, 226, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.logo-section {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right img {
    max-width: 80%;
    height: auto;
    opacity: 0.5;
    margin-bottom: 20px;
}

.verse {
    font-size: 0.95rem;
    color: #5a1c26; /* deep wine color to blend with theme */
    line-height: 1.5;
    font-style: italic;
    max-width: 90%;
}

.verse .ref {
    font-style: normal;
    font-weight: bold;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* MOBILE STYLES */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 90%;
        text-align: center; /* only for headings, not contacts */
    }
    .left, .right {
        padding: 25px;
        text-align: left; /* ensures contact text stays left */
    }
    .left h1 {
        font-size: 1.4rem;
        text-align: center; /* title stays centered */
    }
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: center; /* subtitle stays centered */
    }
    .contact p, .social p {
        font-size: 0.95rem;
        justify-content: flex-start; /* override center alignment */
    }
    .right img {
        max-width: 60%;
        margin: 10px auto 0 auto;
    }
    .verse {
        font-size: 0.85rem;
        text-align: center;
    }
}
