header {
    margin: 0;
    padding: 1rem 0;
}

body {
    margin: 0;
}

#header {
    margin: 0;
    padding: 0;
}
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

header,
footer,
.banner {
    background-color: teal;
    color: white;
    text-align: center;
}

header {
    padding: 1rem;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.banner {
    padding: 3rem 1rem;
}

.reviews-section,
.blog-posts,
.about-section,
.contact-info {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
}

.review,
.post,
.about-section,
.contact-form form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.review h3,
.post h2 {
    color: #333;
    margin-top: 0;
}

.about-section h2 {
    color: teal;
    margin-top: 0;
}

.review-date,
.post-date {
    font-style: italic;
    color: #666;
}

.review p,
.post p,
.about-section p {
    text-align: left;
    line-height: 1.7;
}

.post a {
    color: teal;
    text-decoration: none;
    font-weight: bold;
}

.post a:hover,
nav ul li a:hover {
    text-decoration: underline;
}

.contact-form {
    padding: 1rem;
}

.contact-form form {
    max-width: 500px;
    margin: 2rem auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form button {
    background-color: teal;
    color: white;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
}

.contact-form button:hover {
    opacity: 0.9;
}

footer {
    padding: 1rem;
    margin-top: 2rem;
}

/* Blog formatting */
.blog-content {
    max-width: 760px;
    margin: 2rem auto;
    padding: 1rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.blog-content p {
    margin: 0 0 1.25rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-content a {
    color: teal;
    word-break: break-word;
}

/* Mobile */
@media screen and (max-width: 600px) {
    header .logo {
        font-size: 1.25rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .banner {
        padding: 2rem 1rem;
    }

    .reviews-section,
    .blog-posts,
    .about-section,
    .contact-info,
    .blog-content {
        margin: 1rem auto;
        padding: 1rem;
    }

    .review,
    .post,
    .about-section,
    .contact-form form {
        padding: 1rem;
    }

    .blog-content {
        font-size: 1rem;
        line-height: 1.65;
    }
}
/* Fix page centering */
main {
    width: 100%;
}

.blog-posts,
.reviews-section,
.about-section,
.contact-info {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Center blog card content like before */
.post {
    text-align: center;
}

.post {
    text-align: center;
}

.post p {
    text-align: center;
}

/* Keep blog centered but controlled */
.blog-content {
    max-width: 760px;
    margin: 2rem auto;
    text-align: center;
}

.blog-content p {
    text-align: center;
}

/* Keep long blog text readable */
.blog-content {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Center images */
.post img,
.blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
}

/* Center buttons/links */
.post > p:last-child {
    text-align: center;
}

/* Mobile spacing fix */
@media screen and (max-width: 600px) {
    .blog-posts,
    .reviews-section,
    .about-section,
    .contact-info {
        width: 100%;
        padding: 1rem;
        margin: 1rem auto;
    }

    .post {
        width: 100%;
    }
}
/* Blog image resizing */
.post img,
.blog-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    margin: 1.5rem auto;
    border-radius: 10px;
}

/* Hero image specifically */
.post > img {
    max-width: 700px;
    width: 100%;
}

/* Mobile image fix */
@media screen and (max-width: 600px) {
    .post img,
    .blog-content img {
        max-height: 300px;
    }
}
footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== LEGAL PAGE FIX ===== */
.legal-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.legal-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #333;
    text-align: left; /* 👈 important */
}

.legal-card h1 {
    text-align: center;
    color: teal;
    margin-top: 0;
}

.legal-card h2 {
    color: teal;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal-card p {
    text-align: left;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-date {
    text-align: center !important;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

/* Mobile fix */
@media screen and (max-width: 600px) {
    .legal-page {
        padding: 1rem;
    }

    .legal-card {
        padding: 1.25rem;
    }

    .legal-card h1 {
        font-size: 1.6rem;
    }

    .legal-card h2 {
        font-size: 1.2rem;
    }
}