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

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: white;
    color: black;
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(to right, #ff66b2, #ff3399, #cc0066);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: block;
}

/* MENÚ RESPONSIVE */
nav {
    background-color: #cc0066;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    z-index: 999;
    transition: all 0.3s ease;
}

nav.active {
    display: flex;
}

nav a {
    padding: 15px 20px;
    color: white;
    background-color: #cc0066;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

nav a:hover {
    background-color: #b30059;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh; /* ocupa toda la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.carousel .slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel .slides img.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    text-shadow: 2px 2px 6px black;
}

.btn-hero {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #ff3399;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #cc0066;
    transform: scale(1.05);
}

/* SECCIÓN BIENVENIDA */
.bienvenida {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffe6f0;
    color: #333;
}

.bienvenida h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* SECCIÓN SERVICIOS */
.servicios {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff0f5;
}

.servicios h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    max-width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 0 10px;
    font-size: 1.4rem;
    color: #cc0066;
}

.card p {
    padding: 0 15px 20px;
    color: #555;
}

/* FOOTER */
footer {
    background-color: black;
    color: white;
    padding: 20px;
    text-align: center;
}

/* RESPONSIVE DESKTOP */
@media (min-width: 768px) {
    .menu-btn {
        display: none;
    }

    nav {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        gap: 15px;
    }

    nav a {
        border: none;
        padding: 10px 15px;
        font-size: 1rem;
    }

    .cards {
        gap: 40px;
    }
}
