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: #161616;
  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;
}


.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  padding: 0px 46px;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-left p {
  color: #bdbdbd;
  font-size: 15px;
  margin-bottom: 25px;
  width: 80%;
}

.hero-left button {
  background-color: #202020;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-left button:hover {
  background-color: #333;
}

.hero-right img {
  width: 620px;
  border-radius: 10px;
}


.novedades {
  background-color: #0e0e0e;
  padding: 70px 100px;
}

.novedades h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 75px;
}

.card {
  background-color: #141414;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card p {
  color: #ccc;
  font-size: 13px;
  padding: 10px;
}


.vermas {
  text-align: center;
  margin: 40px 0;
}

.vermas a {
  color: #ddd;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 3px;
  font-size: 14px;
}

.vermas a:hover {
  color: white;
}


.destacados {
  padding: 60px 100px;
  background-color: #0e0e0e;
}

.destacados h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
}

.destacados .principal {
  background-color: #141414;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
}

.destacados .principal img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destacados .principal p {
  color: #ccc;
  font-size: 14px;
  padding: 10px;
}


.destacados .cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.destacados .card {
  background-color: #141414;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.destacados .card:hover {
  transform: translateY(-5px);
}

.destacados .card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.destacados .card p {
  font-size: 13px;
  padding: 10px;
  color: #ccc;
}


.mision {
  text-align: center;
  background-color: #111;
  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: #0a0a0a;
  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;
}


.noticias {
  background-color: #0e0e0e;
  padding: 60px 100px;
}

.noticias h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.noticias .frase {
  font-size: 15px;
  color: #bbb;
  margin-bottom: 25px;
}

.noticias .principal {
  background-color: #141414;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.noticias .principal img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.noticias .principal p {
  font-size: 14px;
  color: #ccc;
  padding: 10px;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 45px;
}

.card {
  background-color: #141414;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card p {
  font-size: 13px;
  color: #ccc;
  padding: 10px;
}
