﻿:root {
    --color-primary: #f6b8a1;
    --color-primary-dark: #f7a07f;
    --color-light: #ffffff;
    --color-text: #black;
}

.header {
    position: relative;
    height: 350px;
    color: var(--color-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: -1;
}

.header-content {
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--color-primary) !important;
    }

.btn-primary {
    background-color: var(--color-primary);
    border: none;
}

    .btn-primary:hover {
        background-color: var(--color-primary-dark);
    }

/* 🔹 Controlar el alto del carrusel */
#carouselSpa {
    max-height: 550px; /* altura máxima del carrusel */
    overflow: hidden;
}

    /* 🔹 Ajustar las imágenes dentro del carrusel */
    #carouselSpa .carousel-item img {
        height: 550px; /* mismo alto fijo */
        object-fit: cover; /* recorta la imagen sin deformarla */
        object-position: center;
    }

#testimonios .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

    #testimonios .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

#testimonios p {
    color: #555;
}

#testimonios h6 {
    color: #c89b7b;
}

.footer {
    background: #222; /* oscuro elegante */
}

    .footer h5 {
        color: var(--color-primary);
        margin-bottom: 15px;
    }

    .footer p,
    .footer a {
        color: #ddd;
        font-size: 14px;
    }

.footer-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: var(--color-primary);
    }

.social-icons a {
    color: #ddd;
    transition: color 0.3s ease;
}

    .social-icons a:hover {
        color: var(--color-primary);
    }

/* Botón flotante chatbot */
.chatbot-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--color-primary);
    color: var(--color-light);
    font-size: 24px;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background 0.3s ease;
    text-decoration: none;
}

    .chatbot-btn:hover {
        background: var(--color-primary-dark);
        color: var(--color-light);
    }
/* Ventana del chatbot */
.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 320px;
    height: 400px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2000;
}

    .chatbot-window.active {
        display: flex;
    }

.chatbot-header {
    background: var(--color-primary);
    color: rgba(0,0,0,0.3);
    padding: 10px 15px;
    font-weight: bold;
}

.chatbot-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f9f9f9;
    font-size: 14px;
}

.chatbot-message {
    margin: 5px 0;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
}

    .chatbot-message.bot {
        background: var(--color-primary);
        color: black;
        align-self: flex-start;
    }

    .chatbot-message.user {
        background: #e6e6e6;
        align-self: flex-end;
    }

.chatbot-footer {
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #fff;
}

@media (max-width: 768px) {
    #carouselSpa {
        max-height: 300px;
    }

        #carouselSpa .carousel-item img {
            height: 300px;
        }
}

.speaking-indicator {
    font-size: 12px;
    color: #00c4b4;
    margin-top: 3px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

