/* Global Styles */
body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url(AdamTitn.jpg);
    color: #222;
    scroll-behavior: smooth;
}
@media(max-width: 767px) {
    body {
        background-image: url(AdamTitn\ mopail.jpg);
    }
}

:root {
    --main_color: #32404c;
    --accent_color: #536a7f;
    --light_gray: #f7f7f7;
    --text_dark: #1e1e1e;
}

/* Container Style */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Page-specific sections */
.page {
    padding: 60px 20px;
    background-color: var(--light_gray);
    flex: 1;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--main_color);
}

.page h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: #32404c;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text_dark);
}

.page a.btn {
    display: inline-block;
    background: var(--main_color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page a.btn:hover {
    background: var(--accent_color);
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Contact Info Styling */
.contact-info {
    margin: 20px 0;
    line-height: 2;
    font-size: 1.05em;
}

.contact-info a {
    color: var(--main_color);
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: var(--accent_color);
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--main_color);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: auto;
}
