

/* ============================================ */
/* ESTILOS BASE - TEMÁTICA PLAYA ISLA DE MARGARITA */
/* ============================================ */


/* Variables CSS para temas dinámicos */
:root {
    --arena: #f4e4c1;
    --caribe: #00a8c6;
    --sol: #f9a825;
    --coco: #5d4037;
    --marino: #0277bd;
}

/* El resto del CSS usa estas variables */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px; /* Para navbar fija */
    background-color: var(--arena);
    color: #2c3e2f;
}

/* Hero section con imagen de playa genérica */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../assets/img/hero-margarita.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax opcional */
}

.hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px #000;
    color: white;
}

/* Tarjetas de habitaciones */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

.card-body {
    background: linear-gradient(145deg, #ffffff, #f9f3e7);
}

/* Botones personalizados */
.btn-warning {
    background-color: var(--sol);
    border: none;
    color: #3e2723;
    font-weight: bold;
}

.btn-warning:hover {
    background-color: #f57c00;
    transform: scale(1.02);
}

.btn-success {
    background-color: #2e7d32;
    border: none;
}

/* Formulario */
.form-control, .form-select {
    border-radius: 30px;
    border: 1px solid #d4c2a5;
}

/* Navbar personalizada */
.navbar {
    background-color: rgba(255, 248, 235, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--marino) !important;
}

/* Chatbot flotante */
#chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#chatbotBtn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    border: none;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: 0.2s;
}

#chatbotBtn:hover {
    transform: scale(1.05);
    background-color: #128C7E;
}

#chatbotWindow {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
}

#chatMessages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    font-size: 14px;
}

.usuario-msg {
    text-align: right;
    background: #dcf8c5;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 15px;
}

.bot-msg {
    text-align: left;
    background: #f1f0f0;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    #chatbotWindow {
        width: 260px;
        height: 350px;
    }
}

/* Secciones */
section {
    scroll-margin-top: 80px;
}