/* ============================================
   GLOBAL STYLES
   ============================================ */

body {
  font-family: "Nunito", sans-serif;
  background-color: #f7f7f7;
}

h1, h2, h3 {
  font-family: "Nerko One", cursive;
  text-transform: uppercase;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  background: linear-gradient(135deg, #FFE8D6 0%, #D4F7F5 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* Gradient Text for H1 */
.h1-gradient {
  display: inline;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Search Input */
.search-input {
  background-color: white;
  transition: var(--transition-fast);

  &:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
  }
}

/* Search Button */
.btn-search {
  transition: var(--transition-fast);
  white-space: nowrap;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
  }

  &:active {
    transform: translateY(0);
  }
}

/* ============================================
   HEADER STYLES
   ============================================ */

header {
  background-color: transparent;
  transition: var(--transition-default);

  &.scrolled {
    background-color: #f7f7f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */

.nav-item {
  position: relative;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-xl);
  transition: var(--transition-default);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  cursor: pointer;

  /* Button */
  & button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: inherit;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #3d3d3d;
  }

  /* Hover State */
  &:hover {
    background-color: rgba(0, 0, 0, 0.015);
    box-shadow: var(--shadow-md);

    /* Show dropdown on hover */
    & .dropdown {
      opacity: 1;
      visibility: visible;
    }
  }

  /* Active State */
  &.active {
    background-color: rgba(255, 122, 0, 0.1);
    color: var(--color-orange);
    font-weight: 600;
  }
}

/* ============================================
   DROPDOWN STYLES
   ============================================ */

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.75rem;
  min-width: 14rem;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-default);
  z-index: 40;
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Arrow */
  &::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 1.5rem;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.dropdown-content {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);

  /* Hover */
  &:hover {
    background-color: #FFF7ED;
    color: var(--color-orange);
  }

  /* Last Item */
  &:last-child {
    border-bottom: none;
  }

  /* Active */
  &.active {
    background-color: #FFEDD5;
    color: var(--color-orange);
    font-weight: 600;
  }
}
