/* ========================================
   Saayman Chiropractic - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --green-primary: #cce1b3;
    --white: #ffffff;
    --dark-gray: #686566;
    --medium-gray: #949392;
    --light-gray: #cecdcd;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* ========================================
   Top Banner
   ======================================== */

.top-banner {
    width: 100%;
    background: var(--white);
    padding: 20px 0 40px 0;
    margin: 0;
}

.banner-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: var(--white);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    padding: 0;
    margin: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--green-primary);
}

.nav-link.active {
    color: #000000;
    font-weight: 800;
}

.btn-contact {
    background: var(--green-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: capitalize;
    transition: var(--transition);
}

.btn-contact:hover {
    background: #b8d19a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spine-illustrations {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 10px;
}

.spine-icon svg {
    width: 150px;
    height: 200px;
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.section-title {
    font-size: 48px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.section-title span {
    color: var(--green-primary);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-image img {
    border-radius: 0;
    box-shadow: none;
}

/* ========================================
   What We Do Section
   ======================================== */

.what-we-do-section {
    padding: 40px 0 80px 0;
    background: var(--light-gray);
    color: var(--white);
    min-height: auto;
    justify-content: flex-start;
    display: block;
}

.section-title-white {
    font-size: 48px;
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 16px;
    line-height: 2.2;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 20px;
    color: var(--white);
}

.benefits-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    margin-top: 30px;
    align-items: center;
}

.benefits-image {
    display: flex;
    justify-content: center;
}

.image-card {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.knee-illustration,
.spine-illustration {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0;
    display: block;
}

.image-caption {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--dark-gray);
}

.benefits-title {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
}

.benefits-intro {
    font-size: 16px;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: disc;
    padding-left: 20px;
}

.benefits-list li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* ========================================
   Quick Links Section
   ======================================== */

.quick-links {
    padding: 80px 0;
    background: var(--white);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.link-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.link-card:hover {
    background: var(--green-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.link-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.link-card p {
    font-size: 14px;
    color: var(--dark-gray);
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    background: var(--light-gray);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header.pediatric-header,
.page-header.team-header {
    background: var(--medium-gray);
}

.page-header.pediatric-header .page-title,
.page-header.team-header .page-title {
    color: var(--white);
}

.page-title {
    font-size: 56px;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ========================================
   Services Content
   ======================================== */

.services-content {
    padding: 80px 0;
}

.services-layout {
    display: grid;
    grid-template-columns: auto 2fr;
    gap: 30px;
    align-items: end;
}

.services-image img {
    border-radius: 0;
    box-shadow: none;
    max-width: 400px;
    width: 100%;
    height: auto;
}

.services-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.column-title {
    font-size: 28px;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.column-intro {
    font-size: 16px;
    margin-bottom: 15px;
}

.service-list {
    list-style: disc;
    padding-left: 20px;
}

.service-list li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

/* ========================================
   Pediatric Content
   ======================================== */

.pediatric-content {
    padding: 60px 0;
    background: var(--medium-gray);
    color: var(--white);
}

.intro-section {
    margin-bottom: 60px;
}

.intro-text-white {
    font-size: 16px;
    line-height: 2.2;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 20px;
    color: var(--white);
}

.pediatric-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.pediatric-image {
    display: flex;
    justify-content: center;
}

.benefits-title-white {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
}

.benefits-list-white {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.benefits-list-white li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.closing-text {
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
}

/* ========================================
   What to Expect
   ======================================== */

.first-visit-section {
    padding: 80px 0;
}

.visit-steps {
    max-width: 1000px;
    margin: 0 auto;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.step-title {
    font-size: 24px;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.step-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-list {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.step-list li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.step-image {
    text-align: center;
    margin: 40px 0;
}

.step-image img {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-illustration {
    text-align: center;
    margin-top: 40px;
}

.illustration-caption {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--dark-gray);
}

.expect-layout {
    display: grid;
    grid-template-columns: 2fr auto;
    gap: 30px;
    align-items: end;
    margin-bottom: 0;
}

.expect-layout-second {
    margin-top: 20px;
    align-items: start;
    display: block;
}

.expect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 30px;
    align-items: start;
}

.expect-image-grid {
    grid-row: 1 / 3;
    grid-column: 3;
}

.expect-image-grid img {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    height: auto;
    display: block;
}

.expect-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.expect-image {
    text-align: right;
}

.expect-image img {
    border-radius: 0;
    box-shadow: none;
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* ========================================
   Follow Up Section
   ======================================== */

.followup-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title-center {
    font-size: 48px;
    text-align: center;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.section-intro {
    font-size: 16px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px;
    line-height: 2.2;
}

.followup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.followup-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.card-title {
    font-size: 22px;
    color: var(--green-primary);
    margin-bottom: 15px;
}

.followup-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ========================================
   Team Content
   ======================================== */

.team-content {
    padding: 80px 0;
    background: var(--medium-gray);
}

.team-layout {
    display: grid;
    grid-template-columns: auto 2fr;
    gap: 60px;
    align-items: start;
}

.team-image img {
    border-radius: 0;
    box-shadow: none;
    max-width: 450px;
    width: 100%;
    height: auto;
}

.team-bio {
    color: var(--white);
}

.bio-title {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 400;
}

.team-bio p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-closing {
    font-style: italic;
    font-weight: 500;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    padding-right: 40px;
}

.contact-intro {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item p {
    font-size: 15px;
    line-height: 1.6;
}

.info-item a {
    color: var(--dark-gray);
    text-decoration: underline;
}

.info-item a:hover {
    color: var(--green-primary);
}

/* Contact Form */

.form-title {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(204, 225, 179, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--green-primary);
    color: var(--dark-gray);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background: #b8d19a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Map Section */

.map-section {
    margin-top: 60px;
}

.map-container iframe {
    width: 100%;
    display: block;
}

/* ========================================
   About Page
   ======================================== */

.about-page-content {
    padding: 80px 0;
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
}

.spine-illustrations-about {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.spine-icon-about {
    width: 120px;
    height: 150px;
}

.about-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-title-green {
    font-size: 48px;
    color: var(--green-primary);
    margin-bottom: 30px;
}

.about-text-full p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image-full img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 80px 0;
    background: var(--green-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--dark-gray);
    padding: 15px 40px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--green-primary);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    font-size: 14px;
    color: var(--white);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--green-primary);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--light-gray);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .about-content,
    .benefits-container,
    .services-layout,
    .pediatric-layout,
    .team-layout,
    .contact-layout,
    .about-main {
        grid-template-columns: 1fr;
    }

    .services-layout .services-image {
        text-align: center;
        margin-bottom: 30px;
    }

    .services-layout .services-image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .team-layout .team-image {
        text-align: center;
        margin-bottom: 30px;
    }

    .team-layout .team-image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .followup-grid {
        grid-template-columns: 1fr;
    }

    .step-row {
        grid-template-columns: 1fr;
    }

    .expect-layout {
        grid-template-columns: 1fr;
    }

    .expect-columns {
        grid-template-columns: 1fr;
    }

    .expect-layout .expect-image {
        text-align: center;
        margin-top: 30px;
    }

    .expect-layout .expect-image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-title {
        font-size: 36px;
    }

    .section-title,
    .section-title-white,
    .section-title-center {
        font-size: 32px;
    }

    .spine-illustrations {
        gap: 30px;
    }

    .spine-icon svg {
        width: 100px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .spine-illustrations {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========================================
   Single Page Scrolling Sections
   ======================================== */

.full-page {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px 0;
}

.hero-section {
    background: var(--white);
    padding: 0;
    min-height: auto;
    justify-content: flex-start;
}

.about-content-home {
    padding: 0 0 40px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr auto;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid .about-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-grid .about-image img {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-grid .section-title {
    color: var(--green-primary);
}

.services-section {
    background: var(--white);
    padding: 40px 0 80px 0;
    min-height: auto;
    justify-content: flex-start;
}

.page-title-light {
    font-size: 56px;
    color: var(--green-primary);
    margin-bottom: 20px;
    text-align: center;
}

.page-subtitle-light {
    font-size: 18px;
    max-width: 1000px;
    margin: 0 auto 30px;
    line-height: 2.2;
    color: var(--dark-gray);
    text-align: center;
}

.pediatric-section {
    background: var(--medium-gray);
    color: var(--white);
    display: block;
}

.page-title-white {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 40px;
    text-align: center;
}

.expect-section {
    background: var(--white);
}

.team-section {
    background: var(--medium-gray);
}

.contact-page-section {
    background: var(--white);
}

.followup-content {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--light-gray);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-grid .about-image {
        order: 2;
        margin-top: 30px;
    }

    .about-grid .about-text {
        order: 1;
    }

    .about-grid .about-image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .full-page {
        min-height: auto;
        padding: 60px 0;
    }

    .page-title-light,
    .page-title-white {
        font-size: 36px;
    }
}
