:root {
    --primary-color: #721B36;
    --secondary-color: #9D2449;
    --accent-color: #b99050;
    --text-color: #333;
    --color-primario: #721B36;
    --color-secundario: #9D2449;
}

/* Estilos personalizados para el carrusel */
.carousel {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    background: #000;
}

.carousel-image {
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1400px;
    /* Ajustar según necesidad */
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all 0.3s ease;
    margin: 0 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 100%;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .carousel-image {
        max-height: 60vh;
    }

    .carousel-controls {
        max-width: 90%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .carousel-image {
        max-height: 50vh;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}

/* Sección de contenido */
.about-section {
    background: #fff;
    padding: 2.5rem 0;
    margin: 3rem 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Tarjetas de servicios */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.service-card {
    border: 1px solid rgba(114, 27, 54, 0.1);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(114, 27, 54, 0.1);
}

.service-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-color);
    min-height: 60px;
}

.btn-golden {
    background: var(--accent-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-golden:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Contador de visitas mejorado */
.visit-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.visit-counter::before {
    content: '👤';
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .visit-counter {
        bottom: 1rem;
        left: 1rem;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .carousel-item {
        max-height: 50vh;
    }
}
