/* ===============================
    COLOR PALETTE (Your colors)
   =============================== */
:root {
  --warm-beige: #e7e0d8;
  --light-brown: #ac9d8d;
  --gray-blue: #6c7a89;
  --navy-blue: #0f122a;

  --primary-color: var(--navy-blue);
  --text-color: var(--warm-beige);
  --accent-color: var(--gray-blue);
  --hover-bg: rgba(108, 122, 137, 0.15);
}

/* ===============================
    HEADER BASE
   =============================== */
.header {
  background-color: var(--primary-color);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  padding: 6px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-container {
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===============================
    LOGO
   =============================== */
.logo-section img {
  height: 55px;
  transition: transform 0.3s ease;
}

.logo-section img:hover {
  transform: scale(1.05);
}

.mobile-logo {
  display: none;
}

/* ===============================
    DESKTOP NAVIGATION
   =============================== */
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--warm-beige);
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--accent-color);
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* ===============================
    SOCIAL ICONS
   =============================== */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.social-icon svg {
  width: 20px;
  fill: var(--accent-color);
  transition: 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.social-icon:hover svg {
  fill: var(--primary-color);
}

/* ===============================
    MOBILE MENU TOGGLE
   =============================== */
.mobile-menu-toggle {
  display: none;
  font-size: 33px;
  color: var(--warm-beige);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ===============================
    MOBILE MENU SIDEBAR
   =============================== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding-top: 80px;
  z-index: 1001;
  border-left: 2px solid var(--accent-color);
}

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

/* Mobile links */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu li a {
  color: var(--warm-beige);
  text-decoration: none;
  display: block;
  padding: 18px 30px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.mobile-menu li a:hover {
  background-color: var(--hover-bg);
  color: var(--accent-color);
  padding-left: 40px;
}

/* Close Button */
.close-menu-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 45px;
  background: none;
  border: none;
  color: var(--accent-color);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-menu-btn:hover {
  transform: rotate(90deg);
}

/* ===============================
  MOBILE SOCIAL ICONS
   =============================== */
.mobile-social-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ===============================
  RESPONSIVE BREAKPOINTS
   =============================== */
@media (max-width: 1024px) {
  .nav-menu,
  .social-icons {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo-image {
    height: 52px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    display: none;
  }

  .mobile-logo {
    display: block;
    height: 48px;
  }

  .header-container {
    padding: 0 20px;
  }
}
