/* ============================================
   RLX COLLECTIONS — GLOBAL STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --purple: #7C3AED;
  --purple-light: #9D5CF0;
  --purple-dark: #5B21B6;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-400: #A3A3A3;
  --gray-600: #525252;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display-title {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid var(--purple);
}
.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--black);
  padding: 13px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}
.navbar-logo .logo-bar {
  width: 3px;
  height: 32px;
  background: var(--purple);
  flex-shrink: 0;
  transition: var(--transition);
}
.navbar-logo .logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.navbar-logo .logo-rlx {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--white);
  transition: var(--transition);
  line-height: 1;
}
.navbar-logo .logo-collections {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  transition: var(--transition);
  line-height: 1;
}
.navbar-logo .logo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  align-self: flex-start;
  margin-top: 3px;
  flex-shrink: 0;
  transition: var(--transition);
}
.navbar.scrolled .navbar-logo .logo-rlx { color: var(--black); }
.navbar.scrolled .navbar-logo .logo-collections { color: var(--gray-400); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--black); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--black); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--black); }

/* Mobile Nav Menu */
.nav-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 1050;
  padding: 100px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-menu.open { right: 0; }

.nav-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
  display: block;
}
.nav-menu a:hover { color: var(--purple); padding-left: 8px; }
.nav-menu a:last-child { border-bottom: none; }

/* Dropdown inside nav menu */
.nav-dropdown {
  border-bottom: 1px solid var(--gray-200);
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  padding: 14px 0;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.nav-dropdown-toggle:hover { color: var(--purple); }
.nav-dropdown-toggle.open { color: var(--purple); }
.dropdown-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.nav-dropdown-toggle.open .dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dropdown-items.open {
  max-height: 400px;
}
.nav-dropdown-items a {
  display: block;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: var(--gray-600) !important;
  padding: 10px 0 10px 16px !important;
  border-bottom: none !important;
  border-left: 2px solid transparent;
  transition: var(--transition);
}
.nav-dropdown-items a:hover {
  color: var(--purple) !important;
  border-left-color: var(--purple);
  padding-left: 22px !important;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 40px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand .footer-logo .logo-bar {
  width: 3px;
  height: 32px;
  background: var(--purple);
  flex-shrink: 0;
}
.footer-brand .footer-logo .logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.footer-brand .footer-logo .logo-rlx {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--white);
  line-height: 1;
}
.footer-brand .footer-logo .logo-collections {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  line-height: 1;
}
.footer-brand .footer-logo .logo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  align-self: flex-start;
  margin-top: 4px;
  flex-shrink: 0;
}
.footer-brand p {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.8;
  letter-spacing: 0.04em;
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.06em;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
.page-fade {
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BADGE
   ============================================ */
.badge-new {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}