/* ===========================
   Header Component
   =========================== */
.header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-menu > li {
  display: flex;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0;
}

.nav-link:hover {
  opacity: 0.8;
}

.dropdown-icon {
  width: 10px;
  height: 6px;
  transition: transform 0.3s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: white;
  min-width: 200px;
  list-style: none;
  margin: 0;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
}

.dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--primary-color);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(163, 133, 101, 0.08);
  padding-left: 1.5rem;
}

.dropdown-menu a:hover::before {
  transform: scaleY(1);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-contact {
  background-color: white;
  color: var(--primary-color);
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Mobile Actions (hidden on desktop) */
.mobile-actions {
  display: none !important;
}

.nav-menu > li.mobile-actions {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav {
    padding: 0.65rem 0;
  }

  /* Hide desktop nav-actions */
  .desktop-only {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    padding-top: 4rem;
    gap: 0;
    transition: left 0.3s ease;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  /* Mobile Dropdown */
  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown .nav-link {
    position: relative;
  }

  .nav-dropdown .dropdown-icon {
    transition: transform 0.3s ease;
  }

  .nav-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    background-color: transparent;
    box-shadow: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    left: auto;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
    overflow: visible;
    padding: 0.5rem 0;
  }

  .dropdown-menu li {
    width: 100%;
    border-bottom: none;
  }

  .dropdown-menu a {
    display: block;
    width: 100%;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.85rem 1rem;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
  }

  .dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-left-color: rgba(255, 255, 255, 0.3);
    color: white;
    padding-left: 1.75rem;
  }

  /* Mobile Actions (inside menu) */
  .mobile-actions {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-menu > li.mobile-actions {
    display: flex !important;
  }

  .mobile-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .mobile-actions .social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .mobile-actions .social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .mobile-actions .btn-contact {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  /* Mobile Menu Overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .menu-overlay.active {
    display: block;
    opacity: 1;
    z-index: 10;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 37px;
  }

  .nav-menu {
    width: 260px;
  }

  .nav-menu.active::before {
    left: 260px;
    width: calc(100vw - 260px);
  }

  .btn-contact {
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
  }
}

.hero-content {
  position: relative;
  height: 90vh;
  overflow: hidden;
  background: #e2ccbd;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content .container {
  width: 100%;
  gap: 19px;
  display: grid;
}

.hero-text {
  display: flex;
  align-items: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 4rem 0;
}

.hero-subtitle {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
}

.hero-title {
  font-size: 64px;
  font-weight: 500;
  color: white;
  line-height: 75px;
}
.hero-image {
  height: 100%;
  object-fit: cover;
}
.hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border: 1px solid white;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-btn svg {
  margin-left: 1rem;
}

.hero-btn:hover {
  background-color: var(--primary-color);
  color: white;
}
