body {
    font-family: 'Times New Roman', Times, serif;
    color: #222;
    background-color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

/* A container to center the content and set a max-width */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Header styling */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5em;
    font-weight: 500;
    margin: 0;
    letter-spacing: 1px;
}

.header p {
    font-size: 1.1em;
    margin-top: 0.5rem;
}

.reminder-section {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9em;
}

.reminder-section p {
    font-size: 1.1em;
    margin-top: 0.5rem;
}

/* Link styling */
a {
    color: #0000EE; /* A standard blue link color */
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
}

/* Styling for the two-column link grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem; /* Row and column gap */
    margin: 2rem 0;
}

/* Horizontal rule styling */
hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 2rem 0;
    transition: border-color 0.3s;
}

/* Visit section styling */
.visit-section p {
    margin: 0.5rem 0;
}

.visit-section strong {
    font-size: 1em;
    font-weight: bold;
}

/* Feedback note styling */
.feedback-note {
    font-size: 0.9em;
    color: #333;
    transition: color 0.3s;
}

/* Footer styling */
.footer {
    text-align: center;
    font-size: 0.9em;
}

.footer p {
    margin: 0.25rem 0;
}

.footer a {
    margin: 0 0.5rem;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.8em;
    font-family: sans-serif;
    user-select: none;
}

/* Home Button */
.home-button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.8em;
    font-family: sans-serif;
    user-select: none;
}

/* --- Dark Mode Styles --- */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode a {
    color: #9bbff3; /* A lighter blue for dark mode */
}

body.dark-mode hr {
    border-top-color: #444;
}

body.dark-mode .feedback-note {
    color: #aaa;
}

body.dark-mode .theme-toggle {
    background: #333;
    border-color: #555;
    color: #fff;
}

body.dark-mode .home-button {
    background: #333;
    border-color: #555;
    color: #fff;
}


/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .links-grid {
        grid-template-columns: 1fr; /* Stack links in a single column */
    }

    .header h1 {
        font-size: 2em;
    }
}