/* static/style.css */

/* ===== RESET & GLOBAL ===== */
:root {
  --logo-dark: #080e0c;
  --logo-warm: #b59481;
  --accent-muted: #857c6b;
  --deep-brown: #3e2918;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --text-light: #f0ebe3;
  --text-muted: #c5bbb0;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Newsreader', 'Times New Roman', Georgia, serif;
}

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

body {
  font-family: var(--font-body);
  background: linear-gradient(145deg, #3e2918 0%, #2a1b0f 50%, #1f140a 100%);
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* Tipografía elegante */
.newsreader {
  font-family: var(--font-heading);
  font-weight: 500;
}

.letter-spacing-2 {
  letter-spacing: 0.15em;
}

h1, h2, h3 {
  color: #ffffff;
}

p {
  color: var(--text-muted);
  font-weight: 400;
}

/* Enlaces generales */
a {
  transition: all 0.25s ease;
}

/* ===== BARRA DE NAVEGACIÓN GLASS ===== */
.glass-nav {
  background: rgba(8, 14, 12, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(181, 148, 129, 0.25);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
}

.brand-text {
  color: #f0ebe3;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.logo-img {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.glass-link {
  color: #ddd6cc !important;
  font-weight: 500;
  border-radius: 30px;
  padding: 0.4rem 1rem !important;
  margin: 0 2px;
  transition: 0.2s;
}

.glass-link:hover,
.glass-link:focus {
  background: rgba(181, 148, 129, 0.25);
  color: #ffffff !important;
}

.custom-toggler {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(240, 235, 227, 0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===== HERO ===== */
.hero-glass {
  min-height: 85vh;
  background: radial-gradient(circle at 30% 40%, rgba(133, 124, 107, 0.15) 0%, rgba(8, 14, 12, 0.7) 90%);
  backdrop-filter: blur(6px);
  position: relative;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62,41,24,0.5) 0%, rgba(62,41,24,0.75) 100%);
  pointer-events: none;
}

.hero-image {
  border: 2px solid rgba(181, 148, 129, 0.4);
  transition: transform 0.4s ease;
}
.hero-image:hover {
  transform: scale(1.02);
}

/* ===== CARDS VIDRIO (glass-card) ===== */
.glass-card {
  background: rgba(20, 15, 10, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(181, 148, 129, 0.22);
  border-radius: 1.8rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(181, 148, 129, 0.45);
  box-shadow: 0 25px 50px rgba(0,0,0,0.65);
}

/* Botón acento (marrón cálido) */
.btn-accent {
  background: #b59481;
  color: #080e0c;
  border: none;
  font-weight: 600;
  transition: 0.25s;
}
.btn-accent:hover {
  background: #c7aa99;
  color: #0f1714;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(181,148,129,0.4);
}

.btn-outline-light {
  border-color: rgba(240, 235, 227, 0.7);
  color: #f0ebe3;
}
.btn-outline-light:hover {
  background: rgba(240, 235, 227, 0.12);
  border-color: #f0ebe3;
}

/* ===== IMÁGENES DE SECCIÓN ===== */
.section-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 1.2rem;
  border: 1px solid rgba(181, 148, 129, 0.35);
  filter: brightness(0.9) contrast(1.05);
  transition: all 0.35s ease;
  box-shadow: 0 15px 25px rgba(0,0,0,0.5);
}

.section-img:hover {
  filter: brightness(1.05) contrast(1.1);
  transform: translateY(-5px);
  border-color: rgba(181,148,129,0.6);
}

/* ===== FOOTER ===== */
.glass-footer {
  background: rgba(8, 14, 12, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #d1c7bc;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .hero-glass {
    min-height: 70vh;
    text-align: center;
  }

  .section-img {
    height: 220px;
  }

  .glass-card {
    padding: 1.5rem !important;
  }

  .brand-text {
    font-size: 1.2rem;
  }
}

/* Espaciado entre secciones */
section {
  scroll-margin-top: 80px;
}

/* Transparencia texto secundario */
.text-light-emphasis {
  color: rgba(240, 235, 227, 0.85) !important;
}