/* Modern Landing Page Styles */

:root {
    --color-bg: #EEF2FB;
    --color-text: #333333;
    --color-accent: #C60301;
    --color-accent-hover: #DD89AB;
    --color-card-bg: #FBFBEB; /* Cream color matching the original feel */
    --font-main: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    background-image: url('2007/images/background.jpg');
    background-position: top center;
    background-repeat: repeat-x;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.main-header {
    width: 100%;
    height: 252px; /* Matches original header height */
    background-image: url('2007/images/header.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: 40px;
    /* On wider screens, keep it left aligned if that was the original design, 
       but centered looks better for a landing page. */
    background-position: top center;
}

@media (max-width: 800px) {
    .main-header {
        height: 150px;
        background-size: cover;
        border-radius: var(--radius);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Intro Section */
.intro {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    text-align: center;
}

.intro h2 {
    color: var(--color-accent);
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: normal; /* Matches the lighter weight of original headings */
    border-bottom: 1px dotted var(--color-accent);
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.intro p {
    max-width: 700px;
    margin: 0 auto 15px auto;
}

.intro a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: bold;
}

.intro a:hover {
    color: var(--color-accent-hover);
}

/* Navigation Cards */
.year-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.year-card {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    background-color: var(--color-card-bg);
    border: 1px solid #E0D0B0;
    padding: 40px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.year-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
    border-color: var(--color-accent);
}

.year-content h3 {
    font-size: 3rem;
    margin: 0 0 20px 0;
    color: var(--color-accent);
    font-family: "Georgia", "Times New Roman", serif; /* A slightly more elegant font for the year */
}

.view-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--color-accent);
    color: white;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.year-card:hover .view-link {
    background-color: var(--color-accent-hover);
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #dcdcdc;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

