html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  color: white;
  font-family: "Poppins", sans-serif;
  
}


header {
  position: sticky;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  padding: 8px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}


.logo img {
    width: 50px;
    height: 50px;
    margin-left: 25px;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

nav a:hover {
  color: white;
}


.user {
  position: relative;
}

.user img {
  width: 24px;
  cursor: pointer;
  border-radius: 50%;
}

.user .menu {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background-color: #0e0e0e;
  border-radius: 5px;
  list-style: none;
  padding: 10px;
  width: 140px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.user:hover .menu {
  display: block;
}

.menu li {
  margin: 6px 0;
}

.menu a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
}

.menu a:hover {
  color: white;
}



.mision {
  text-align: center;
  background-color: #02020273;
  padding: 80px 60px;
}

.logo-mision {
  font-family: cursive;
  font-size: 40px;
  color: white;
  margin-bottom: 15px;
}

.mision h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.mision p {
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
}


footer {
  background-color: #000000;
  padding: 30px 60px;
  font-size: 13px;
  border-top: 1px solid #1a1a1a;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.links a {
  color: #bbb;
  text-decoration: none;
  margin-right: 20px;
}

.links a:hover {
  color: white;
}

.logo-footer {
  text-align: right;
  color: #777;
}

main {
  padding: 40px 60px;
}
.tabs {
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  background: #111;
  padding: 10px;
  border-radius: 6px;
  margin-top: 20px;
}

.tabs a {
  color: #ccc;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
}

.tabs a.active, .tabs a:hover {
  background: #222;
  color: white;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.review-card {
  background-color: #111;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 6px rgba(255,255,255,0.05);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.review-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
  background: #333;
}

.review-header span {
  font-weight: 600;
}

.review-body {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 15px;
}

.review-footer {
  text-align: right;
  font-size: 0.8rem;
  color: #888;
}

.ver-mas {
  text-align: center;
}

.ver-mas button {
  background: none;
  border: none;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding: 5px 20px;
  font-size: 1rem;
  cursor: pointer;
}

.ver-mas button:hover {
  color: #aaa;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-content {
  background: #141414;
  color: white;
  border-radius: 15px;
  padding: 25px;
  width: 533px  ;
  max-width: 700px;
  text-align: left;
  position: relative;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s;
}

.cerrar:hover {
  color: white;
}

.modal-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #222;
}

.modal-title {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
}

.modal-text {
  color: #ccc;
  margin: 10px 0 20px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 20px;
  color: #aaa;
  margin-bottom: 15px;
}

.comentarios {
  border-top: 1px solid #222;
  padding-top: 15px;
}

.comentarios h4 {
  margin-bottom: 10px;
}

.input-comentario {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.input-comentario input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #1f1f1f;
  color: white;
}

.input-comentario button {
  background: #333;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.input-comentario button:hover {
  background: #555;
}

.comentario {
  background: #1a1a1a;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
}

.like-btn{
    width: 39px;
    height: 42px;
    background: #444;
    border: none;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

#crearReseñaBtn {
      padding: 6px 12px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
}
    #crearReseñaBtn:hover {
        cursor: pointer;
        background: #333;
        color: #fff;
        transition: background 0.3s;
    }

.select-tipo {
  height: 40px;
  width: 200px;
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #222;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 15px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}


.select-tipo:hover {
  background: #2a2a2a;
  border-color: #555;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}


.select-tipo:focus {
  background: #202020;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(216, 216, 216, 0.6);

}


.select-tipo option {
  background: #111;
  color: white;
}