/* 
* Mimure Tuweli - Centro de Yoga en Madrid
* Styles.css
* 
* Modern & elegant redesign with new color palette
* Color palette:
* - Primary: #263238 (deep blue-gray)
* - Secondary: #7E57C2 (deep lavender)
* - Accent: #FF5722 (deep orange)
* - Background: #FAFAFA (off-white)
* - Text: #263238 (deep blue-gray)
* - Highlights: #B39DDB (light lavender)
*/

/* --------- RESET & BASE STYLES --------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #263238;
    background-color: #FAFAFA;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #7E57C2;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF5722;
}

ul, ol {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 10rem 0;
    position: relative;
}

/* Section titles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #263238;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 3.8rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.3rem;
    background: #FF5722;
    border-radius: 0.2rem;
}

h3 {
    font-size: 2.4rem;
    letter-spacing: -0.3px;
}

/* --------- BUTTONS --------- */
.btn {
    display: inline-block;
    padding: 1.4rem 3.2rem;
    border-radius: 0.8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    border: none;
    font-size: 1.4rem;
}

.btn-primary {
    background: #7E57C2;
    color: white;
    box-shadow: 0 0.4rem 1.5rem rgba(126, 87, 194, 0.3);
}

.btn-primary:hover {
    background: #6A48B0;
    transform: translateY(-0.3rem);
    box-shadow: 0 0.8rem 2rem rgba(126, 87, 194, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #7E57C2;
    border: 0.2rem solid #7E57C2;
}

.btn-secondary:hover {
    background: rgba(126, 87, 194, 0.05);
    transform: translateY(-0.3rem);
    box-shadow: 0 0.4rem 1rem rgba(126, 87, 194, 0.2);
    color: #7E57C2;
}

.btn-large {
    padding: 1.8rem 3.6rem;
    font-size: 1.6rem;
}

/* --------- HEADER & NAVIGATION --------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(1rem);
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 0;
}

.logo img {
    height: 5rem;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #263238;
    height: 0.2rem;
    width: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 0.8rem;
}

.nav-toggle-label span::after {
    top: 0.8rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    color: #263238;
    font-size: 1.5rem;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.2rem;
    background: #7E57C2;
    transition: all 0.3s ease;
}

.nav-list a:hover {
    color: #7E57C2;
}

.nav-list a:hover::after {
    width: 100%;
}

.cta-menu-item {
    margin-left: 1rem;
}

.cta-menu-item .btn {
    padding: 1rem 2rem;
}

/* --------- HERO SECTION --------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('./img/6AkrMu.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding-top: 8rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(38, 50, 56, 0.85), rgba(126, 87, 194, 0.85));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 70rem;
    animation: fadeIn 1s ease-out;
    color: white;
}

.hero-content .logo {
    margin-bottom: 3rem;
}

.hero-content h1 {
    margin-bottom: 2rem;
    font-size: 6rem;
    color: white;
    font-weight: 800;
    line-height: 1.1;
}

.hero-content p {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

/* --------- ABOUT SECTION --------- */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.about-text, .about-instructors {
    background: white;
    padding: 4rem;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover, .about-instructors:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
}

.instructor-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.instructor-images img {
    border-radius: 1.2rem;
    transition: transform 0.3s ease;
    height: 20rem;
    object-fit: cover;
}

.instructor-images img:hover {
    transform: scale(1.03);
}

/* --------- BENEFITS SECTION --------- */
.benefits-section {
    background-color: #F5F5F5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.benefit-card {
    background: white;
    padding: 4rem;
    border-radius: 1.2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 10rem;
    height: 10rem;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(126, 87, 194, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.benefit-card:hover .benefit-icon {
    background: rgba(126, 87, 194, 0.15);
    transform: scale(1.1);
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------- SERVICES SECTION --------- */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.service-card {
    background: white;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
}

.service-card img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h3, .service-card p, .service-price, .service-card .btn {
    padding: 0 3rem;
}

.service-card h3 {
    margin-top: 3rem;
}

.service-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #FF5722;
    margin: 1.5rem 0;
}

.service-card .btn {
    margin: 3rem 3rem 3rem;
    display: block;
    text-align: center;
}

/* --------- GALLERY SECTION --------- */
.gallery-section {
    background-color: #F5F5F5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* --------- TESTIMONIALS SECTION --------- */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.testimonial-card {
    background: white;
    border-radius: 1.2rem;
    padding: 4rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 10rem;
    color: rgba(126, 87, 194, 0.1);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    margin-bottom: 3rem;
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 0.3rem solid #7E57C2;
}

.testimonial-author p {
    font-weight: 600;
    color: #263238;
}

/* --------- CTA SECTION --------- */
.cta-section {
    background: linear-gradient(135deg, rgba(38, 50, 56, 0.9), rgba(126, 87, 194, 0.9)), url('./img/4XQEH8.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 12rem 0;
    color: white;
}

.cta-content {
    max-width: 70rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
    color: white;
}

.cta-content h2::after {
    background: #FF5722;
}

.cta-content p {
    font-size: 2rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

/* --------- BOOKING FORM SECTION --------- */
.booking-section {
    background: white;
}

.form-container {
    max-width: 60rem;
    margin: 0 auto;
    background: white;
    border-radius: 1.2rem;
    padding: 4rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
}

.booking-form {
    display: grid;
    gap: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #263238;
}

.form-group input,
.form-group select {
    padding: 1.5rem;
    border: 1px solid #E0E0E0;
    border-radius: 0.8rem;
    background: white;
    color: #263238;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #7E57C2;
    box-shadow: 0 0 0 2px rgba(126, 87, 194, 0.2);
    outline: none;
}

.form-group input::placeholder {
    color: #9E9E9E;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.form-group.checkbox input {
    width: 2rem;
    height: 2rem;
    accent-color: #7E57C2;
}

.form-submit {
    margin-top: 3rem;
}

.form-submit .btn {
    width: 100%;
}

/* --------- CONTACT SECTION --------- */
.contact-section {
    background-color: #F5F5F5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info {
    display: grid;
    gap: 4rem;
}

.contact-item h3 {
    margin-bottom: 1.5rem;
    color: #7E57C2;
}

.contact-map {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------- FOOTER --------- */
.site-footer {
    background: #263238;
    padding: 8rem 0 2rem;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo img {
    height: 5rem;
    margin-bottom: 2rem;
}

.footer-info, .footer-links, .footer-legal, .footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-info p {
    opacity: 0.8;
}

.footer-links h3, .footer-legal h3, .footer-contact h3 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.footer-links ul, .footer-legal ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links a, .footer-legal a {
    color: #B39DDB;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover, .footer-legal a:hover {
    color: white;
    transform: translateX(0.5rem);
}

.footer-contact ul li {
    opacity: 0.8;
}

.footer-contact a {
    color: #B39DDB;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 4rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* --------- COOKIE CONSENT --------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    padding: 2rem;
    box-shadow: 0 -0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    color: #263238;
}

.cookie-content a {
    text-decoration: underline;
}

/* --------- LEGAL PAGES --------- */
.legal-section {
    padding-top: 15rem;
    padding-bottom: 8rem;
}

.legal-content {
    background: white;
    border-radius: 1.2rem;
    padding: 5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    text-align: left;
    margin-top: 5rem;
    font-size: 2.6rem;
}

.legal-content h2::after {
    left: 0;
    transform: none;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

/* --------- THANKS PAGE --------- */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10rem;
}

.thanks-content {
    background: white;
    border-radius: 1.2rem;
    padding: 5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
    max-width: 60rem;
    margin: 0 auto;
}

.thanks-icon {
    width: 12rem;
    height: 12rem;
    margin: 0 auto 4rem;
    background: rgba(126, 87, 194, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thanks-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thanks-content h1 {
    margin-bottom: 2rem;
    color: #7E57C2;
}

.thanks-content p {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #555;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0 4rem;
}

/* --------- ANIMATIONS --------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------- MEDIA QUERIES --------- */
@media screen and (max-width: 1024px) {
    html {
        font-size: 56.25%; /* 9px = 1rem */
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 50%; /* 8px = 1rem */
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-toggle-label {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease;
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 3rem;
    }
    
    .nav-toggle:checked ~ .main-nav {
        transform: scale(1, 1);
    }
    
    .cookie-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 4.2rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .form-container,
    .legal-content,
    .thanks-content {
        padding: 3rem;
    }
    
    section {
        padding: 8rem 0;
    }
} 