/* style.css */
.nav-btn {
    color: var(--text);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    position: relative;
}

.nav-btn:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    width: 100%;
    background-color: var(--accent);
}

:root {
    --accent: #10146c;
    --light-bg: #f9f9f9;
    --text: #222;
    --heading: #111;
    --backgrd-cl: #EEEDE4;
    --backgrd-gr: #57846D;
    --backgrd-bl: #3F5779;
    --backgrd-yl: #E8E2C9;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: var(--backgrd-yl);
    color: var(--text);
}

a {
    color: var(--accent);
}

.site-header {
    background-color: var(--backgrd-cl);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.site-title {
    color: var(--accent);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 250;
    font-family: 'Lexend Peta', sans-serif;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 55px; /* Adjust as needed */
    width: auto;
}

nav {
    display: flex;
    gap: 1.5rem;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--accent);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .site-title {
        font-size: 1rem;
    }

    .logo {
        height: 40px; /* Adjust as needed */
        width: auto;
    }

    .burger {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 1rem;
    }

    nav.active {
        display: flex;
    }

    .nav-btn {
        margin-left: 0;
        padding: 0.5rem 0;
        font-size: 1rem;
    }
}

/* --- Hero Section --- */
.hero {
    background: url("hero.jpg") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    text-transform: uppercase;
    max-width: 420px;
    margin: 0 auto 2rem auto;
    color: var(--light-bg);
    font-family: 'Lexend Peta', sans-serif; /*CHANGE THIS FONT*/
}

/* --- Button --- */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--backgrd-bl); /* deep blue */
    color: white;
    text-decoration: none;
    border-radius: 0.3rem;
    font-size: 1.3rem;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #15338c;
}

/* ABOUT section */
.about {
    padding: 3rem;
    background-color: var(--backgrd-yl);
}

.about .narrow {
    max-width: 1100px;
    margin: 0 auto;
    text-align:left;
}

.about h2 {
    font-size: 2.5rem;
    padding-bottom: 1.5rem;
    color: var(--accent);
    text-align: left;
}

.about p {
    color: var(--accent);
    text-align: left;
    margin-top: 1rem;
}

.about .about-content {
    display: flex;
    align-items: flex-start; /* top-align text + image */
    gap: 6rem;
    flex-wrap: wrap; /* stack on smaller screens */
}

.about .about-text {
    flex: 1 1 600px; /* text grows/shrinks */
}

/* image styling */
.about .about-image {
    flex: 0; /* fixed width */
}

.about .about-image img {
    width: auto;
    max-height: 350px;
    height: 100%;
    display: block;
}

/* RESPONSIVE: stack vertically and center image */
@media (max-width: 1200px) {
    .about .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center; /* optional: center text on small screens */
    }

    .about .about-text {
        flex: 1 1 100%;
    }

    .about .about-image {
        flex: 1 1 100%;
        max-width: 90%;
    }
}

/* PROCESS: centered title with 4 icon steps */
.process{
    padding: 3rem 0;
    text-align:center;
    background-color: var(--backgrd-gr);
}
.process h2{
    font-size: 2rem;
    color: var(--light-bg);
}
.process .steps{
    display:flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items:flex-start;
}

.proc-step{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap: .75rem;
    padding: 1.5rem;
}

.process .proc-step p{
    color: var(--light-bg);
}

.proc-step img{ width:100px; height:100px; object-fit:contain; }

.process .subtitle{
    margin-top:1.25rem;
    font-style: italic;
    font-size: .95rem;
    color: var(--light-bg);
}

@media (max-width: 900px) {
    .process .steps {
        display: block;
        text-align: center;
    }

    .proc-step {
        display: inline-block;
        width: auto;
        max-width: 90%;
        margin: 1rem 0;
    }
}


/* CONSULTATION: centered content block with constrained width*/
.consultation{
    padding: 3rem;
    background-color: var(--backgrd-bl);
}
.consultation .narrow{
    max-width: 1100px;
    margin: 0 auto;
    text-align:left;
}

