@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&family=Cinzel:wght@700&display=swap');

body {
    background: #2d2323 url('https://www.transparenttextures.com/patterns/wood-pattern.png');
    color: #e0d8b0;
    font-family: 'Goudy Old Style', 'Palatino Linotype', Palatino, 'Garamond', 'Times New Roman', serif;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(90deg, #5a3a1b 0%, #8d5524 100%);
    color: #ffd700;
    padding: 4px 15px 0;
    text-align: center;
    border-bottom: 6px solid #c9b37c;
    letter-spacing: 2px;
    font-size: 1.3em;
    font-family: 'Cinzel', 'UnifrakturCook', 'Garamond', serif;
    text-shadow: 2px 2px 8px #000;
}

header h1 {
    font-family: 'UnifrakturCook', 'Goudy Old Style', serif;
    font-size: 3.5rem;
    letter-spacing: 2px;
    color: #f9e7b3;
    margin: 0.2em 0 0.1em 0;
}

nav {
    background: #3e2c1c;
    border-bottom: 3px solid #c9b37c;
    box-shadow: 0 2px 8px #0006;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    .main-content, main.container {
        margin: 20px 5px 60px 5px;
    }
}

nav ul li a,
.nav-link {
    color: #e0d8b0 !important;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Cinzel', 'UnifrakturCook', 'Garamond', serif;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

nav ul li a:hover,
.nav-link:hover,
.nav-item.active .nav-link {
    background: #6e4b1f;
    color: #fffbe6 !important;
    text-decoration: underline;
}

.main-content,
main.container {
    background: rgba(60, 44, 28, 0.97);
    border: 2px solid #c9b37c;
    border-radius: 16px;
    box-shadow: 0 4px 24px #000a;
    padding: 2rem 20px;
    margin: 30px auto 60px auto;
    max-width: 900px;
}

main h2 {
    font-family: 'UnifrakturCook', 'Goudy Old Style', serif;
    color: #f9e7b3;
    font-size: 2rem;
    margin-bottom: 1rem;
}

footer {
    background: #3e2c1c;
    border-top: 3px solid #c9b37c;
    color: #e0d8b0;
    font-size: 1rem;
    padding: 0.3rem 0;
    letter-spacing: 1px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    font-family: 'Cinzel', 'UnifrakturCook', 'Garamond', serif;
}
ul,
.list-group {
    background: rgba(60, 44, 28, 0.85);
    border: 1px solid #c9b37c;
    border-radius: 10px;
    padding: 1em 2em;
    margin: 1.5em 0;
    color: #e0d8b0;
    font-family: 'Cinzel', 'UnifrakturCook', 'Garamond', serif;
}

/* Old-timey yellow font for .list-group-item a */
.list-group-item a {
    color: #ffd700;
    text-decoration: none;
    font-family: 'UnifrakturCook', 'Cinzel', 'Garamond', serif;
    font-weight: bold;
    transition: color 0.2s, text-decoration 0.2s;
}

li,
.list-group-item {
    margin-bottom: 0.7em;
    padding-left: 0.5em;
    color: #f9e7b3;
    font-size: 1.58em;
    text-shadow: 1px 1px 4px #2d2323;
    background: transparent;
    border: none;
    font-family: 'UnifrakturCook', 'Cinzel', 'Goudy Old Style', serif;
}

ul li:last-child,
.list-group-item:last-child {
    margin-bottom: 0;
}

.list-group-item a:hover {
    color: #fffbe6;
    text-decoration: underline;
}
/* Vertical Projects Navbar */
nav.flex-column.bg-light {
    background: linear-gradient(135deg, #4e3620 0%, #7a5a36 100%);
    border: 2px solid #c9b37c;
    border-radius: 16px;
    box-shadow: 0 4px 18px #000a;
    padding: 2rem 1.2rem 1.2rem 1.2rem !important;
    max-width: 270px;
    color: #f9e7b3;
    font-family: 'Cinzel', 'UnifrakturCook', 'Garamond', serif;
}

nav.flex-column.bg-light h4 {
    color: #ffd700;
    font-family: 'UnifrakturCook', 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1.2rem !important;
    text-shadow: 1px 1px 6px #2d2323;
    letter-spacing: 1px;
}

nav.flex-column.bg-light .nav-link {
    display: block;
    color: #e0d8b0 !important;
    background: rgba(60, 44, 28, 0.7);
    margin-bottom: 0.7em;
    border-radius: 8px;
    font-size: 1.13rem;
    font-family: 'Cinzel', 'UnifrakturCook', 'Garamond', serif;
    font-weight: bold;
    padding: 0.7em 1.1em;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-shadow: 1px 1px 4px #2d2323;
    border: 1px solid transparent;
}

nav.flex-column.bg-light .nav-link:hover,
nav.flex-column.bg-light .nav-link.active {
    background: #6e4b1f;
    color: #fffbe6 !important;
    text-decoration: underline;
    box-shadow: 0 2px 8px #0006;
    border: 1px solid #c9b37c;
}

nav.flex-column.bg-light .nav-link:last-child {
    margin-bottom: 0;
}

ul.simple-list {
    font-family: inherit;
    font-size: inherit;
}

li.simple-list-item {
    font-family: inherit;
    font-size: inherit;
    margin-bottom: 0.05em; /* Reduced gap */
}
/* Highlight active nav-link in project sidebar */
.col-md-3 .nav-link.active {
    background: #6e4b1f;
    color: #fffbe6 !important;
    text-decoration: underline;
    box-shadow: 0 2px 8px #0006;
    border: 1px solid #c9b37c;
}

em {
    font-style: italic;
    color: white
}
/* Thematic ETA Alert Box */
.alert-info {
    background: linear-gradient(90deg, #5a3a1b 0%, #8d5524 100%) !important;
    color: #ffd700 !important;
    border: 2px solid #c9b37c !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px #0007;
    font-family: 'Cinzel', 'UnifrakturCook', 'Garamond', serif;
    padding: 0.8em 1.5em !important;
    margin: 0.1em 0 1em 0 !important; /* Reduced top margin */
    text-shadow: 1px 1px 6px #2d2323;
}

.alert-info strong {
    color: #fffbe6;
    text-shadow: 1px 1px 4px #5a3a1b;
}

.alert-info span {
    color: #ffd700;
    font-family: 'UnifrakturCook', 'Cinzel', serif;
    text-shadow: 1px 1px 4px #5a3a1b;
}
