/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0 1rem;
    transition: background-color 0.3s, color 0.3s;
}

/* Color Scheme Variables */
:root {
    --primary-color: #008080;
    --secondary-color: #20b2aa;
    --dark-bg: #333;
    --light-bg: #f4f4f4;
    --footer-color: #777;
    --hover-color: #20b2aa;
}

/* Paragraph Styling */
p {
    font-family: 'Open Sans', Arial, sans-serif; /* Modern and professional font */
    font-size: 1rem; /* Base font size for good readability */
    line-height: 1.6; /* Comfortable line height */
    color: #333333; /* Neutral, trustworthy text color */
    margin-bottom: 1.5em; /* Spacing between paragraphs */
}

p.highlight {
    font-weight: 600; /* Slightly bold for emphasis */
    color: #0078d7; /* Travel-related accent color (blue) */
    background-color: #f0f8ff; /* Light blue background for contrast */
    border-left: 4px solid #0078d7; /* Visual indicator for important content */
    padding: 0.5em 1em; /* Padding inside the highlight */
    border-radius: 4px; /* Rounded corners for modern look */
}

p a {
    color: #0078d7; /* Accent color for links */
    text-decoration: none; /* Removes underline for modern look */
    font-weight: 500; /* Makes links slightly prominent */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

p a:hover {
    color: #0056a3; /* Darker blue for hover effect */
    text-decoration: underline; /* Subtle underline on hover */
}

/* Header */
header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 1rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Menu Banner */
.menu-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-banner ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.menu-banner a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.menu-banner a:hover {
    background-color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.hamburger-menu div {
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 5px;
}

/* Mobile Menu */
.menu-items {
    display: flex;
    gap: 1rem;
}

.menu-items.mobile {
    display: none;
    flex-direction: column;
    text-align: left;
    width: 100%;
    padding: 1rem;
}

.menu-items.mobile a {
    display: block;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

.menu-items.mobile a:hover {
    background-color: var(--secondary-color);
}

.menu-items.mobile.open {
    display: block;
}

/* Dark Mode */
.dark-mode {
    background-color: var(--dark-bg);
    color: #f4f4f4;
}

.dark-mode header {
    background: linear-gradient(to right, #004d4d, #0d7377);
}

.dark-mode .menu-banner {
    background-color: #444;
}

.dark-mode .menu-banner a {
    color: var(--secondary-color);
}

.dark-mode .menu-items.mobile a {
    background-color: #444;
}

.dark-mode .menu-items.mobile a:hover {
    background-color: #0d7377;
}

.dark-mode footer {
    color: #ddd;
}

.dark-mode .content, .dark-mode .intro, .dark-mode .card, .dark-mode .toc, .dark-mode .best-first-card {
    background: #444;
    color: #ddd;
}

/* Button */
.apply-button {
    display: block;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: var(--secondary-color);
}

.dark-mode .apply-button {
    background-color: var(--secondary-color);
}

.dark-mode .apply-button:hover {
    background-color: var(--primary-color);
}

/* Page Content Block */
.content, .intro, .card, .toc, .content-section, .best-first-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: left;
    color: #333;
}

.content h2, .card h3, .intro h2, .toc h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 0;
    font-size: 0.8rem;
    color: var(--footer-color);
}

/* Dark Mode Toggle */
#darkModeToggle {
    padding: 0.5rem 1rem;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 600px) {
    .menu-banner ul {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

/* General styling for the yellow banner */
.banner {
  background-color: #FFD700; /* Golden yellow color */
  color: #000; /* Black text for contrast */
  font-weight: bold;
  padding: 10px 20px;
  text-align: center;
  font-size: 1.2em;
  position: relative;
  clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 10% 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Add some style to the container where the banner is placed */
.options-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding-top: 60px; /* Space for the banner */
  position: relative;
  margin: 20px;
}

.options-container .banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