.consultation h2{
    font-size: 2rem;
    color: var(--light-bg);
    padding-bottom: 1.5rem;
    text-align: left;
}

.consultation p{
    color: var(--light-bg);
    text-align: left;
    margin-top: 1rem;
}

.consultation .consultation-content {
    display: flex;
    align-items: flex-start; /* top-aligned */
    gap: 6em; /* space between text and image */
    flex-wrap: wrap; /* allows stacking on smaller screens */
}

.consultation .consultation-text {
    flex: 1 1 400px; /* grows, shrinks, minimum width */
}

.consultation .consultation-image {
    flex: 0 0 400px; /* fixed width for image */
}

.consultation .consultation-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

@media (max-width: 1000px) {
    .consultation .consultation-content {
        flex-direction: column; /* stack text and image vertically */
        align-items: center;    /* center items horizontally */
        text-align: center;     /* optional: center text too */
    }

    .consultation .consultation-text {
        flex: 1 1 100%;
    }

    .consultation .consultation-image {
        flex: 1 1 100%;
        max-width: 90%; /* keeps image from being too wide */
    }
}

/* TESTS: mirror layout of consultation */
.tests {
    padding: 3rem;
    background-color: var(--backgrd-bl);
}

.tests .narrow {
    max-width: 1100px;
    margin: 0 auto;
    text-align: right; /* text right-aligned */
}

.tests h2 {
    font-size: 2rem;
    color: var(--light-bg);
    padding-bottom: 1.5rem;
    text-align: right;
}

.tests p {
    color: var(--light-bg);
    margin-top: 1rem;
    text-align: right;
}

/* Image + bullet list layout */
.tests-main {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tests-image {
    flex: 0 0 300px; /* fixed width for image */
}

.tests-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.tests-prep {
    flex: 1 1 400px; /* text grows/shrinks */
    text-align: right;
}

.tests-prep h3 {
    margin-bottom: 0.75rem;
    color: var(--light-bg);
}

.tests-prep ul {
    padding-left: 1.5rem;
    list-style-position: inside;
}

/* Registration centered below */
.tests-registration {
    text-align: center;
    margin-top: 5rem;
    color: var(--light-bg);
}

.tests-registration p {
    text-align: center; /* force paragraphs to center */
    margin: 0.5rem 0;   /* optional spacing */
}

.tests .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--light-bg);
    color: var(--accent);
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    border-radius: 0.3rem;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.tests-note {
    font-size: 0.8rem;
    color: var(--light-bg);
    display: block; /* ensures it's centered */
    text-align: center;
}

/* Responsive: stack image + list, center image */
@media (max-width: 1000px) {
    .tests-main {
        flex-direction: column;
        align-items: center; /* center image horizontally */
        text-align: center; /* center text too if desired */
    }

    .tests-prep {
        flex: 1 1 100%;
    }

    .tests-image {
        flex: 1 1 100%;
        max-width: 90%;
    }
}


/* TESTIMONIALS: grid of three columns */
.testimonials{
    background-color: var(--backgrd-yl);
    padding: 2rem;
}
.testimonials .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}
blockquote {
    margin: 0;
    padding: 1.25rem;
    line-height: 1.4;
    border-left: 4px solid var(--backgrd-gr);
    background: var(--backgrd-yl);
}

/* GROUP consultations (simple centered block) */
.group-consultations {
    background: var(--backgrd-gr);
    color: var(--light-bg);
    padding: 3rem;
    text-align: center;
}

.group-consultations p {
    text-align: center;
    max-width: 1100px;
    margin: auto ;
    margin-top: 2rem;
}

.group-consultations ul {
    list-style: disc inside; /* bullets aligned with text */
    padding-left: 1.25rem;   /* small indent */
    margin: 1rem auto;
    display: inline-block;   /* keeps list centered under heading */
    text-align: left;        /* so bullets align with text */
}

