 /* Global Styles */
 :root {
    --primary-color: #6d9886;
    --secondary-color: #f2e9e4;
    --accent-color: #d0b49f;
    --text-color: #4a4a4a;
    --light-text: #f7f7f7;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 300;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #5a7f6f;
}

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

section {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(228, 228, 228);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: rgb(228, 228, 228);
    font-weight: 400;
    font-size: 17px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('./assets/Spa_Hero.jpg');
    background-size: cover; /* Make sure the image covers the area */
    background-position: center;
    position: relative; /* Needed for the overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    /* You can adjust the opacity and color here */
    /* Example for a lighter overlay: background-color: rgba(255, 255, 255, 0.3); */
    z-index: 1; /* Make sure the overlay is behind the text */
  }
  
  .hero > * {
    z-index: 2; /* Ensure the text and buttons are on top of the overlay */
    position: relative; /* Necessary for z-index to work */
  }

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services Section */
.services-heading {
    margin-bottom: 60px;
}

.services-heading h2 {
    font-size: 36px;
    color: var(--primary-color);
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 25px;
}

.service-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-info p {
    margin-bottom: 20px;
}

.service-price {
    font-weight: bold;
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

/* Booking Section */
.booking {
    background-color: white;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.booking-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.booking-text p {
    margin-bottom: 20px;
}

.booking-form {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.booking-form h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.testimonials-heading {
    margin-bottom: 60px;
}

.testimonials-heading h2 {
    font-size: 36px;
    color: var(--light-text);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    font-size: 18px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-nav button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--light-text);
    cursor: pointer;
    margin: 0 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.testimonial-nav button:hover {
    opacity: 1;
}

/* Gallery */
.gallery-heading {
    margin-bottom: 60px;
}

.gallery-heading h2 {
    font-size: 36px;
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact */
.contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-link:hover {
    background-color: #5a7f6f;
    transform: translateY(-5px);
}

.map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    position: relative;
}

.modal-header h3 {
    margin: 0;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.confirmation-message {
    text-align: center;
    padding: 20px;
}

.confirmation-message h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .booking-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .service-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    section {
        padding: 60px 0;
    }
}


.footer-container {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space-x-2 equivalent */
    color: #9ca3af; /* text-gray-400 */
    font-size: 1rem;
}

/* Heart icon */
.heart {
    color: #ef4444; /* text-red-500 */
    font-size: 1.125rem; /* text-lg */
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Studio name styling */
.studio-name {
    font-weight: 700; /* font-bold */
    background: linear-gradient(to right, #2dd4bf, #60a5fa); /* from-teal-400 to-blue-400 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Link styling */
.studio-name a {
    text-decoration: none;
    color: inherit;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
}

.studio-name a:hover {
    text-decoration: underline;
}
