:root {
    --primary-color: #8B0000; /* maroon */
    --secondary-color: #006400; /* dark-green */
    --accent-color: #FFD700; /* gold */
    --offbeat-orange: #E67E22;
    --cream-bg: #FDF5E6;
    --white-color: #FFFFFF;
    --text-gray-primary: #343a40;
    --text-gray-secondary: #6c757d;
    --border-color: #e9ecef;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.8;
    color: var(--text-gray-primary);
    background-color: var(--cream-bg);
    margin: 0;
    padding-top: 80px; /* For sticky header */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--white-color);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
}
.main-nav {
    display: flex;
    align-items: center;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-nav li {
    margin-left: 25px;
}
.main-nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}
.btn-cta {
  shrink: 0;
    text-align: center;
}

/* --- Book Intro Section --- */
.book-intro {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}
.cover-column {
    flex-shrink: 0;
    text-align: center;
}
.book-cover {
    max-width: 250px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.book-details h1 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
    line-height: 1.2;
}
.book-details .subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 30px;
}

/* --- Chapter Content --- */
.chapter-content {
    background: var(--white-color);
    padding: 40px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.chapter-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin: 0 0 30px 0;
}
.chapter-content p {
    margin-bottom: 1.5em;
    font-size: 1.1rem;
}

/* --- Call to Action & Social Share --- */
.cta-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fdfaf6;
    margin-top: 40px;
    border-radius: 8px;
}
.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-amazon {
    background-color: #FF9900;
    color: #000000;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.related-links {
    margin-top: 25px;
}
.related-links a {
    margin: 0 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.related-links a:hover {
    text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}
.footer-container {
    max-width: 900px;
    margin: 0 auto;
}
.footer-nav {
    margin-bottom: 20px;
}
.footer-nav a {
    color: var(--white-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}
.footer-nav a:hover {
    text-decoration: underline;
}
.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* --- Mobile & Responsive --- */
.menu-toggle { display: none; }
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--white-color);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    .main-nav li {
        margin: 0;
        text-align: center;
    }
    .main-nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    .btn-cta {
        margin: 15px auto;
    }
    .menu-toggle {
        display: block;
    }
    .book-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .book-details h1 { font-size: 2.2rem; }
    .book-details .subtitle { font-size: 1.1rem; }
}

/* Additional CSS from user */
.text-maroon { color: var(--maroon); }
.text-dark-green { color: var(--dark-green); }
.text-offbeat-orange { color: var(--offbeat-orange); }
.text-lg { font-size: 1.125rem; }
.text-gray-secondary { color: var(--text-gray-secondary); }
.compass {
    font-weight: 600;
    color: var(--dark-green);
    letter-spacing: 0.2em;
}

.bg-maroon { background-color: var(--maroon); }
.bg-dark-green { background-color: var(--dark-green); }
.bg-offbeat-orange { background-color: var(--offbeat-orange); }
.hero-bg-gradient { background-color: var(--cream-bg); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-gray-primary);
}

.card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}
.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.card-deck {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card-horizontal {
    display: flex;
    flex-direction: row;
}
.card-horizontal .card-image-left {
    width: 33%;
    flex-shrink: 0;
    object-fit: cover;
}
.card-horizontal .card-content {
    padding: 1.5rem;
}
.card-interactive {
    cursor: pointer;
}
.card-interactive:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card img.card-image-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-gray-primary);
}
.card-text {
    color: var(--text-gray-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.card-link {
    margin-top: auto;
    display: inline-block;
}

.prominent-nav-link {
    font-weight: 600;
    color: var(--maroon);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.prominent-nav-link:hover {
    background-color: #fdf2f2;
    color: #c53030;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 1000;
}
.nav-dropdown a {
    padding: 0.5rem 1rem;
    color: var(--text-gray-secondary);
    text-decoration: none;
    display: block;
    white-space: nowrap;
}
.nav-dropdown a:hover {
    background-color: #fdf2f2;
    color: var(--maroon);
}
.dropdown-hover:hover .nav-dropdown {
    display: flex;
}
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
    }
    .dropdown-hover.active .nav-dropdown {
        display: flex;
    }
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
    color: white;
}
.share-facebook { background-color: #1877F2; }
.share-twitter { background-color: #1DA1F2; }
.share-linkedin { background-color: #0A66C2; }
.share-pinterest { background-color: #E60023; }
.share-email { background-color: #7f8c8d; }

.footer-social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem; height: 2.5rem; border-radius: 50%; color: white;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.footer-social-icon:hover { transform: scale(1.1); }
.footer-social-icon i.fab, .footer-social-icon i.fas { font-size: 1.25rem; }
.footer-facebook { background-color: #1877F2; }
.footer-twitter { background-color: #1DA1F2; }
.footer-linkedin { background-color: #0A66C2; }
.footer-pinterest { background-color: #E60023; }
.footer-email { background-color: #7f8c8d; }

.stacked-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}
.stacked-avatars img:first-child { margin-left: 0; }

.spin-wheel-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(var(--maroon) 0% 12.5%, var(--dark-green) 12.5% 25%, var(--offbeat-orange) 25% 37.5%, #f1c40f 37.5% 50%, var(--maroon) 50% 62.5%, var(--dark-green) 62.5% 75%, var(--offbeat-orange) 75% 87.5%, #f1c40f 87.5% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.modal-close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
}
.modal-close-button:hover, .modal-close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* --- Dropdown Menu Styles (for Destinations) --- */
.nav-dropdown-group {
    position: relative;
}

.nav-dropdown-button {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.nav-dropdown-content a {
    color: var(--text-gray-secondary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.nav-dropdown-content a:hover {
    background-color: #FDF2F2;
    color: var(--dark-green);
}

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

/* Mobile dropdown tweak */
@media (max-width: 768px) {
    .mobile-submenu {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
}
