/* ESTILOS PERSONALIZADOS TESA-WEBSITE MOCKUP */

/* Importar tipografía elegante */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');
:root {
  --color-base: #83ad81;          /* Verde principal */
  --color-accent: #ef6351;        /* Coral */
  --color-neutral-dark: #344e41;  /* Azul gris oscuro */
  --color-neutral-light: #f6f1e9; /* Beige claro */
  --color-gray: #d9d9d9;          /* Gris medio */
  --color-text-light: #ffffff;    /* Texto blanco */
  --color-text-dark: #1e1e1e;     /* Texto oscuro */
  --primary: #83ad81;             /* Desde aquí para chatbot */
  --primary-dark: #3e523d;
  --bg-light: #f8faf8;
  --text-main: #2d3748;
  --text-muted: #4a5568;
  --white: #ffffff;
  --gray-100: #f1f5f1;
  --gray-200: #edf2f7;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Prevent horizontal scroll globally */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* CSS content (all pages) */
body.bodywebsite { margin: 0; font-family: 'Open Sans', sans-serif; }
.bodywebsite h1 { margin-top: 0; margin-bottom: 0; padding: 10px;}

/* ========================= */
/* Estilos globales          */
/* ========================= */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--color-neutral-light);
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-neutral-dark);
}

h1 { font-size: 2.5rem; color: var(--color-text-light); }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }

/* ========================= */
/* Top Bar                   */
/* ========================= */
.main-top {
	background: var(--color-neutral-light);
	/*background: rgba(246, 231, 233, 0.45);*/ 
	color: var(--color-neutral-dark);
	padding: 10px 10px;
}

.main-top-text span {
    margin: 0px;
    /*color: #ffffff;*/
    font-size: 14px;
    /*line-height: 30px;*/
}

.main-top-text span a {
    color: var(--color-neutral-dark);
}

 .main-top-text span a:hover{
     color: var(--color-accent);
}

.text-top {
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	/* float: right; */
}

.logo-abeja {
  width: 120px;
  height: auto;
  /*margin-right: 1rem;*/
}


/* ========================= */
/* Navbar                    */
/* ========================= */
.navbar {
  background-color: var(--color-base);
}
.navbar .navbar-nav {
  gap: 1rem;
}
.navbar .nav-link {
  color: var(--color-text-light);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}



.logo-texto {
  line-height: 1.1;
  text-align: center;
  /*transform: rotate(-5deg);  Orientación diagonal elegante */
  display: inline-block;
}

.logo-texto .linea-uno {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-neutral-dark);
  text-transform: uppercase;
}

.logo-texto .linea-dos {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--color-accent); /* Coral */
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.25);
}

/* Frase Salón de Eventos */
.salon-eventos {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-neutral-dark); /* Coral */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-left: 1rem;
  /*transform: rotate(-5deg);  inclinación ascendente */
  text-shadow: 1px 1px 4px rgba(255,255,255,0.8); /* brillo blanco */
}


	
/* ========================= */
/* Hero / Carrusel           */
/* ========================= */
.section-principal {
  /*min-height: 100vh;*/
  background-color: #000;
  color: var(--color-text-light);
  animation: fadeIn 1.5s ease-in-out;
}

/* ============================= */
/* Overlay en el carrusel HERO   */
/* ============================= */
.section-principal .carousel-item {
	/*height: 100vh;*/
  position: relative;
}
.section-principal .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(52, 78, 65, 0.45); /* Azul gris translúcido */
  z-index: 1;
}
.section-principal .carousel-caption {
  /*position: relative;*/
  /*background-color: rgba(0,0,0,0.35);*/
  padding: 1.5rem;
  border-radius: 0.75rem;
  z-index: 2; /* por encima del overlay */
  transform: translateY(-50%);
  bottom:0;
  top:60%;
}

/* ========================= */
/* Botones                   */
/* ========================= */
.button {
  background-color: var(--color-base);
  color: var(--color-text-light);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s;
}
.button:hover {
  background-color: var(--color-accent);
  transform: scale(1.05);
}

/* ========================= */
/* Secciones                 */
/* ========================= */

#nosotros {
  background-color: var(--color-neutral-light);
}
#servicios {
  background-color: var(--color-base);
  color: var(--color-text-light);
}
#galeria {
  background-color: var(--color-text-light);
}

#ubicacion {
  background-color: var(--color-neutral-light);
}

/* ============================= */
/* Galería con efecto elegante   */
/* ============================= */

#galeria img {
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  cursor: pointer;
  border: 3px solid var(--color-accent);
}

/* ========================= */
/* Footer                    */
/* ========================= */
.footer {
  background-color: var(--color-neutral-dark);
  color: var(--color-text-light);
  padding: 2rem 1rem;
  text-align: center;
}
.footer a {
  color: var(--color-text-light);
  font-weight: 600;
}
.footer a:hover {
  color: var(--color-accent);
}

/* ========================= */
/* Botones flotantes         */
/* ========================= */
.float-btn {
  position: fixed;
  right: 3%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-text-light);
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 50;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0,0,0,0.4);
}

