/* 
 * Serenity Massage - Main Stylesheet
 * Jane app-inspired design
 */

/* Base Styles & Reset */
:root {
    --primary: #18b5be;
    --primary-dark: #149299;
    --secondary: #4a90e2;
    --accent: #f5a623;
    --dark: #2d3e50;
    --text: #4a4a4a;
    --text-light: #7b8a9a;
    --light: #f7f9fc;
    --white: #ffffff;
    --gray-100: #f4f5f7;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

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

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

ul {
    list-style: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3.2rem;
    text-align: center;
}

/* Buttons */
.btn-primary, 
.btn-secondary, 
.btn-tertiary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--white);
    color: var(--text);
    border: 1px solid var(--gray-300);
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-tertiary:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    padding: 1.6rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

nav ul {
    display: flex;
    gap: 6rem;
}

nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 1.8rem;
}

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

/* Hero Section */
.hero {
    padding: 18rem 0 10rem;
    background-color: var(--white);
    background-image: linear-gradient(135deg, rgba(24, 181, 190, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.4rem;
    color: var(--dark);
}

.hero p {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 3.2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    background-color: var(--light);
}

.service-category-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary);
    margin: 4rem 0 2rem 0;
    text-align: center;
    position: relative;
}

.service-category-title:after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #333;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.price {
    display: block;
    font-weight: 600;
    color: #2c5282;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.price-note {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-tertiary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #f0f4f8;
    color: #2c5282;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-tertiary:hover {
    background-color: #2c5282;
    color: #fff;
}

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

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

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

.about-text .section-title {
    text-align: left;
    margin-bottom: 2.4rem;
}

.about-text p {
    margin-bottom: 1.6rem;
}

.about-text .btn-secondary {
    margin-top: 1.6rem;
}

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

.massage-store-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-top: 2rem;
}

.massage-store-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.massage-store-gallery img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.gallery-overlay p {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.quote {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--dark);
    font-style: italic;
    margin-bottom: 3.2rem;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.client-rating {
    color: var(--accent);
    font-size: 1.8rem;
}

/* Team Section */
.team {
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3.2rem;
    justify-content: center;
}

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

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2.4rem;
    border-radius: 50%;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.specialty {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

/* Contact Section */
.contact {
    background-color: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-label {
    font-weight: 600;
    color: var(--text);
}

.contact-text {
    color: var(--text-light);
}

.contact-map img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.maps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

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

.map-item h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.map-item iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .maps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Booking Section */
.booking {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.booking .section-title {
    color: var(--white);
}

.booking-intro {
    max-width: 600px;
    margin: 0 auto 3.2rem;
    font-size: 1.8rem;
}

.booking-btn {
    background-color: var(--white);
    color: var(--primary);
}

.booking-btn:hover {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--gray-300);
    padding: 6.4rem 0 3.2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    margin-bottom: 4.8rem;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-column a {
    color: var(--gray-300);
}

.footer-column a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 3.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }

    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }

    header {
        padding: 1rem 0;
    }

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    nav {
        order: 3;
        width: 100%;
    }

    nav ul {
        justify-content: center;
        gap: 1.5rem;
    }

    .cta-button {
        order: 2;
    }

    .cta-button .btn-primary {
        padding: 0.8rem 1.6rem;
        font-size: 1.4rem;
    }

    .hero {
        padding: 12rem 0 8rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .massage-store-gallery {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .massage-store-gallery img {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.8rem 0;
    }

    .logo h1 {
        font-size: 2.8rem;
    }

    nav ul {
        gap: 2.4rem;
    }

    nav a {
        font-size: 2.0rem;
    }

    section {
        padding: 6rem 0;
    }

    .hero {
        padding: 10rem 0 6rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .service-card,
    .testimonial-card {
        padding: 2.4rem 1.6rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.4rem;
    }
    
    .gallery-overlay p {
        font-size: 1.2rem;
    }
}
