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

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #5d5c61; /* Dark Purple */
    color: white;
    text-align: center;
    padding: 1em 0;
}

header h1 {
    margin-bottom: 0.5em;
}

nav {
    margin-top: 0.5em;
 font-size: 1.25em;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.25em;
}

nav a:hover {
    color: #e0e1dd; /* Lighter shade for hover effect */
}

.intro, .prices {
    background: #b8a9c9; /* Light Purple */
    color: white;
    padding: 2em;
    text-align: center;
}

main {
    padding: 20px;
}

.img1{
    max-width: 45em; /* This ensures the image is never wider than its container */
    height: auto; /* This maintains the aspect ratio of the image */
}

.img2{
    max-width: 20em; /* This ensures the image is never wider than its container */
    height: auto; /* This maintains the aspect ratio of the image */
}

.img3{
    max-width: 30em; /* This ensures the image is never wider than its container */
    height: auto; /* This maintains the aspect ratio of the image */
}

footer {
    background-color: #5d5c61; /* Matching the header */
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Other existing styles... */

/* Adjusted styles for the pricing table */
table {
    width: 40em; /* Narrower table width */
    margin: 20px auto; /* Center the table */
    border-collapse: collapse;
    border: 1px solid #6a5acd; /* Purple border */
    font-size: 1.25em; /* Larger font for readability */
    
}

th, td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #6a5acd; /* Purple line for each row */
    color: #5d5c61; /* Dark purple font color */
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:nth-child(odd) {
    background-color: #e6e6fa; /* Light purple for alternate rows */
}

tr:hover {
    background-color: #dcd0ff; /* Lighter purple for hover effect */
}

/* Modified styling for the note */
.note {
    margin-top: 20px;
    background-color: #b8a9c9; /* Consistent light purple with the main theme */
    color: white; /* White text for better contrast */
    padding: 10px;
    border-radius: 5px;
}

/* Booking form styling */
.booking {
    text-align: center;
    background-color: #b8a9c9; /* Light Purple */
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    color: white;
}

.intro {
    background: #b8a9c9; /* Light Purple */
    color: white;
    padding: 2em;
    text-align: center;
}

.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.image-container {
    margin: 20px 0;
    text-align: center;
}


.image-container3 img{
    width: 35%;
    text-align: center;
}

.therapist-description {
    max-width: 600px;
    text-align: center;
    margin: 20px auto; /* Centers the description box */
}

.button-group {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.button {
    background-color: #5d5c61; /* Dark Purple */
    color: white;
    padding: 20px 70px;
    text-decoration: none;
    border: none;
    border-radius: 40px;
    margin: 15px 30px;
    transition: background-color 0.3s;
    flex-wrap: wrap; /* Allow wrapping of content inside the button */
}

.button:hover {
    background-color: #6a5acd; /* Slightly lighter purple on hover */
}

.location-info, .contact-info {
    text-align: center;
    background-color: #b8a9c9; /* Dark Purple */
    color: white;
    padding: 10px 20px;
}

/* Style for email link */
a[href^="mailto:"] {
    color: #5d5c61; /* Dark Purple, like your other links */
    text-decoration: underline;
}

/* Adjust the bottom margin of the Koalendar iframe */
iframe[src*="koalendar.com"] {
    margin-bottom: -20px; /* Increase this value to create more space */
}

/* Adjust the margins for the contact info section */
.contact-info {
    background-color: #b8a9c9; /* Dark Purple */
    color: white;
    padding: 10px 20px;
    margin-top: 1px; /* Decrease to bring it closer to the Koalendar widget */
    margin-bottom: 100px; /* Increase to add more space above the map */
}

.location-info{
    margin-top: 70px; /* Decrease to bring it closer to the Koalendar widget */
    margin-bottom: 20px; /* Increase to add more space above the map */
}

/* Optionally, adjust the top margin of the map section if needed */
#map {
    margin-top: 20px; /* Adjust as necessary to create space below contact info */
}

header .logo {
    display: block;
    margin: 0 auto;
    max-width: 200px; /* Adjusted logo size, change as needed */
    height: auto;
    padding: 5px 0; /* Reduced padding around the logo */
}

/* Adjusting button styles for all screen sizes */
.button {
    /* ... other properties ... */
    text-align: center; /* Center text horizontally */
    padding: 10px 20px; /* Uniform padding */
    display: inline-block; /* Ensures the button behaves like a block but flows like inline */
    width: auto; /* Flexible width */
    /* ... */
}


@media screen and (max-width: 600px) {
    nav a {
        color: purple;
        text-decoration: none;
        margin: 0 15px;
        font-size: 1em;
    }
    nav a:hover {
        color: #e0e1dd; /* Lighter shade for hover effect */
    } 
    table {
        width: 100%; /* Full width on small screens */
        font-size: 1em; /* Larger font for readability */
    }
}

@media screen and (max-width: 600px) {
    nav a {
        color: purple;
        text-decoration: none;
        margin: 0 15px;
        font-size: 1.5em;
    }

    table {
        width: 100%; /* Full width on small screens */
        font-size: 2em; /* Larger font for readability */
    }
    .img1{
        max-width: 85%; /* This ensures the image is never wider than its container */
        height: auto; /* This maintains the aspect ratio of the image */
    }
    .img2{
        max-width: 50%; /* This ensures the image is never wider than its container */
        height: auto; /* This maintains the aspect ratio of the image */
    }

    .button {
        padding: 15px 50px; /* Increased padding */
        font-size: 1.25em; /* Adjust as needed */
        display: inline-block; /* Helps maintain padding and size */
        min-width: 100px; /* Set a minimum width */
        flex-wrap: wrap; /* Allow wrapping of content inside the button */
        text-align: center; 
    }
}