:root {
    --primary-color: #008080; /* Teal */
    --secondary-color: #f4f4f4; /* Light Gray */
    --dark-color: #333333;
    --light-color: #ffffff;
    --font-family-headings: 'Lora', serif;
    --font-family-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-family-headings);
    font-weight: 600;
    line-height: 1.2;
}

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

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

/* Header */
header {
    background: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

header .logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0, 128, 128, 0.8), rgba(0, 128, 128, 0.8)), url('https://images.unsplash.com/photo-1516543144962-d2a84a2305c2?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 6rem 0;
}

#hero h2 {
    font-size: 3rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--secondary-color);
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 2;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Booking Section */
.booking-content {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.form-container, .payment-container {
    flex: 1;
}

#appointment-form {
    display: flex;
    flex-direction: column;
}

#appointment-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#appointment-form input,
#appointment-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family-body);
}

#appointment-form input#date {
    background-color: var(--light-color);
    cursor: pointer;
}

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-height: 50px;
}

.time-slots-placeholder {
    grid-column: 1 / -1; /* Span all columns */
    text-align: center;
    color: #666;
    align-self: center;
    margin: 0;
}

.time-slot {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: var(--light-color);
}

.time-slot:hover {
    background-color: #e0f2f1;
    border-color: var(--primary-color);
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

#appointment-form button {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: var(--light-color);
}

#appointment-form button:hover {
    background-color: #006666;
}

#form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}
#form-message.success {
    background-color: #e0f2f1;
    color: #004d40;
}
#form-message.hidden {
    display: none;
}

/* Payment Container */
.payment-container {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
}

.payment-button {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.3s ease;
}

.payment-button:hover {
    opacity: 0.9;
}

.payment-button.paypal {
    background-color: #00457C;
}

.payment-button.payu {
    background-color: #7DCD40;
}

.payment-container small {
    display: block;
    text-align: center;
    color: #666;
    margin-top: -0.5rem;
}


/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media(max-width: 768px) {
    h2 { font-size: 2rem; }
    #hero h2 { font-size: 2.5rem; }

    header .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .booking-content {
        flex-direction: column;
    }
}