/* MindBodyFlow - Estilos principales */

/* Importaciones de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
    --primary-color: #7d6e83;
    --secondary-color: #48435c;
    --accent-color: #b3a492;
    --light-color: #f5efe6;
    --dark-color: #2a2438;
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Lora', serif;
}

/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: var(--light-color);
    line-height: 1.6;
    font-size: 16px;
}

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

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(42, 36, 56, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    color: var(--light-color);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Header/Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(42, 36, 56, 0.85), rgba(125, 110, 131, 0.8)), url('https://images.unsplash.com/photo-1517483000871-1dbf64a6e1c6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    position: relative;
}

.hero-container {
    max-width: 800px;
    margin-left: 10%;
}

.hero h1 {
    font-family: var(--font-accent);
    font-size: 4.5rem;
    color: var(--light-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-color);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--accent-color);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: transparent;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--accent-color);
    background-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

/* Sección Nosotros */
.about {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.about-img {
    position: relative;
    z-index: 1;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--accent-color);
    transition: all 0.5s ease;
}

.about-img:hover img {
    transform: translate(-10px, -10px);
    box-shadow: 30px 30px 0 var(--accent-color);
}

.about-text h2 {
    font-family: var(--font-accent);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text h2 span {
    color: var(--primary-color);
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Sección Servicios */
.services {
    padding: 100px 0;
    background-color: var(--dark-color);
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    margin: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services .section-header h2,
.testimonials .section-header h2,
.instructors .section-header h2,
.workshops .section-header h2,
.instagram-feed .section-header h2 {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: var(--light-color);
    margin-bottom: 20px;
}

.services .section-header p,
.testimonials .section-header p,
.instructors .section-header p,
.workshops .section-header p,
.instagram-feed .section-header p {
    color: var(--light-color);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background-color: rgba(245, 239, 230, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(245, 239, 230, 0.1);
}

.service-img {
    height: 200px;
    width: 100%;
    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-content {
    padding: 30px;
    color: var(--light-color);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 15px;
    font-family: var(--font-accent);
}

.service-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.service-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--light-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Sección Instructores */
.instructors {
    padding: 100px 0;
    background-color: var(--dark-color);
    position: relative;
}

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

.instructor-card {
    background-color: rgba(245, 239, 230, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.instructor-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(245, 239, 230, 0.1);
}

.instructor-img {
    height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

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

.instructor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.instructor-card:hover .instructor-overlay {
    opacity: 1;
}

.instructor-social {
    display: flex;
    gap: 10px;
}

.instructor-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.instructor-social a:hover {
    background-color: var(--light-color);
    transform: scale(1.1);
}

.instructor-content {
    padding: 20px;
    text-align: center;
    color: var(--light-color);
}

.instructor-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-family: var(--font-accent);
}

.instructor-content p {
    color: rgba(245, 239, 230, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.instructor-specialties {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.specialty-tag {
    background-color: rgba(179, 164, 146, 0.2);
    color: var(--accent-color);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Sección Talleres */
.workshops {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.workshops .section-header h2 {
    color: var(--secondary-color);
}

.workshops .section-header p {
    color: var(--dark-color);
}

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

.workshop-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    transition: all 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.workshop-date {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.workshop-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.workshop-date .month {
    font-size: 0.9rem;
    font-weight: 600;
}

.workshop-content {
    padding: 20px;
    flex: 1;
}

.workshop-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: var(--font-accent);
}

.workshop-time {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.workshop-time i {
    margin-right: 5px;
}

.workshop-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.6;
}

.workshop-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.workshop-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.workshop-link:hover {
    color: var(--secondary-color);
}

.workshop-link:hover i {
    transform: translateX(5px);
}

.workshops-cta {
    text-align: center;
    margin-top: 30px;
}

/* Sección Testimonios */
.testimonials {
    padding: 100px 0;
    background-color: var(--secondary-color);
    position: relative;
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 40px;
    background-color: rgba(245, 239, 230, 0.05);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
    position: relative;
    backdrop-filter: blur(5px);
}

.testimonial-card::before {
    content: "❝";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(179, 164, 146, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    padding-left: 40px;
    position: relative;
    z-index: 1;
    color: var(--light-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--accent-color);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(245, 239, 230, 0.7);
}

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

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(245, 239, 230, 0.1);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: scale(1.1);
}

/* Sección Instagram */
.instagram-feed {
    padding: 100px 0;
    background-color: var(--light-color);
}

.instagram-feed .section-header h2 {
    color: var(--secondary-color);
}

.instagram-feed .section-header p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

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

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

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 36, 56, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    font-size: 2rem;
    color: var(--light-color);
}

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

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* Sección Contacto */
.contact {
    padding: 100px 0;
    background-color: var(--dark-color);
    position: relative;
}

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

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

.contact-info h2 {
    font-family: var(--font-accent);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.6;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: rgba(245, 239, 230, 0.05);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    font-family: var(--font-accent);
}

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

.form-control {
    width: 100%;
    padding: 15px;
    background-color: rgba(245, 239, 230, 0.1);
    border: 1px solid rgba(179, 164, 146, 0.3);
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--light-color);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-control::placeholder {
    color: rgba(245, 239, 230, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(245, 239, 230, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--light-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 50px 0 20px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

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

.footer-logo {
    font-family: var(--font-accent);
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.9rem;
    color: rgba(245, 239, 230, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(245, 239, 230, 0.1);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--accent-color);
    font-family: var(--font-accent);
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(245, 239, 230, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-newsletter p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(245, 239, 230, 0.7);
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    background-color: rgba(245, 239, 230, 0.1);
    border: 1px solid rgba(179, 164, 146, 0.3);
    border-radius: 5px 0 0 5px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--light-color);
}

.newsletter-input::placeholder {
    color: rgba(245, 239, 230, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--light-color);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 239, 230, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(245, 239, 230, 0.5);
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(42, 36, 56, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: block;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .service-card,
    .instructor-card,
    .workshop-card {
        max-width: 300px;
        margin: 0 auto;
    }

    .testimonial-card {
        padding: 20px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
