/* ============================================
   ESSENCE FACIALES - MAIN STYLESHEET
   ============================================
   Project: Essence Faciales y Skincare Personalizados
   Version: 1.0
   Last Updated: March 2026
   ============================================ */

:root {
    --sage-green: #8FA89E;
    --sage-dark: #6B857A;
    --sage-light: #B5C4BC;
    --cream: #F5F3EF;
    --white: #FFFFFF;
    --charcoal: #2C2C2C;
    --gold: #C4A77D;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--sage-dark);
}

.lang-toggle {
    background: none;
    border: 1px solid var(--sage-green);
    color: var(--sage-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background-color: var(--sage-green);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--sage-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(245, 243, 239, 0.92) 0%,
        rgba(143, 168, 158, 0.85) 50%,
        rgba(107, 133, 122, 0.88) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(44, 44, 44, 0.3);
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(44, 44, 44, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.95rem;
}

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

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

.btn-secondary {
    border: 2px solid var(--sage-green);
    color: var(--sage-dark);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--sage-green);
    color: var(--white);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

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

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--charcoal);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-weight: 300;
}

/* Feature Images */
.feature-image-container {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

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

.about-card h3 {
    font-size: 1.8rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--charcoal);
    line-height: 1.8;
}

/* Image Divider */
.image-divider {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(143, 168, 158, 0.3);
}

/* Values Section */
.values {
    background-color: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--sage-green);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.3rem;
    color: var(--sage-dark);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--sage-dark);
}

.service-card p {
    color: var(--charcoal);
    line-height: 1.7;
}

/* Memberships Section */
.memberships {
    background-color: var(--cream);
}

.memberships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.membership-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--sage-light);
    transition: all 0.3s;
}

.membership-card:hover {
    border-color: var(--sage-green);
    box-shadow: 0 10px 30px rgba(143, 168, 158, 0.2);
}

.membership-header {
    text-align: center;
    margin-bottom: 2rem;
}

.membership-header h3 {
    font-size: 2rem;
    color: var(--sage-dark);
    margin-bottom: 0.5rem;
}

.membership-tagline {
    font-style: italic;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.membership-price {
    font-size: 1.5rem;
    color: var(--sage-dark);
    font-weight: 600;
    margin: 1rem 0;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.membership-benefits {
    list-style: none;
    margin-top: 1.5rem;
}

.membership-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.membership-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--sage-green);
}

.testimonial-text {
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--sage-dark);
}

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

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

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

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--sage-light);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--gold);
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 2rem;
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-phrase {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.brand-phrase a {
    color: var(--sage-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.brand-phrase a:hover {
    color: var(--white);
    text-decoration: underline;
}

.brand-phrase sup {
    font-size: 0.7em;
    vertical-align: super;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Language specific content */
[lang]:not(.active-lang) {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 70%;
        height: calc(100vh - 70px);
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo-img {
        height: 50px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-image {
        background-attachment: scroll;
    }

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

    .hero-tagline {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .feature-image-container {
        margin: 2rem auto;
    }

    .image-divider {
        height: 250px;
        background-attachment: scroll;
    }

    .services-grid,
    .memberships-grid {
        grid-template-columns: 1fr;
    }

    .brand-phrase {
        font-size: 0.75rem;
        line-height: 1.8;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
