/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'TTNormsPro';
  src: url('../fonts/TTNormsPro-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TTNormsPro';
  src: url('../fonts/TTNormsPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TTNormsPro';
  src: url('../fonts/TTNormsPro-DemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #e03d9e;
  --black: #0f0f0f;
  --white: #ffffff;
  --grey-btn: #c8c8c8;
  --font: 'TTNormsPro', 'Inter', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  background: var(--white);
  font-family: var(--font);
  font-weight: 300;
  color: var(--black);
}

/* ============================================================
   HEADER BAR
   ============================================================ */
.site-header {
  position: relative;
  width: 100%;
}

.header-bar {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 40px;
  background: var(--white);
  position: relative;
}

/* Logo — always left */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 52px;
  display: block;
}

/* ============================================================
   DESKTOP NAV
   ============================================================ */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-item {
  position: relative;
}

.nav-trigger {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 300;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-trigger:hover {
  color: var(--pink);
}

.nav-arrow {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-item.open .nav-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  background: var(--white);
  min-width: 230px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  padding: 8px 0;
  z-index: 200;
}

.nav-item.open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 11px 24px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--pink);
}

/* ============================================================
   SOCIAL ICONS (desktop)
   ============================================================ */
.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.85;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* ============================================================
   BURGER BUTTON (mobile only)
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   MOBILE OVERLAY
   ============================================================ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1000;
  overflow-y: auto;
  flex-direction: column;
}

.mobile-overlay.active {
  display: flex;
}

/* Overlay top row */
.overlay-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  flex-shrink: 0;
}

.overlay-logo img {
  height: 42px;
  display: block;
  flex-shrink: 0;
}

.overlay-search {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  padding: 9px 14px;
  gap: 10px;
}

.overlay-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  background: transparent;
  min-width: 0;
}

.overlay-search input::placeholder {
  color: #aaa;
}

.overlay-search svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.overlay-close {
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  padding: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay menu sections */
.overlay-content {
  padding: 20px 20px 100px;
  flex: 1;
}

.menu-section {
  margin-bottom: 28px;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.menu-section a {
  display: block;
  font-size: 20px;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  padding: 7px 0;
  line-height: 1.3;
  transition: color 0.2s;
}

.menu-section a:hover {
  color: var(--pink);
}

/* Contacts section */
.contacts-section p {
  font-size: 15px;
  font-weight: 300;
  color: var(--pink);
  line-height: 1.7;
  margin-bottom: 14px;
}

.contacts-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contacts-row .social-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-row .social-icon svg {
  width: 20px;
  height: 20px;
}

.contacts-email {
  font-size: 17px;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}

.contacts-email:hover {
  color: var(--pink);
}

/* Back button */
.back-btn {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.back-btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grey-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.back-btn:hover .back-btn-circle {
  background: #b0b0b0;
}

.back-btn-circle svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.back-btn-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 300;
  color: var(--black);
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .header-social {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-bar {
    padding: 0 20px;
    height: 64px;
    justify-content: space-between;
  }

  /* Burger left, logo right */
  .header-logo {
    order: 2;
  }

  .burger {
    order: 1;
  }
}
