/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --primary-color: #e91e63; /* Magenta as the theme color */
  --primary-color-darker: #d11c58;
  --secondary-color: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #000000;
  --text-muted: #343a40;
  --border-color: #dee2e6;
  --accent-color: rgb(30, 30, 30);
  --accent-color-darker: black;
  --box-bg: #fceaf1;
  --header-footer-bg: #f8f9fa;
  --header-footer-text: var(--text-dark);
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  --overlay-bg: rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease;
}

header {
  background-color: var(--header-footer-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
}

.header-scrolled {
  box-shadow: 0 10px 30px -10px var(--text-dark);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.5rem;
}

/* Brand logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 150;
}

.logo img {
  max-width: 100%;
  height: auto;
  background: transparent;
  box-shadow: none;
  margin: 0;
}

.logo {
  display: flex;
  align-items: center;
  background-color: transparent;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.logo:hover {
  transform: rotate(-5deg);
}

.brand-name {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--accent-color-darker);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: var(--transition);
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 150;
}

/* 
          MOBILE MENU
      */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-light);
  z-index: 100;
  overflow-y: auto;
  transition: var(--transition);
  padding: 7rem 2rem 2rem;
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item {
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 1rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

/* Hamburger menu animations */
.hamburger {
  width: 24px;
  height: 16px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 8px;
}

.hamburger span:nth-child(4) {
  top: 16px;
}

.hamburger.open span:nth-child(1) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--overlay-bg);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

footer {
  background-color: var(--text-dark);
  color: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
}

.footer-links {
  margin-top: 1.5rem;
}

.footer-links a {
  color: var(--bg-light);
  margin: 0 1rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Media Queries */
/* ============================================================
           RESPONSIVE DESIGN
           ============================================================ */
@media (max-width: 992px) {
  .nav {
    display: none;
  }

  .header-container {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  button.menu-toggle {
    color: var(--text-dark);
    font: 13.3333px "arial";
    padding: 1px 6px;
    margin: 00px 0;
    box-shadow: none;
  }

  button.menu-toggle:hover {
    background-color: var(--bg-light);
    border-radius: 5px;
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 768px) {
  footer p {
    font-size: 1rem;
  }
}
