@charset "UTF-8";
/*
Theme Name:         VesperaMX Theme
Description:        VesperaMX Theme
Version:            1.0.0
Author:             Jacobo Abraham Ortiz Hernandez
Author URI:         http://www.jakobortiz.ninja/
*/
/* ══════════════════════════════════
   01. RESET & VARIABLES
   ══════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --off-white: #dde3ee;
  --cream: #cdd6e6;
  --charcoal: #24334f;
  /* card / section surfaces */
  --dark: #16213a;
  /* page background */
  --mid: #3d4f73;
  --muted: #8b99b5;
  --accent: #9db1d4;
  /* steel blue */
  --accent-light: #c3d1e8;
  --accent-rgb: 157, 177, 212;
  /* for rgba() tints & glows */
  --nav-bg: rgba(255, 255, 255, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════════════════════════
   02. BASE & SCROLLBAR
   ══════════════════════════════════ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* ══════════════════════════════════
   03. NAV
   ══════════════════════════════════ */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 12px 0 24px;
  height: 52px;
  /* .container = max-width 1200px with 56px side padding,
       so its content spans 1088px. This pill aligns with that. */
  width: min(1088px, calc(100% - 48px));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  transition: background var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
  min-width: 0;
  /* .active = your scroll-spy; .current-menu-item = WordPress.
     Solid white pill + dark text, matching the mock. */
}
.nav-links a {
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.nav-links a.active,
.nav-links .current-menu-item > a {
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
}

/* ── Right cluster: language + search + hamburger ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2px;
}
.lang-switch a {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 16px;
  transition: all var(--transition);
}
.lang-switch a:hover {
  color: var(--white);
}
.lang-switch .current-lang a,
.lang-switch a.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-weight: 600;
}

/* Language switcher inside the mobile drawer */
.mobile-menu .lang-switch {
  margin-top: 40px;
  padding: 4px;
  gap: 4px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}
.mobile-menu .lang-switch a {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 8px 20px;
  border-radius: 18px;
}

/* Search trigger (⌘K) */
.nav-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 10px 6px 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.nav-search-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.nav-search-btn svg {
  width: 14px;
  height: 14px;
}
.nav-search-btn kbd {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  padding: 2px 6px;
  line-height: 1;
}

/* ══════════════════════════════════
   COMMAND PALETTE (⌘K / Ctrl+K)
   ══════════════════════════════════ */
.cmdk-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 20, 36, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 14vh 24px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cmdk-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cmdk {
  width: 100%;
  max-width: 560px;
  background: #1f2b45;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.25s ease;
}

.cmdk-overlay.open .cmdk {
  transform: translateY(0) scale(1);
}

.cmdk-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cmdk-input-row svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.cmdk-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
}
.cmdk-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cmdk-esc {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  padding: 3px 6px;
  line-height: 1;
}

.cmdk-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}

.cmdk-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  padding: 10px 12px 6px;
}

.cmdk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
}
.cmdk-item svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.cmdk-item .cmdk-item-sub {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}
.cmdk-item.selected, .cmdk-item:hover {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--white);
}
.cmdk-item.selected svg, .cmdk-item:hover svg {
  color: var(--accent);
}

.cmdk-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

/* ══════════════════════════════════
   HAMBURGER & MOBILE MENU
══════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(13, 20, 36, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  display: flex;
}
.mobile-menu a[data-mobile-link] {
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
  padding: 8px 0;
}
.mobile-menu a[data-mobile-link]:hover {
  color: var(--accent);
}

/* ══════════════════════════════════
   NAV RESPONSIVE
   (replaces the nav rules inside your
   existing @media 1024 / 768 blocks)
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  nav {
    width: calc(100% - 80px);
    /* matches container padding 40px */
  }

  .nav-links a {
    padding: 6px 10px;
  }
}
@media (max-width: 768px) {
  nav {
    top: 16px;
    gap: 8px;
    padding: 0 8px 0 20px;
    height: 48px;
    width: calc(100% - 32px);
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Keep search + language on mobile, hide the kbd hint */
  .nav-search-btn kbd {
    display: none;
  }

  .cmdk-overlay {
    padding: 10vh 16px 16px;
  }
}
@media (max-width: 480px) {
  .mobile-menu a {
    font-size: 34px;
  }
}
/* ══════════════════════════════════
   05. SECTION BASE
══════════════════════════════════ */
section {
  padding: 120px 0;
}
section.regular-page h1 {
  margin-bottom: 40px;
}
section.regular-page p {
  margin: 20px 0;
  font-weight: 100;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}
.section-heading em {
  font-style: italic;
  color: var(--accent-light);
}

@media (max-width: 1024) {
  .container {
    padding: 0 40px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }
}
/* Push the fixed nav below the WP admin bar when logged in */
body.admin-bar nav {
  top: calc(24px + var(--wp-admin--admin-bar--height, 32px));
}

/* The admin bar is taller (46px) below 782px, and your nav uses top: 16px there */
@media (max-width: 782px) {
  body.admin-bar nav {
    top: calc(16px + var(--wp-admin--admin-bar--height, 46px));
  }
}
/* Keep the mobile drawer and command palette below the bar too */
body.admin-bar .mobile-menu,
body.admin-bar .cmdk-overlay {
  top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 782px) {
  body.admin-bar .mobile-menu,
body.admin-bar .cmdk-overlay {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}
/* ══════════════════════════════════
   10. FOOTER
   ══════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.8;
}

.footer-logo-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

/*# sourceMappingURL=style.css.map */
