/* ============================================
   main.css
   Estilos comunes de navegación, footer y
   elementos compartidos - Escuela Senderos del Alma
   ============================================ */

:root {
  --verde-mate: #8e9b86;
  --arena: #f4f1ea;
  --terracota: #b5835a;
  --texto: #3d3d3d;
  --blanco: #ffffff;
  --sombra-suave: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--arena);
  color: var(--texto);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

/* --- NAVEGACION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blanco);
  z-index: 2000;
  box-shadow: var(--sombra-suave);
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-mate);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--texto);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--terracota);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--verde-mate);
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--blanco);
    flex-direction: column;
    padding-top: 50px;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    right: 0;
  }
}

/* --- BOTON VOLVER ARRIBA --- */
.btn-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--terracota);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background-color: var(--verde-mate);
  transform: translateY(-5px);
  color: white;
}

/* --- FOOTER --- */
footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 60px 10% 20px;
  text-align: center;
}

.social a {
  color: var(--blanco);
  margin: 0 15px;
  font-size: 1.5rem;
  transition: 0.3s;
}

.social a:hover {
  color: var(--terracota);
}

/* --- DECORACION NAVIDENA (si aplica) --- */
@media (max-width: 768px) {
  .navidad-decoracion {
    top: 75px !important;
  }
  .navidad-decoracion img {
    width: 60px !important;
  }
}
