/* Layout Navbar & Footer */
.layout-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
  padding: 0.8rem 2rem;
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.brand:hover {
  transform: scale(1.05);
}

.brand-logo {
  height: 200px;
  margin: -75px 0 -75px -20px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}

.navbar.scrolled .brand-logo {
  height: 150px;
  margin: -55px 0 -55px -15px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-green));
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  transform: translateY(-2px);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-admin {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-admin::after { display: none; }
.btn-admin:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--primary-cyan);
}

.main-content {
  min-height: 80vh;
  flex: 1;
}

/* Badge used in pages (repeated here for non-landing pages) */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary-cyan);
  border: 1px solid var(--primary-cyan);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Check list (shared) */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: 800;
}

/* ========== HAMBURGER BUTTON ========== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--glass-border);
  }

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

  .nav-links .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .navbar {
    padding: 1rem 1.5rem;
    position: relative;
  }

  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-links { align-items: center; }
}

/* ========== FOOTER ========== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 1rem;
  margin-top: 4rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--primary-green);
}

/* Social Links with Icons */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.social-link .social-label {
  font-size: 0.85rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.social-link:hover .social-label {
  opacity: 1;
}

.social-link:hover {
  transform: translateX(4px);
  border-color: transparent;
}

.social-link:hover svg {
  transform: scale(1.15);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.5);
}

.social-link.instagram:hover .social-label {
  color: #fff;
  opacity: 1;
}

.social-link.facebook:hover {
  background: #1877F2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.5);
}

.social-link.facebook:hover .social-label {
  color: #fff;
  opacity: 1;
}

.social-link.whatsapp:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
}

.social-link.whatsapp:hover .social-label {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}
