html, body {
    height: 100%; /* Ensure the body takes full height */
    margin: 0; /* Remove default margin */
}

body {
    font-family: 'Playfair Display', serif; /* Use Playfair Display font */
    padding: 0; /* Remove default padding */
    background-color: #f4f4f4; /* Fallback color */
    color: #333;
    background-image: url('/Pics/woman-getting-back-massage.jpg');
    background-size: cover; /* Cover the entire area */
    background-position: center; /* Center the image */
    font-size: 24px; /* Increased base font size */
    display: flex; /* Use Flexbox for body */
    flex-direction: column; /* Arrange body elements in a column */
}

header {
    color: black; /* Change text color to black */
    padding: 10px; /* Reduced padding to move text up */
    text-align: center;
    background: none; /* Remove background */
    margin: 0; /* Remove default margin */
}

h1 {
    margin: 0;
    font-size: 2.9em; /* Adjust if needed */
}

h2 {
    color: #005b99; /* Keep this color for other sections */
    font-size: 1.6em; /* Adjust if needed */
}

.appointment-text {
    color: black; /* Change color back to black */
    font-size: 30px; /* Increased font size */
    font-weight: normal; /* Revert to normal weight */
}

main {
    display: flex; /* Use Flexbox for the main content */
    flex: 1; /* Allow main to take remaining space */
    flex-direction: column; /* Arrange items in a column */
    justify-content: flex-end; /* Align main content to the bottom */
    padding: 20px; /* Keep padding for main content */
}

.section-container {
    display: flex; /* Use Flexbox for the section container */
    justify-content: space-around; /* Space sections evenly */
    margin-bottom: 20px; /* Space above the footer */
    flex-wrap: wrap; /* Allow wrapping for mobile */
}

.about, .appointment, .services {
    background-color: rgba(255, 255, 255, 0); /* Fully transparent background */
    padding: 15px;
    margin: 10px; /* Margin for spacing between sections */
    border-radius: 5px;
    box-shadow: none; /* Remove shadow */
    flex: 1; /* Allow sections to grow equally */
    max-width: 30%; /* Set a maximum width for each section */
}

.services {
    color: white; /* Change text color to white only for this section */
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 5px 0;
    font-size: 24px; /* Increased font size for list items */
    color: white; /* Change list item text color to white */
}

footer {
    text-align: center; /* Center text */
    padding: 10px 0;
    color: white; /* Footer text color */
    background: none; /* Remove background */
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    display: flex; /* Use Flexbox for layout */
    justify-content: center; /* Center items in the footer */
    align-items: center; /* Center align items vertically */
}

.footer-text {
    font-size: 12px; /* Smaller font size for copyright text */
    color: white; /* Change footer text color to white */
}

.footer-image {
    display: flex; /* Use Flexbox for image and caption */
    align-items: center; /* Center vertically */
    margin-left: 20px; /* Space between text and image */
}

.footer-caption {
    margin-right: 10px; /* Space between caption and image */
    font-size: 14px; /* Adjust caption font size */
    color: green; /* Change caption text color to green */
    line-height: 1.2; /* Adjust line height for better spacing */
}

.footer-image img {
    max-width: 150px; /* Increase image size */
    height: auto; /* Maintain aspect ratio */
}

.phone-number {
    color: #005b99; /* Azul color for phone numbers */
    text-decoration: none; /* Remove underline from links */
}

.phone-number:hover {
    text-decoration: underline; /* Underline on hover for better UX */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Smaller base font size for mobile */
    }

    h1 {
        font-size: 2em; /* Adjust header size for mobile */
    }

    h2 {
        font-size: 1.4em; /* Adjust section header size for mobile */
    }

    .section-container {
        flex-direction: column; /* Stack sections on small screens */
        align-items: center; /* Center sections */
    }

    .about, .appointment, .services {
        max-width: 100%; /* Allow full width for mobile */
        margin: 5px 0; /* Adjust margin for mobile */
    }

    .appointment-text {
        font-size: 18px; /* Smaller font size for appointment text */
    }

    ul li {
        font-size: 20px; /* Smaller font size for list items */
    }
}