<!-- .whatsapp-float { background: #25d366; bottom: 20px; } -->
<!-- .formulario-float { background: var(--color-accent); bottom: 90px; } -->
.mapa-float { background: var(--color-neutral-dark); bottom: 160px; }
.whatsapp-float { background: #25d366; bottom: 90px; }
.chat-bot-float { background: #83AD81; bottom: 20px; }

/* ========================= */
/* Responsividad             */
/* ========================= */

@media (min-width: 768px) and (max-width: 991px) {
	.navbar-toggler{
         border-color: var(--color-accent);
         color: var(--color-neutral-dark);
         /*border-radius: 0px;
         margin-right: 10px;*/
    }
}
@media (max-width: 767px) {
  /* Logo más pequeño */
  .logo-abeja {
    width: 80px;
  }

  /* Frase más compacta */
  .salon-eventos {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .navbar-toggler{
         border-color: var(--color-accent);
         color: var(--color-neutral-dark);
         /*border-radius: 0px;*/
         margin-right: 7px;
         padding-top: 6px;
         padding-top: 6px;
    }

  /* Texto de carrusel */
  .carousel-caption h1 {
    font-size: 1.4rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }

  /* Reposicionar caption más arriba */
  .section-principal .carousel-caption {
    top: 45%;
    transform: translateY(-45%);
    padding: 0.75rem;
  }

  /* Botones flotantes más pequeños */
  .float-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    right: 10px;
  }
  
  .mapa-float { bottom: 110px; }
  .whatsapp-float { bottom: 60px; }
  .chat-bot-float { bottom: 10px; }
}

/* ========================= */
/* Accesibilidad             */
/* ========================= */
a:focus, button:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================= */
/* Chat-bot Widget             */
/* ========================= */

<!-- .chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    background-color: var(--primary-dark);
    border: 4px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.2s;
}
.chat-toggle-btn:hover { transform: scale(1.05); }
.chat-toggle-btn img { width: 40px; height: 40px; } -->

.chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 600px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 101;
    border: 1px solid rgba(0,0,0,0.05);
}

.chat-window.hidden { display: none; }

.chat-header {
    background: var(--primary);
    color: var(--white);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-info { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.avatar svg { width: 24px; height: 24px; }
.header-title { display: block; font-weight: bold; font-size: 1.1rem; color: #344E41; }
.header-subtitle { display: block; font-size: 0.75rem; opacity: 0.8; color: #4A7378; }
.close-btn { background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; padding: 4px; line-height: 1; }

.message-list {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.welcome-section { text-align: center; padding: 20px 0; border-bottom: 1px solid var(--gray-200); margin-bottom: 10px; }
<!-- .welcome-icon { width: 60px; height: 60px; background: #f0f7f0; color: var(--primary); border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.welcome-icon svg { width: 32px; height: 32px; } -->
.welcome-section h3 { margin-bottom: 4px; }
.welcome-section p { font-size: 0.85rem; margin-bottom: 1rem; color: var(--text-muted); }

/* Message Bubbles */
.message { display: flex; flex-direction: column; max-width: 85%; }
.message.bot { align-self: flex-start; }
.message.user { align-self: flex-end; }

.bubble { padding: 12px 16px; border-radius: 18px; font-size: 0.95rem; line-height: 1.5; }
.bot .bubble { background: var(--white); color: var(--text-main); border: 1px solid var(--gray-200); border-bottom-left-radius: 4px; }
.user .bubble { background: var(--primary); color: var(--white); border-bottom-right-radius: 4px; }

.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.suggestion-btn { background: var(--white); border: 1px solid var(--primary); color: var(--primary); padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; font-weight: 500; }
.suggestion-btn:hover { background: var(--primary); color: var(--white); }

.typing-indicator { padding: 8px 20px; font-size: 0.75rem; color: var(--primary); font-style: italic; display: flex; align-items: center; gap: 8px; }
.typing-indicator.hidden { display: none; }
.dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; display: inline-block; animation: blink 1s infinite; }

.chat-form { padding: 16px; border-top: 1px solid var(--gray-200); display: flex; gap: 10px; }
.chat-form input { flex: 1; border: 1px solid var(--gray-200); border-radius: 24px; padding: 10px 20px; outline: none; transition: border-color 0.2s; font-size: 0.9rem; background: var(--gray-100); }
.chat-form input:focus { border-color: var(--primary); background: var(--white); }
.chat-form button { background: var(--primary); border: none; color: var(--white); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.chat-form button:hover { background: var(--primary-dark); }
.chat-form button img { width: 20px; height: 20px; transform: rotate(45deg); }

@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

@media (max-width: 480px) {
    .chat-window { width: calc(100% - 40px); height: 70vh; }
}

/* ========================= */
/*       Vicon Styles        */
/* ========================= */

.inline-h {
  display: inline;
}

.title-color {
  color: #344E41;
}

.atix-page-header {
  padding-bottom: 9px;
  border-bottom: 1px solid #eee;
  color: #344E41;
  font-weight: bold;
}

.text-justified {
  text-align: justify;
}