:root {
   --primary-color: #3A6F4F;     /* Verde oscuro */
   --secondary-color: #4CAF50;   /* Verde medio */
   --accent-color: #81C784;      /* Verde claro */
   --background-color: #F1F8E9;  /* Verde muy claro */
   --text-dark-color: #2E7D32;   /* Verde oscuro texto */
   --text-light-color: #FFFFFF;  /* Blanco texto */
}

/* Reset básico */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
   background-color: var(--background-color);
}

/* Header principal */
header {
   background-color: var(--primary-color);
   position: fixed;
   height: 70px;
    top: 0;
    width: 100%;
    z-index: 1000;
   padding: 1rem 2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo y título */
.logo-container h1 {
   color: var(--text-light-color);
   font-size: 2.2rem;
   font-weight: 700;
   margin: 0;
}

h1 {
   color: var(--dark-color);
   font-size: 1.8rem;
}

/* Navegación centrada */
nav {
   flex-grow: 1;
   display: flex;
   justify-content: center;
}

nav ul {
   display: flex;

   gap: 1rem;
   list-style: none;
}

nav a {
   text-decoration: none;
   color: var(--text-light-color);
   font-size: 1.3rem;
   padding: 0.5rem 1rem;
   transition: all 0.3s ease;
}

nav a:hover {
   color: var(--accent-color);
   transform: scale(1.05);
}

/* Info de usuario alineada a la derecha */
.user-info {
   display: flex;
   align-items: center;
   gap: 1rem;
   color: var(--text-light-color);
   font-size: 1rem;
}

.logout-btn {
   background-color: var(--accent-color);
   color: var(--primary-color);
   padding: 0.5rem 1rem;
   border-radius: 8px;
   text-decoration: none;
   font-size: 1rem;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
   transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.logout-btn:hover {
   background-color: var(--secondary-color);
   color: var(--text-light-color);
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Imagen de encabezado */
.logo-container img {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: -1; /* La imagen queda detrás del contenido */
}

main {
   margin-top: 80px; /* Ajustar al alto de tu header */
}
/* Footer */
footer {
   background-color: var(--primary-color);
   color: var(--text-light-color);
   padding: 2rem;
}

.footer-content {
   max-width: 1200px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.footer-section h3 {
   color: var(--accent-color);
   margin-bottom: 1rem;
   font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
   color: var(--text-light-color);
   font-size: 0.9rem;
   line-height: 1.6;
}

.footer-section ul {
   list-style: none;
   padding: 0;
}

.footer-section ul li {
   margin: 0.5rem 0;
}

.footer-section a {
   color: var(--text-light-color);
   text-decoration: none;
   transition: color 0.3s ease;
}

.footer-section a:hover {
   color: var(--accent-color);
}

.copyright {
   text-align: center;
   padding-top: 2rem;
   border-top: 1px solid rgba(255, 255, 255, 0.2);
   color: var(--text-light-color);
   font-size: 0.85rem;
   margin-top: 2rem;
   opacity: 0.8;
}


