:root {
    --color-white: 255, 255, 255;
    --color-black: 0, 0, 0;
    --color-near-black: 51, 51, 51;
    --color-accent-blue: 151, 192, 232;
    --color-off-white: 247, 247, 247;
    --color-pale-teal: 192, 241, 239;
    --color-dark-grey: 33, 33, 33;

    --site-width: 980px;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: rgb(var(--color-near-black));
    background-color: rgb(var(--color-white));
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

header {
    background-color: rgb(var(--color-white));
    padding-top: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
}

.logo-container {
    margin-right: 20px;
    margin-bottom: 0;
}

.logo-container img {
    width: 100px;
    height: 60px;
    object-fit: contain;
}

.title-group {
    flex: 1;
}

h1 {
    font-weight: 200;
    font-size: 42px;
    line-height: 1.2em;
    margin-bottom: 0;
}

.tagline {
    font-size: 16px;
    line-height: 1.4em;
    color: rgb(var(--color-dark-grey));
    margin-bottom: 0;
}

.header-line {
    border-top: 1px solid rgb(var(--color-black));
    width: 100%;
    margin: 0;
}

nav {
    background: rgb(var(--color-white));
    border-bottom: 1px solid rgba(var(--color-black), 0.1);
}

nav ul {
    max-width: var(--site-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    list-style: none;
    padding: 15px 20px;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    color: rgb(var(--color-near-black));
    text-decoration: none;
    font-size: 14px;
    transition: color 0.4s ease;
}

nav ul li a:hover, p a:hover {
    color: rgb(var(--color-accent-blue));
}

p a {
    color: inherit;
    text-decoration: underline;
}

section {
    padding: 80px 0;
    width: 100%;
    scroll-margin-top: 150px;
}

.section-content {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

#wat-is-acupunctuur { background-color: rgb(var(--color-off-white)); }
#indicaties { background-color: rgb(var(--color-white)); }
#over-suzy { background-color: rgb(var(--color-off-white)); padding-top: 0; }
#massage { background-color: rgb(var(--color-white)); padding: 0; }
#massage .section-content { padding-top: 80px; padding-bottom: 80px; }
#massage .section-content:first-of-type { padding-top: 80px; padding-bottom: 0; }
#massage .section-content:last-of-type { padding-top: 0; padding-bottom: 80px; }
#massage .section-content:nth-of-type(2) { padding-top: 40px; padding-bottom: 0; }

.section-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

#cupping { background-color: rgb(var(--color-off-white)); padding-top: 0; }
#tarieven { background-color: rgb(var(--color-white)); }

#hero {
    padding: 0;
    height: 400px;
    background-image: url('img/wat-is-acupunctuur.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    scroll-margin-top: 130px;
}

#action {
    margin: 0;
    padding: 0;
    height: 100px;
    background: rgb(var(--color-pale-teal));
}

.action-button {
    height: fit-content;
    padding: 10px 20px;
    font-size: 14px;
    background-color: black;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #333;
}

h2 {
    font-weight: 200;
    font-size: 40px;
    margin-bottom: 30px;
}

h3 {
    font-weight: 400;
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
}

ul.indications {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

ul.indications > li {
    margin-bottom: 10px;
}

ul.indications > li strong {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 5px;
    color: rgb(var(--color-near-black));
}

.contact-info {
    text-align: center;
    background: rgb(var(--color-pale-teal));
    color: rgb(var(--color-near-black));
    padding: 40px 60px;
    margin: 40px auto 0;
    max-width: 600px;
}

.contact-info a {
    color: rgb(var(--color-near-black));
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: underline;
}

.price-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    margin-bottom: 30px;
}

.price-list td {
    padding: 15px 0;
    border-bottom: 1px solid rgba(var(--color-black), 0.1);
    font-size: 18px;
}

.price-list td:last-child {
    text-align: right;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 60px 20px;
    background: rgb(var(--color-white));
    color: rgb(var(--color-dark-grey));
    font-size: 14px;
    border-top: 1px solid rgba(var(--color-black), 0.1);
}

footer .section-content {
    display: block;
}

/* Blog List Styles */
.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.blog-table th, .blog-table td {
    text-align: left;
    padding: 20px;
    border-bottom: 1px solid rgba(var(--color-black), 0.1);
}

.blog-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    color: rgb(var(--color-accent-blue));
}

.blog-table tr {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-table tr:hover {
    background-color: rgb(var(--color-off-white));
}

.blog-table td.date {
    white-space: nowrap;
    width: 150px;
    font-size: 14px;
}

.blog-table td.summary {
    font-size: 16px;
}

.blog-table td.categories {
    font-size: 14px;
    font-style: italic;
    color: rgb(var(--color-dark-grey));
}

.blog-table td.summary strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 400;
}

/* Article Page Styles */
article .section-content {
    padding: 80px 20px;
    display: block;
}

article .section-banner {
    height: 500px;
}

.article-meta {
    margin-bottom: 30px;
}

.category {
    display: block;
    font-weight: 700;
    color: rgb(var(--color-accent-blue));
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 5px;
}

.pub-date {
    display: block;
    font-size: 12px;
    color: rgb(var(--color-dark-grey));
}

.author {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: rgb(var(--color-near-black));
    margin-bottom: 2px;
}

.media-author {
    margin: 0 20px;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: rgb(var(--color-near-black));
}

.article-body p {
    margin-bottom: 25px;
}

.citations-section {
    border-top: 1px solid rgba(var(--color-black), 0.1);
    padding: 40px 0;
    background-color: rgb(var(--color-white));
}

.citations-section h3 {
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 20px;
}

.citations-section ul {
    list-style-type: none;
    font-size: 14px;
    color: rgb(var(--color-dark-grey));
}

.citations-section ul li {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 980px) {
    #action {
        height: auto;
        padding: 20px 0;
    }
    #call-to-action {
        flex-direction: column;
    }
    section {
        padding: 50px 0;
        scroll-margin-top: 180px;
    }
    .section-content {
        flex-direction: column;
    }
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 20px;
    }
    .logo-container {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .header-content, nav ul, .section-content {
        max-width: 100%;
    }
    #hero {
        height: 250px;
        scroll-margin-top: 150px;
    }
    .section-banner {
        height: 250px;
        margin-bottom: 30px;
    }
    #massage .section-content { padding-top: 50px; padding-bottom: 50px; }
    #massage .section-content:first-of-type { padding-top: 50px; padding-bottom: 0; }
    #massage .section-content:last-of-type { padding-top: 0; padding-bottom: 50px; }
    #massage .section-content:nth-of-type(2) { padding-top: 30px; padding-bottom: 0; }
    
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 19px; }
    ul.indications {
        grid-template-columns: 1fr;
    }

    /* Article page responsive */
    article .section-banner {
        height: 300px;
    }
    article .section-content {
        padding: 50px 20px;
    }
}

@media (max-width: 768px) {
    .blog-table thead {
        display: none;
    }
    .blog-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid rgba(var(--color-black), 0.1);
        padding: 10px;
    }
    .blog-table td {
        display: block;
        width: 100% !important;
        padding: 10px;
        border: none;
    }
    .blog-table td.date {
        font-weight: 700;
        color: rgb(var(--color-accent-blue));
    }
}
