:root {
    --primary-color: #4e2178;
    --secondary-color: #0b3c71;
    --accent-color: #ff3b3b;
    --bg-light: #f8f9fa;
    --text-dark: #000;
    --text-light: #666;
}
/* ======= Contenedor Global ======= */
.container-page {
    max-width: 100%;
    padding: 20px;
    text-align: center;
}

/* ======= Hero Section ======= */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-light);
}

.hero-text h1 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 20px;
}

.btn-custom {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: var(--secondary-color);
}

.hero-image img {
    max-width: 90%;
    height: auto;
    margin-top: 20px;
}

/* ======= Servicios Populares ======= */
/* ======= Estilos de Servicios Populares ======= */
.popular-services {
    text-align: center;
    padding: 50px 20px;
}

.section-subtitle {
    color: #ff3b3b;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Contenedor de los cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Card principal */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    width: 160px;
    height: 180px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    transform: scale(1.05);
}

/* Imagen circular */
.service-image {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* Favorito (icono corazón) */
.favorite-icon {
    position: absolute;
    top: 0;
    right: 0;
    background: #2c1c6d;
    color: white;
    font-size: 14px;
    padding: 6px;
    border-radius: 0 15px 0 10px;
}

/* Texto debajo de la imagen */
.service-card p {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* ======= Responsive Design ======= */
@media (min-width: 768px) {
    .service-card {
        width: 180px;
        height: 200px;
    }

    .service-image {
        width: 90px;
        height: 90px;
    }
}


/* ======= Categorías ======= */
/* ======= Estilos de Categorías ======= */
.categories {
    text-align: center;
    padding: 50px 20px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Grid de Categorías */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Tarjetas de Categorías */
.category-card {
    width: 200px;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 15px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.category-card:hover {
    transform: scale(1.05);
}

/* Texto dentro de las tarjetas */
.category-card p {
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 10px;
}

/* ======= Responsive Design ======= */
@media (min-width: 768px) {
    .category-card {
        width: 220px;
        height: 240px;
    }
}


/* ======= Responsive Design ======= */
@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        text-align: left;
        padding: 60px;
        justify-content: center;
    }

    .hero-text {
        flex: 1;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-image {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        max-width: 80%;
    }

}

/* ======= Redes Sociales ======= */
.social-media-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 10%;
    text-align: left;
}

.social-media-text {
    max-width: 400px;
}

.section-subtitle {
    color: #e74c3c;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

/* Avatar Estilo */
.avatars {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
}

.avatar-count {
    background-color: #ccc;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 14px;
    font-weight: bold;
}

/* Título y Botón */
h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.btn-explore {
    display: inline-block;
    background-color: #190062;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-explore:hover {
    background-color: #1b076e;
}

/* ======= Estilos de las Tarjetas ======= */
.social-media-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    width: 350px;
}

.social-card {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

/* Icono de Redes Sociales */
.social-icon {
    background-color: #190062;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 5px;
}

/* Texto de la Tarjeta */
.social-name {
    font-weight: bold;
    font-size: 14px;
    margin: 5px 0;
}

.social-follow {
    font-size: 12px;
    color: #190062;
    font-weight: bold;
}

/* ======= Efecto de Rotación ======= */
.rotate-left {
    transform: rotate(-10deg);
}

.rotate-right {
    transform: rotate(10deg);
}

/* ======= Responsive ======= */
@media (max-width: 768px) {
    .social-media-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 40px 5%;
    }

    .avatars {
        justify-content: center;
    }

    .social-media-cards {
        justify-content: center;
    }

    .social-card {
        width: 100px;
        height: 100px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    h2 {
        font-size: 22px;
    }
}