/* Responsiveness */
@media (max-width: 980px){
    .about, .tests{ grid-template-columns: 1fr; }
    .about .img-frame{ width: 280px; height: 280px; margin: 1rem auto 0; }
    .process .steps{ flex-direction: row; gap:1rem; overflow-x:auto; padding: .5rem 1rem; }
    .testimonials .testimonial-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
    .hero{ min-height: 44vh; }
    .hero-title{ font-size: 1.6rem; }
    .process .steps{ gap:1rem; }
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    flex-wrap: wrap;
    max-width: 650px;
    padding: 0 1rem; /* ✅ add this */
}

.step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--backgrd-cl);
    color: var(--text);
    border: 1px solid var(--backgrd-bl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step.completed .circle {
    background-color: var(--backgrd-bl);
    color: white;
}

.line {
    flex: 1;
    height: 4px;
    background-color: var(--backgrd-cl);
    margin: 0 5px;
    min-width: 30px;
}

.line.completed {
    background-color: var(--backgrd-bl);
}

@media (max-width: 600px) {
    .stepper {
        gap: 0.5rem;
        justify-content: center; /* keep it centered */
    }

    .circle {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .step p {
        font-size: 0.60rem;
    }

    .line {
        height: 3px;
        margin: 0 3px;
        max-width: 15px; /* not too long */
        min-width: 7px;
    }
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.service-card {
    background: var(--backgrd-cl);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);

    display: flex;
    flex-direction: column; /* stack children */
}

.service-card h3 {
    margin-top: 0;
}

.book-button {
    margin-top: auto;       /* pushes button to bottom */
    align-self: center;     /* optional: center horizontally */
    padding: 0.5rem 1rem;
    background: var(--backgrd-bl);
    color: var(--light-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form {
    max-width: 400px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: var(--backgrd-cl);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

form h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Feedback message under promo field */
.promo-message {
    font-size: 0.7rem;
    color: var(--text);
}

.promo-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

form input {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
    background-color: var(--backgrd-cl);
}

form input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--backgrd-cl);
}

form label {
    display: block;
    font-size: 0.85rem;      /* smaller size */
    color: var(--text);             /* subtle gray */
    font-weight: 600;        /* slightly bolder for clarity */
}

/* Specific styling for date input */
input[type="date"] {
    appearance: none;             /* Remove native styling (limited support) */
    -webkit-appearance: none;     /* Remove iOS default look */
    background-color: var(--backgrd-cl);
    color: var(--text);
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    cursor: pointer;
}

/* Optional: Add calendar icon for non-iOS browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(35%) sepia(100%) saturate(1000%) hue-rotate(250deg);
    cursor: pointer;
}

/* Remove inner padding or arrows (may be visible on some Android devices) */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
    display: none;
}

.logo {
    font-weight: bold;
    font-size: 1.25rem;
}

.date-time-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.date-time-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.calendar-container, .time-slots-container {
    flex: 1;
    text-align: center;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-day {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.4rem;
    background: white;
    cursor: pointer;
}

.calendar-day.selected {
    background: var(--backgrd-bl);
    color: var(--light-bg);
}

.date-time-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.calendar-container {
    max-width: 320px;
}

.time-slots-container {
    max-width: 320px;
    padding-top: 4.5rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.time-slot {
    padding: 0.5rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    width: 120px;
}

.time-slot.selected {
    background: var(--backgrd-bl);
    color: var(--light-bg);
}

.next-button {
    padding: 0.7rem 2rem;
    margin-top: 1rem;
    background-color: var(--backgrd-bl);
    color: var(--light-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.next-button:hover {
    background-color: #ccc; /*TODO: change to light blue*/
}

.back-button {
    padding: 0.7rem 2rem;
    margin-top: 1rem;
    background-color: #ddd;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.back-button:hover {
    background-color: #ccc;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.button-group .back-button,
.button-group .next-button {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    max-width: 13rem;
    min-width: 10rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 2rem);
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.calendar-day.disabled {
    background: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
}

.confirmation-details p {
    font-size: 1rem;
    margin: 0.4rem 0;
}

h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;       /* horizontal centering */
    justify-content: center;   /* vertical centering if container has height */
    gap: 20px;                 /* space between elements */
    min-height: 200px;         /* optional: to have vertical centering */
    text-align: center;        /* center text */
}

.thank-you-container button {
    width: 150px;              /* fix button width to match others */
    padding: 10px 0;
    font-size: 16px;
}

.note {
    max-width: 400px;
    margin: 0.75rem auto 0 auto; /* some space above, centered */
    text-align: center;
    color: var(--accent);
    font-weight: 600;
}

.small-note {
    font-size: 0.8rem;
    text-align: left;
    color: #333333;
}

.weekday-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    max-width: 283px;
    margin: 0 auto;
    gap: 4px;
    text-align: center;
}

.weekday-label {
    padding: 2px 0;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;

}

.time-slot:disabled {
    background: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
}

/* Layout inside the box */
#confirmation-form .button-group,
#details-form .button-group {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

#confirmation-form .note {
    font-size: 0.875rem;
    margin-top: 8px;
    color: #6b7280;
}

/* Ensure the page can actually scroll to the bottom */
html, body {
    height: auto;
    overflow-y: auto;
}

/* If your main app container was blocking scroll, let it pass through */
#app, main, .page, .content, .steps-container {
    min-height: 100vh;
    overflow: visible; /* or overflow-y: auto; if you prefer internal scrolling */
}

/* Defensive fix if some global style set overflow:hidden somewhere */
body {
    overflow-y: auto !important;
}


/* --------------------------------ABOUT US PAGE ------------------------------------*/

/* === Bio Page (Apie Mus) === */
.bio-section {
    background-color: var(--backgrd-yl);
    padding: 4rem 17rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent);
}

.bio-container {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
}

.bio-photo {
    flex: 0 0 260px;
    text-align: center;
}

.bio-photo img {
    width: 100%;
    object-fit: cover;
}

.bio-name {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 5rem;
    color: var(--backgrd-gr);
    text-align: left;
    font-family: 'Lexend Peta', sans-serif;
}

.bio-specialisation {
    color: var(--backgrd-gr);
    text-align: left;
    font-size: 1.4rem;
    margin-top: 0.05rem
}

.bio-title {
    display: flex;
    flex-direction: column; /* stack name and icons vertically */
    justify-content: flex-start;
}

.bio-content {
    flex: 1;
    min-width: 280px;
}

.bio-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 4rem;
}

.bio-content p {
    line-height: 1.6;
    color: var(--accent);
    margin-top: 0.5rem;
}

/* Responsive layout */
@media (max-width: 1200px) {
    .bio-section {
        padding: 3rem 7rem;
    }

    .bio-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .bio-content {
        text-align: left;
    }

    .bio-name {
        font-size: 1.5rem;
        font-weight: 600;
        margin-top: 0.2rem;
    }

    .bio-specialisation {
        font-size: 1.2rem;
    }
}

/* Social media buttons */
.social-icons {
    display: flex;
    gap: 12px;
    color: #000000; /* default icon color */
    margin-top: 1rem;
}

.social-icons.light svg {
    color: white;
}

.social-icons.accent svg {
    color: var(--accent);
}

.social-icons.dark svg {
    color: #555;
}

.social-icons.green svg {
    color: var(--backgrd-gr);
}

/* Horizontal alignment */
.social-icons.left {
    justify-content: flex-start;
}

.social-icons.center {
    justify-content: center;
}

.social-icons.right {
    justify-content: flex-end;
}

/* Vertical alignment */
.social-icons.top {
    align-items: flex-start;
}

.social-icons.middle {
    align-items: center;
}

.social-icons.bottom {
    align-items: flex-end;
}


.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Optional hover effect */
.icon-btn:hover {
    opacity: 0.7;
}


