
/* ========== Gallery Page 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 {
    padding: 60px 20px;
    background-color: #f0f2f5;
    animation: fadeIn 1.2s ease-in-out;
    min-height: calc(100vh - 100px);
}

.page .container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.page h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #32404c;
    position: relative;
}

.page h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: #32404c;
    margin: 10px auto 0;
    border-radius: 2px;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.feature {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature h3 {
    color: #32404c;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
    color: #444;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page .btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: #32404c;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page .btn:hover {
    background: #536a7f;
    transform: translateY(-3px);
}

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

/* Footer */
footer {
    background: var(--main_color);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: auto;
}
