/* VARIABLES Y RESET */
:root {
    --primary: #018893; /* El color verde-azulado */
    --text: #333;
    --light: #fff;
    --dark: #000;
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
}

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

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('imagenes/berta_cabre_far_cala_nans.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light);
}

.logo-hero {
    width: 200px;
    margin-bottom: 150px;
}

.hero h1 {
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 300;
    padding: 100px 0px 100px 0px;
}

/* SERVICES SECTION */
.services {
    padding: 80px 0;
}

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

.service-card img {
    width: 120px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary);
}

.service-card p {
    font-size: 1rem;
    color: #666;
    text-align: justify;
}

/* DIVIDER */
.image-divider {
    background: url('imagenes/berta_cabre_rupia.jpg') center/cover fixed;
    height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: var(--light);
}

/* CLASSES SECTION */
.classes {
    padding: 80px 0;
}

.classes h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--primary);
}

.class-block {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.class-block.reverse {
    flex-direction: row-reverse;
}

.class-img {
    flex: 1;
    min-width: 300px;
}

.class-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.class-info {
    flex: 1;
    min-width: 300px;
}

.highlight {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.desc {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-style: italic;
}

/* FOOTER */
.main-footer {
    background: var(--primary);
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.branding-footer h3 {
    color: var(--light);
    font-size: 2.5rem;
}

.branding-footer h4 {
    color: var(--light);
    font-size: 1.6rem;
}

.contact-info a {
    color: var(--light);
    text-decoration: none;
 }   
             h4 {
    color: var(--light);
    font-size: 1.6rem;
}

.legal {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: var(--light);
}

.legal a {
    color: var(--light);
    text-decoration: none;
}



/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-audio {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .profile-img {
        width: 100px;
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 1.1rem;
    }
    .class-block, .class-block.reverse {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}