/* General styles */
:root {
    --primary-color: #4a90e2; /* A nice blue */
    --secondary-color: #f5a623; /* An accent orange */
    --text-color: #333;
    --light-text-color: #f4f4f4;
    --background-light: #ffffff;
    --background-dark: #2c3e50; /* Dark blue-grey for contrast */
    --card-background: #f9f9f9;
    --shadow-color: rgba(0, 0, 0, 0.1);

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color-scheme: light; /* Explicitly set to light */
    color: var(--text-color);
    background-color: var(--background-light);
}

body {
    margin: 0;
    display: block; /* Changed from flex to block for full page layout */
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px var(--shadow-color);
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.primary-button:hover {
    background-color: #3a7bd5; /* Slightly darker blue */
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--background-dark);
    color: var(--light-text-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* Increased width for header content */
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--light-text-color);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: var(--light-text-color);
    font-weight: 500;
    font-size: 1.1em;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
    left: 0;
    background: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/3738348/pexels-photo-3738348.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
    color: var(--light-text-color);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.hero-content {
    max-width: 100%;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Section Styling */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* About Us Section */
.about-us-section {
    background-color: var(--background-light);
    text-align: left;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-content img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px var(--shadow-color);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5em;
}


/* Massage Types Section */
.massage-types-section {
    background-color: var(--card-background);
}

.massage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.massage-item {
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 8px 16px var(--shadow-color);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.massage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.massage-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.massage-item h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.massage-item p {
    font-size: 1em;
    color: #555;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background-dark);
    color: var(--light-text-color);
    max-width: unset; /* Allow this section to stretch full width */
}

.testimonials-section h2 {
    color: var(--light-text-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px; /* Limit and center content within the wider section */
    margin: 0 auto;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--light-text-color);
}

.testimonial-item h4 {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.2em;
}

/* Footer */
.footer-section {
    background-color: #1a1a1a;
    color: var(--light-text-color);
    padding: 40px 20px;
    text-align: center;
}

.footer-content h3 {
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-content a {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links .whatsapp-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-links .whatsapp-icon img:hover {
    transform: scale(1.1);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-call-button,
.floating-whatsapp-button {
    display: none; /* Hidden by default, shown on mobile */
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none; /* Ensure no underline */
}

.floating-call-button:hover,
.floating-whatsapp-button:hover {
    background-color: #3a7bd5;
    transform: translateY(-3px);
}

.floating-whatsapp-button img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        display: none; /* Hide navigation on small screens */
    }

    header nav {
        justify-content: center; /* Center logo when nav is hidden */
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content img {
        max-width: 100%;
    }

    .about-text {
        text-align: center;
    }

    .massage-grid, .testimonial-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }

    .floating-call-button,
    .floating-whatsapp-button {
        display: flex; /* Show floating buttons on mobile */
        align-items: center;
        justify-content: center;
        width: auto; /* Adjust width */
        padding: 12px 18px;
    }

    .floating-whatsapp-button img {
        margin-right: 8px; /* Space between icon and text if text is added */
    }

    .floating-call-button {
        order: 2; /* Place call button below whatsapp on mobile */
    }
    .floating-whatsapp-button {
        order: 1;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 15px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    section {
        padding: 60px 15px;
    }

    section h2 {
        font-size: 2em;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .floating-call-button,
    .floating-whatsapp-button {
        font-size: 1em;
        padding: 10px 15px;
    }
}
