:root {
    --green: #3a9c80;
    --green-light: #d4f2e7;
    --text-dark: #333;
    --text-light: #777;
    --accent: #f6b20e;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    background: #f7f9f8;
    padding-top: 80px; /* Prevent content from hiding under topbar */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Header */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap; /* allow wrapping on small screens */
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.logo a {
    text-decoration: none;
    color: var(--green);
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    margin: 0.3rem 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 4px;
}

nav a.active {
    color: var(--accent);
}

nav a:hover {
    color: var(--green);
}

.hover-underline {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.hover-underline::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.hover-underline:hover::after,
.hover-underline.active::after {
    transform: scaleX(1);
}

.book-button {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.book-button a {
    border: 2px solid transparent;
    background: var(--green);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.book-button a:hover {
    background: #2f7d66;
}

.btn-nav {
    background: var(--green);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-nav.hover-underline::after {
    background-color: white;
    width: 70%;
    bottom: 4px;
    left: 15%;
}

.page-title {
    text-align: center;
    color: var(--green);
}

.item-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.item-list li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}
.item-list li::before {
    content: "•";
    color: var(--green);
    position: absolute;
    left: 0;
}

/* Social links */
.social-links {
    text-decoration: none;
    color: var(--green);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem; /* space between icon and text */
}

.social-links:hover {
    text-decoration: underline;
}

.social-links img {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.social-links-container {
    display: flex;
    gap: 1rem; /* space between links */
    flex-wrap: wrap;
}

.social-links-container .social-links {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Footer */
.site-footer {
    background: #e8f5f1;
    color: var(--text-dark);
    font-size: 0.9rem;
    padding: 1rem 0 2rem;
}

.footer-grid {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h3 {
    margin: 0;
    color: var(--green);
    font-size: 1.1rem;
}

/* ===================== */
/* Responsive Adjustments */
/* ===================== */

@media (max-width: 768px) {
    body {
        padding-top: 110px;
    }

    .book-button {
        justify-content: center;
    }

    .topbar .container {
        flex-direction: column;
        align-items: center;
    }

    nav {
        justify-content: center;
    }

    .social-links-container {
        justify-content: center;
    }

    .footer-grid {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 135px;
    }

    nav a {
        font-size: 0.9rem;
    }
}
