/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8; /* Light Navy Background */
    color: #333;
}

header {
    background-color: #001f3f; /* Navy Blue */
    color: #FFD700; /* Gold */
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo {
    width: 80px;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav a {
    color: #FFD700; /* Gold */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: #f0f4f8; /* Light Navy on hover */
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FFD700; /* Gold */
    transition: width .3s;
}

nav a:hover::after {
    width: 100%;
}

main {
    padding: 40px 20px;
}

section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    text-align: center;
}

section h2 {
    font-family: 'Libre Baskerville', serif;
    color: #001f3f; /* Navy Blue */
    margin-bottom: 30px;
    position: relative;
    font-size: 2em;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FFD700; /* Gold */
    margin: 10px auto 0 auto;
}

.memorial-links, .home-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.memorial, .home-item {
    background-color: #ffffff;
    border: 2px solid #FFD700; /* Gold Border */
    border-radius: 10px;
    padding: 15px;
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.memorial:hover, .home-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.memorial img, .home-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.memorial h3, .home-item h3 {
    margin-top: 15px;
    color: #001f3f; /* Navy Blue */
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2em;
}

footer {
    background-color: #001f3f; /* Navy Blue */
    color: #FFD700; /* Gold */
    text-align: center;
    padding: 15px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}
