:root {
  --onyx: #393d3f;
  --white: #fdfdff;
  --silver: #bec4c8;
  --blue-munsell: #4e7a86;
  --paynes-gray: #546a7b;
  --accent: #6f4e37; 
}

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

body { 
  line-height: 1.6;
  background: var(--onyx);
  color: var(--white);
}

#hero {
  height: 70vh; 
  margin-top: 2rem; 
  background: url("../assets/paulo-coelho.jpg") center/cover no-repeat; 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border-radius: 12px;
  z-index: 1;
}

#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1; 
  max-width: 700px;
  padding: 1rem;
}

.hero-content blockquote {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.6;
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem; 
  z-index: 1000; 
}

.navbar-brand {
  font-size: 1.5rem;
  padding-left: 1rem;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  padding: 0.6rem 1rem;
  color: var(--white);
}

.navbar-nav .nav-link:hover {
  color: var(--accent);
}

.navbar .nav-link.active {
  background-color: var(--accent);
  border-radius: 5px;
  padding: 0.4rem 0.8rem;
  color: #fff;
}

#biografia {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #2a2a2a;
  border-radius: 8px;
  line-height: 1.7;
}

section {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  font-size: 18px;
  text-align: justify;
}

section h2 {
  margin-bottom: 1rem;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 0.5rem;
  color: var(--white);
}


.opinion {
  background: var(--silver);
  color: var(--onyx);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.opinion:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.opinion-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

#detalle {
  background: var(--silver);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

#detalle h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--onyx);
}

#detalle p {
  line-height: 1.6;
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: var(--onyx);
}

#detalle #precio {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
}

#detalle button {
  background: var(--blue-munsell);
  color: var(--white);
}

#detalle button:hover {
  background: var(--accent);
}

#detalle a {
  color: var(--accent);
  font-size: 20px;
}

#detalle a:hover {
  color: var(--blue-munsell);
}

.tab-lateral {
  position: fixed;
  top: 40%;
  right: -60px;
  transform: rotate(-90deg);
  background: var(--accent);
  border-radius: 10px 10px 0 0;
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, right 0.3s ease;
  z-index: 2000;
}

.tab-lateral:hover {
  background: var(--blue-munsell);
  right: -40px;
}

@media (max-width: 991.98px) {
  .tab-lateral {
    display: none;
  }
}

.btn-cafe-float {
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 1050;
  transition: background-color 0.3s ease;
}

.btn-cafe-float:hover {
  background-color: var(--blue-munsell);
  color: var(--white);
}


.swal2-popup {
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  background: var(--paynes-gray) !important;
  color: var(--white) !important;
}

.swal2-title {
  font-size: 1.2rem !important;
  font-weight: bold;
  color: var(--white) !important;
}

.swal2-icon {
  transform: scale(0.8); 
  margin: 0.5rem auto !important;
}