/* 
  SLC Packages - Header CSS
*/

:root {
  --primary: #2D6A4F;
  --primary-dark: #1B4332;
  --primary-light: #40916C;
  --secondary: #D4A574;
  --accent: #B68D40;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 8px 0;
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
}

.mobile-logo {
  height: 32px;
}

.mobile-close {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-nav {
  padding: 24px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid #eee;
}

.mobile-dropdown {
  border-bottom: 1px solid #eee;
}

.mobile-dropdown-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.mobile-dropdown-content {
  display: none;
  padding: 0 0 12px 0;
}

.mobile-dropdown-content.show {
  display: block;
}

.mobile-dropdown-content a {
  display: block;
  padding: 8px 0 8px 20px;
  font-size: 14px;
  color: var(--text-light);
}

.mobile-contact {
  padding: 24px;
  border-top: 1px solid #eee;
}

.btn-whatsapp-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #25D366;
  color: white;
  border-radius: 8px;
  font-weight: 600;
}

/* Body scroll lock */
body.menu-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    height: 60px;
  }

  .logo-img {
    height: 32px;
  }
}