html {
    overscroll-behavior: none;
}

/* General Styles */
body {
    font-family: 'Georgia', serif;
    color: #5B4636;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #e0dbd0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Wrap page content + footer in this */
.page-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    flex-grow: 1;
    overflow: clip;
}

/* Background image layer */
.page-shell::after {
    content: "";
    position: sticky;
    bottom: 0;
    align-self: flex-end;
    width: 69vh;
    height: 69vh;
    margin-left: auto;
    background: url('/images/background.webp') no-repeat bottom right / contain;
    pointer-events: none;
    z-index: 0;
}

/* Your translucent overlay */
.page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(250, 249, 246, 0.80);
    z-index: 1;
    pointer-events: none;
}

/* Content above the overlay */
.page-shell > * {
    position: relative;
    z-index: 2;
}

/* Header */
header {
    padding: 20px;
}

header img {
    width: 40%;
    max-width: 400px;
    height: auto;
}

nav {
    margin-top: 10px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    color: #626f4d;
    font-size: 18px;
}

nav a:hover {
    color: #c58887;
}

nav .dropbtn {
    margin: 0 15px;
    text-decoration: none;
    font-family: inherit; /* Add this line */
    font-weight: bold;
    font-size: 18px;
    color: #626f4d;
    background: none;
    border: none;
}

nav .dropbtn:hover {
    color: #c58887;
}

nav .dropdown {
  position: relative;
  display: inline-block;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #FAF9F6;
  min-width: 160px;
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.1);
  z-index: 1;
}

nav .dropdown-content a {
  color: #626f4d;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

nav .dropdown-content a:hover {
    color: #c58887;
}

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

/* Footer */
footer {
    margin-top: auto;
    padding: 16px 12px;
    background-color: #5B4636;
    color: white;
    font-size: 0.85em;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 4px;
}

footer p {
    margin: 4px 0;
}

.footer-links,
.footer-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
}

footer a {
    color: #F5EEE6;
}

footer a:hover {
    color: #e0dad1;
}

/* Main Content */
.headshot {
    display: block;
    width: 200px;
    border-radius: 50%;
    margin: 20px auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

main {
    margin: auto auto;
    max-width: 600px;
}

h1, h2, h3{
    color: #626f4d;
    text-align: center;
    margin-bottom: 20px;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
}

a {
    color: #626f4d;
    font-weight: bold;
    text-decoration: none;
}

/* a:visited {
    color: #5B4636;
} */

a:hover {
    color: #c58887;
    text-decoration: underline;
}

table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 18px;
    text-align: left;
    background-color: #F5EEE6;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #5B4636;
}

th {
    background-color: #626f4d;
    color: #F5EEE6 ;
    font-size: 20px;
}

tr:nth-child(even) {
    background-color: #e0dad1;
}

.contact-info {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
}

.contact-info a {
    color: #626f4d;
    font-weight: bold;
    text-decoration: none;
}

.contact-info a:hover {
    color: #c58887;
    text-decoration: underline;
}

.contact-info p {
    color: #5B4636;
}

.contact-info hr {
    width: 50%;
    margin: 20px auto;
    border: 1px solid #626f4d;
}

/* Contact Links */
.contact-link {
    font-size: 20px;
    color: #626f4d;
    font-weight: bold;
    text-decoration: none;
}

.contact-link:hover {
    color: #c58887;
    text-decoration: underline;
}

/* Call-to-Action Button */
.cta-button {
    display: block;
    text-align: center;
    color: #F5EEE6;
    background-color: #636f4e;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    width: 300px;
    margin: 20px auto;
    transition: background-color 0.3s;
}

.cta-button:hover {
    color: #F5EEE6;
    background-color: #c58887;
}
