/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* BODY y MAIN para footer sticky */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
}
h1, h2,nav {
  font-family: 'Playfair Display', serif;
}


.logo {
  font-family: 'Allison', cursive;
}

p {
  font-family: 'Raleway', sans-serif;
}

main {
  flex: 1; /* ocupa todo el espacio disponible entre header y footer */
}
/*************************** HEADER ********************************/
.header {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 20px 5%;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap; 
  gap: 20px;
}

/* COLUMNA IZQUIERDA */
.header-column-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1; 
}

/* LOGO */
.logo {
  max-height: 150px; 
  width: auto;
  display: block;
}

/* COLUMNA DERECHA */
.header-column-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2; 
}

/* MENÚ */
.menu {
  list-style: none;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

/* LINKS */
.menu li a {
  text-decoration: none;
  color: #000;
  font-size: 30px; 
  font-weight: 500;
  transition: color 0.3s;
  text-transform: capitalize;
}

/* HOVER */
.menu li a:hover {
  color: #628bd6;
}

/* MEDIA QUERIES */

/* Tablet y móviles */
@media (max-width: 1024px) {
  .header {
    flex-direction: column; /* columna: logo arriba, menú abajo */
    padding: 20px 5%;
    gap: 25px;
  }

  .menu {
    gap: 15px;
  }

  .menu li a {
    font-size: 30px;
  }
}

/* Móviles pequeños */
@media (max-width: 600px) {
  .logo {
    max-height: 80px;
  }
  .menu li a {
    font-size: 20px;
  }
}


/*************************** FOOTER ********************************/

.footer {
  background-color: #f5f5f5;
  text-align: center;
  padding: 20px 10%;
  font-size: 16px;
  color: #333;
  border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.footer a {
  color: #628bd6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer a:hover {
  color: #000;
}

/* Responsive */
@media (max-width: 600px) {
  .footer {
    font-size: 14px;
    padding: 15px 5%;
  }
}


/********************** BOTÓN WHATSAPP FLOTANTE************************/
.whatsapp-button {
  position: fixed;
  bottom: 30px;  
  right: 30px;   
  width: 60px;
  height: 60px;
  background-color: #29A71A; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-button img {
  width: 55px;
  height: 55px;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button img {
    width: 28px;
    height: 28px;
  }
}


/**********************************MODAL cookies *************************************/
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.cookie-modal-content {
  background: #fff;
  padding: 25px;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cookie-modal-content h3 {
  margin-bottom: 15px;
}

.cookie-modal-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.cookie-modal-content a {
  color: #0066cc;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.cookie-btn.accept {
  background-color: #0185C8;
  color: #fff;
}

.cookie-btn.reject {
  background-color: #dc3545;
  color: #fff;
}

