﻿:root {
    --red: #e94b4b;
    --aqua: #a6e8ea;
    --cream: #fffbe6;
    --black: #222;
    --white: #fff;
    --light-gray: #e8e8e8;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--light-gray);
    color: var(--black);
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--black);
    padding: 32px 40px 16px 40px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: var(--aqua);
    text-shadow: 2px 2px var(--red);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

    .nav-link.active,
    .nav-link:hover {
        border-bottom: 2px solid var(--red);
    }

.book-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 1rem;
    text-decoration: none;
    margin-left: 16px;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s cubic-bezier(.4,2,.3,1), box-shadow 0.2s;
}

    .book-btn:hover {
        background: var(--aqua);
        color: var(--black);
        transform: scale(1.07);
        box-shadow: 0 6px 20px rgba(233, 75, 75, 0.2);
    }

.main-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 0;
}

.left-col {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 460px;
    margin-right: 0;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.1;
    color: var(--red);
}

.desc {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: var(--black);
}

.main-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 4px;
    margin-top: 12px;
    box-shadow: 0 4px 24px rgba(233,75,75,0.10);
    background: var(--cream);
}

.right-col {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.appointment-widget {
    background: var(--aqua);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 32px 24px 32px;
    min-width: 320px;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: 20px;
    border: 2px solid var(--red);
}

.appt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.select-appt {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--red);
}

.auth-links {
    display: flex;
    gap: 16px;
}

.auth-link {
    color: var(--black);
    font-size: 1rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

    .auth-link:hover {
        opacity: 1;
    }

.service-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cream);
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1.5px solid var(--aqua);
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 2px;
}

.service-duration {
    font-size: 0.98rem;
    color: #555;
}

.service-book-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    transition: transform 0.2s cubic-bezier(.4,2,.3,1), box-shadow 0.2s;
}

    .service-book-btn:hover {
        background: var(--aqua);
        color: var(--black);
        transform: scale(1.07);
        box-shadow: 0 6px 20px rgba(233, 75, 75, 0.2);
    }

.powered-by {
    text-align: center;
    font-size: 0.93rem;
    color: #888;
    margin: 24px;
}

    .powered-by span {
        font-weight: 700;
        color: #222;
        font-size: 1.05rem;
    }

/* --- Responsive Design for Appointments Page --- */
@media (max-width: 1100px) {
    .main-content {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 32px 0;
    }

    .left-col, .right-col {
        max-width: 100%;
        width: 100%;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .main-image {
        max-width: 350px;
    }

    .appointment-widget {
        margin-left: 0;
        min-width: 0;
        width: 100%;
        max-width: 480px;
    }
}

@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        gap: 24px;
        padding: 24px 0;
    }

    .main-image {
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        padding: 16px 8px;
        gap: 12px;
    }

    .logo {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    nav {
        gap: 12px;
        flex-wrap: wrap;
    }

    .book-btn {
        width: 100%;
        margin: 8px 0 0 0;
        padding: 10px 0;
        transition: transform 0.2s cubic-bezier(.4,2,.3,1), box-shadow 0.2s;
    }

    .main-content {
        padding: 12px 0;
        gap: 16px;
    }

    .page-title {
        font-size: 2rem;
    }

    .main-image {
        max-width: 98vw;
        width: 100%;
        height: auto;
    }

    .appointment-widget {
        padding: 16px 12px 12px 12px;
        min-width: unset;
        max-width: 98vw;
    }

    .service-row {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 8px;
        gap: 8px;
    }

    .service-book-btn {
        width: 100%;
        font-size: 1rem;
        padding: 10px 0;
        transition: transform 0.2s cubic-bezier(.4,2,.3,1), box-shadow 0.2s;
    }
}

/* Ensure box-sizing for all elements */
*, *::before, *::after {
    box-sizing: border-box;
}


button, .book-btn, .service-btn, .service-book-btn, .nav-link {
    min-width: 44px;
    min-height: 44px;
    font-size: 1.1rem;
    padding: 12px 20px;
}

@media (max-width: 600px) {
    .book-btn, .service-btn, .service-book-btn {
        width: 100%;
    }
}
