/* Clinique Massotherapie West - Main Stylesheet */

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

:root {
    --primary-color: #2c5f4a;
    --secondary-color: #8b9a8f;
    --accent-color: #d4a574;
    --text-dark: #2c3e2d;
    --text-light: #6b7a6c;
    --bg-light: #f8f9f8;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Language Navigation */
.lang-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
}

.lang-nav .container {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 0;
}

.lang-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.lang-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/massageroom-2022-1024x563-2152006810.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 74, 0.85) 0%, rgba(44, 95, 74, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-location {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-hover);
}

.service-card.specialty {
    background: linear-gradient(135deg, #f8f9f8 0%, #ffffff 100%);
    border: 2px solid var(--accent-color);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.2);
}

.service-card.specialty:hover {
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
    transform: translateY(-8px);
}

.specialty-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c89564 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.5);
    white-space: nowrap;
}

.service-image {
    width: calc(100% + 60px);
    height: 200px;
    margin: -40px -30px 25px -30px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.service-card.specialty .service-image {
    width: calc(100% + 64px);
    margin: -40px -32px 25px -32px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

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

.service-card.specialty .service-image {
    border-top: 2px solid var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

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

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 6px 12px var(--shadow-hover);
    transform: translateY(-2px);
}

.contact-card.instructions {
    background: linear-gradient(135deg, #f0f7f4 0%, #ffffff 100%);
    border-left: 4px solid var(--accent-color);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 10px;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

.address-line {
    margin-bottom: 0.25rem;
}

.address-line:last-child {
    margin-bottom: 0;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow);
    height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-location {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-image {
        height: 200px;
        margin: -40px -20px 20px -20px;
    }

    .service-card {
        padding: 40px 20px;
    }

    .service-card.specialty .service-image {
        margin: -40px -22px 20px -22px;
        width: calc(100% + 44px);
    }

    .specialty-badge {
        top: 10px;
        right: 10px;
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .contact-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-icon {
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        margin: 0 auto;
    }

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

    .contact-details h3 {
        font-size: 1.2rem;
    }

    .contact-map {
        height: 250px;
    }

    .hero {
        background-attachment: scroll;
        min-height: 500px;
        height: 70vh;
    }

    .lang-nav {
        position: relative;
        padding: 10px 15px;
        background: var(--white);
    }

    .lang-nav .container {
        justify-content: center;
    }

    .services-intro {
        font-size: 1rem;
        padding: 0 10px;
    }

    .about-text {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-location {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    section {
        padding: 40px 0;
    }

    .service-card {
        padding: 30px 15px;
    }

    .service-image {
        height: 180px;
        margin: -30px -15px 20px -15px;
    }

    .service-card.specialty .service-image {
        margin: -30px -17px 20px -17px;
        width: calc(100% + 34px);
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 15px;
    }

    .contact-details p {
        font-size: 0.95rem;
    }

    .contact-map {
        height: 200px;
    }

    .hero {
        min-height: 400px;
        height: 60vh;
    }

    .services-intro {
        font-size: 0.95rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }
}
