
/* =======================
   RESET & BASE STYLES
   ======================= */

/* ======================
   SECCIÓN: RESET Y BASE
   ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: #0c0c0c;
  color: #fff;
  line-height: 1.6;
}

/* =======================
   NAVIGATION BAR STYLES
   ======================= */

/* ======================
   SECCIÓN: NAVBAR
   ====================== */
.navbar {
  padding: 20px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
}

.navbar.scrolled {
  background-color: #0c0c0c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  align-items: center;
  margin-right: 4rem; /* Increased space for better layout */
}

.nav-left img.logo {
  max-height: 40px;
  width: auto;
  margin-right: 1rem;
}


/* ======================
   SECCIÓN: NAVBAR LINKS
   ====================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Karla', sans-serif;
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #a084ff;
}

/* =======================
   HERO SECTION
   ======================= */

/* ======================
   SECCIÓN: HERO
   ====================== */
.hero {
  background: url('../assets/img/fondo-hero.webp') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  padding: 120px 2rem 2rem; /* Asegura espacio bajo el menú fijo */
  padding-top: 100px;
}

.hero-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff, #a084ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 320px;
  height: auto;
  border-radius: 12px;
}

/* Botón */
.btn-neon {
  background: linear-gradient(90deg, #a084ff, #d985f5);
  padding: 14px 32px;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  display: inline-block;
  box-shadow: 0 0 15px rgba(160, 132, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-neon:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(160, 132, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
  .hero {
    padding-top: 220px; /* más espacio si el menú está visible por default */
  }
  .hero-image {
    margin-top: 2rem;
  }
}


/* =======================
   HEADER BLOCK (text sections)
   ======================= */
.header {
  background-color: #0d0b14;
  color: white;
  text-align: center;
  padding: 6.5rem 2rem 2rem; /* top padding for nav space */
}


/* ======================
   SECCIÓN: RESPONSIVE GENERAL
   ====================== */
@media (max-width: 768px) {
  .header {
    padding-top: 9rem; /* slightly reduced for mobile */
  }
}

/* =======================
   HAMBURGER MENU
   ======================= */

/* ======================
   SECCIÓN: HAMBURGER MENU
   ====================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 1001;
}

.hamburger span {
  background: white;
  height: 3px;
  width: 25px;
  display: block;
  border-radius: 2px;
}

/* =======================
   RESPONSIVE NAVIGATION
   ======================= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background-color: #0c0c0c;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-container {
    justify-content: space-between;
  }

  .nav-left {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* =======================
   SCROLL MARGIN ADJUSTMENT FOR SECTION HEADERS
   ======================= */
section {
  scroll-margin-top: 90px;
}

/* =======================
   ANIMATIONS
   ======================= */

/* ======================
   SECCIÓN: ANIMACIONES
   ====================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ========================
   SECCIÓN: FOOTER
   ======================== */

/* ======================
   SECCIÓN: FOOTER
   ====================== */
footer {
  padding: 40px 20px;
  background-color: #000;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

.footer-links a {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legales {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}

.footer-legales p {
  margin: 4px 0;
  line-height: 1.4;
}

.footer-social-icons {
  margin-bottom: 20px;
}

.footer-social-icons a img {
  width: 32px;
  margin: 0 8px;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.footer-social-icons a:hover img {
  transform: scale(1.1);
  opacity: 1;
}

/*Sección Aun no sabes que es un Bitcoin INDEX */
.quees-section {
  background-color: #0d0b14;
  color: white;
  padding: 4rem 2rem;
}

.quees-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.quees-img {
  flex: 1 1 400px;
  text-align: center;
}

.quees-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.quees-texto {
  flex: 1 1 500px;
}

.quees-texto .etiqueta {
  color: #aaa;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.quees-texto h2 {
  font-size: 2rem;
  margin: 1rem 0;
  font-weight: bold;
}

.quees-texto p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ccc;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .quees-container {
    flex-direction: column;
    text-align: center;
  }

  .quees-texto h2 {
    font-size: 1.6rem;
  }

  .quees-texto p {
    font-size: 1rem;
  }
}

.footer-legales {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}

.footer-legales p {
  margin: 4px 0;
  line-height: 1.4;
}

/**Estilo CSS BTC Price*/

#btc-price {
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Karla', sans-serif;
}
