/* 1. Global Variables & Base Layout */
:root {
    --bg-blue: #b3e5fc;
    --content-beige: #d7e8f0;
    --border-gray: #888;
    --text-black: #000;
    --box-accent: #c5dbe6;
    --box-border: #a0b6c1;
    --link-navy: #1a3a5a;
    --hover-blue: #0044aa;
}

body {
    background-color: var(--bg-blue);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#wrapper {
    max-width: 900px;
    width: 100%;
    border: 2px solid var(--border-gray);
    background-color: var(--content-beige);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    overflow: hidden; /* Ensures child elements respect wrapper boundaries */
}

/* 2. Header & Typography */
header {
    text-align: center;
    padding: 30px 20px;
    border-bottom: 2px solid var(--border-gray);
}

.logo {
    max-width: 350px;
    height: auto;
}

main {
    padding: 40px;
}

h1 {
    font-size: 28px;
    margin-top: 0;
    text-align: center;
    color: #222;
}

h2 { 
    text-align: center; 
    margin-top: 30px;
    color: var(--link-navy);
}

.list-header {
    text-align: center;
    margin: 40px 0 10px 0;
    font-size: 1.5rem;
    color: var(--link-navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--border-gray);
    display: block;
    width: 100%;
    padding-bottom: 10px;
}

/* 3. Navigation & Links */
.navbar {
    background-color: #1a3a5a;
    text-align: center;
    width: 100%;
    border-bottom: 2px solid var(--border-gray);
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.nav-menu > li {
    display: inline-block;
    position: relative;
}

.nav-menu > li > a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    padding: 20px;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 9999;
    text-align: left;
    margin: 0;
    padding: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    display: block;
    border-bottom: 1px solid #eee;
}

.dropdown-content a {
    color: #1a3a5a;
    padding: 15px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #e0e0e0;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    text-align: center;
}

.link-list li { margin: 18px 0; }

.link-list a {
    color: var(--link-navy);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
}

/* 4. Album Table Styles */
.album-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px auto;
    background-color: #d7e8f0;
}
.album-table th {
    background-color: #1a3a5a;
    color: #ffffff;
    padding: 15px;
    text-transform: uppercase;
    font-size: 14px;
    border: 1px solid var(--border-gray);
}
.album-table td {
    padding: 15px;
    border: 1px solid var(--border-gray);
    text-align: center;
    color: #000;
}
.cat-header {
    background-color: #b3e5fc !important;
    text-align: left !important;
    font-weight: bold;
    text-transform: uppercase;
    color: #1a3a5a !important;
}
.album-table a {
    color: #1a3a5a;
    font-weight: bold;
    text-decoration: none;
}

/* 5. Other Content */
.intro-box { background: var(--box-accent); border: 1px solid var(--box-border); padding: 25px; margin: 30px 0; line-height: 1.8; text-align: center; }

footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid var(--border-gray);
    margin-top: 40px;
}

/* 6. Mobile Variations */
@media screen and (max-width: 768px) {
    .logo { max-width: 40% !important; height: auto; display: block; margin: 0 auto; }
    body { padding: 10px; }
    main { padding: 20px; }
    .nav-menu > li { display: block; }
    .dropdown-content { position: static; width: 100%; }
}

/* Blog Entry Styles */
.blog-post {
    border-bottom: 2px solid var(--border-gray);
    padding: 20px 0;
    margin-bottom: 20px;
}
.blog-date {
    font-size: 0.9rem;
    color: var(--link-navy);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.blog-title {
    font-size: 1.5rem;
    margin: 5px 0;
    color: var(--text-black);
}