/* ===== BEAUTIFIED HEADER & NAV ===== */
#header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.nav-bar {
  background: white;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}
#header.scrolled .nav-bar {
  background: transparent;
  border-bottom-color: transparent;
  padding: 0.6rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 0.8rem; overflow: hidden; }
.nav-logo img { 
  height: 60px; width: auto; transition: all 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}
#header.scrolled .nav-logo img { height: 48px; }

.nav-logo-name { 
  color: var(--blue-dark); font-weight: 800; font-size: 1.1rem; 
  letter-spacing: -0.02em; transition: all 0.4s ease;
}
.nav-logo-tag { color: var(--gold); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  color: var(--text-dark); font-size: 0.95rem; font-weight: 600;
  padding: 0.5rem 0; position: relative; transition: color 0.3s ease;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--gold); transition: all 0.3s ease; transform: translateX(-50%);
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--blue); }

.nav-cta { 
  margin-left: 1.5rem; 
  padding: 0.8rem 1.8rem !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em;
}

.hamburger { 
  display: none; width: 30px; height: 20px; 
  flex-direction: column; justify-content: space-between; cursor: pointer; 
}
.hamburger span { 
  width: 100%; height: 2px; background: var(--blue-dark); 
  border-radius: 4px; transition: all 0.3s ease; 
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: absolute; top: 100%; left: 0; width: 100%;
  background: white; display: none; flex-direction: column;
  padding: 2rem; gap: 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.05); transform: translateY(10px);
  opacity: 0; transition: all 0.3s ease; pointer-events: none;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a { 
  font-size: 1.1rem; font-weight: 700; color: var(--blue-dark);
  display: flex; justify-content: space-between; align-items: center;
}

@media (max-width: 991px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .nav-bar { padding: 0.8rem 0; }
}

/* ===== PREMIUM FOOTER ===== */
.main-footer {
  background: linear-gradient(180deg, #0d1b4e 0%, #0d2461 100%);
  color: white;
  padding: 8rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-logo img { height: 60px; width: auto; }
.footer-logo-text h4 { font-family: var(--font-head); font-size: 1.1rem; margin: 0; color: white; }
.footer-logo-text p { font-size: 0.75rem; color: var(--gold); margin: 0; font-weight: 600; text-transform: uppercase; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
  font-weight: 700; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1);
}
.footer-socials a:hover { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); }

.footer-nav h5, .footer-contact h5 {
  font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 2rem; color: white;
}
.footer-nav ul, .footer-contact-info { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.8rem; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.95rem; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--gold); }

.footer-contact-info li { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.footer-contact-info .icon { font-size: 1.2rem; filter: grayscale(1); opacity: 0.6; }
.footer-contact-info p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.footer-contact-info a { color: white; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom span { color: var(--gold); font-weight: 700; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a:hover { color: white; }

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* ===== 3D SOCIAL FLOATING BUTTONS ===== */
.social-floating {
  position: fixed;
  right: 30px;
  bottom: 50%;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 9999;
}
.social-btn-3d {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2), inset 0 -4px 0 rgba(0,0,0,0.2);
}
.social-btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.social-btn-3d:hover {
  transform: scale(1.1) translateX(-5px);
}

.social-btn-3d.whatsapp { background: #25d366; }
.social-btn-3d.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-btn-3d.facebook { background: #1877f2; }

/* Label on hover */
.social-btn-3d::before {
  content: attr(data-label);
  position: absolute;
  right: 75px;
  background: white;
  color: var(--blue-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(13,36,97,0.15);
}
.social-btn-3d:hover::before {
  opacity: 1;
  right: 85px;
}

@media (max-width: 768px) {
  .social-floating { right: 15px; gap: 1rem; }
  .social-btn-3d { width: 50px; height: 50px; }
  .social-btn-3d svg { width: 22px; height: 22px; }
}
