/* ============================================
   MIDNIGHT GENTS — universalus base.css
   Naudoti visuose puslapiuose: <link rel="stylesheet" href="/shared/base.css">
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --bg-3: #1a1a25;
  --gold: #c9a961;
  --gold-bright: #d4b76e;
  --ivory: #f4ede0;
  --muted: #8a8578;
  --line: rgba(201, 169, 97, 0.2);
  --line-strong: rgba(201, 169, 97, 0.5);
  --error: #d96b5e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ========= NAVBAR ========= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: opacity 0.25s ease;
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo span { color: var(--gold); }
.nav-logo .nav-brand-text {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-logo .nav-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  color: var(--ivory);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.nav-logo .nav-brand-name em {
  color: var(--ivory);
  font-style: normal;
}
@media (max-width: 768px) {
  .nav-logo .nav-brand-name { display: none; }
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}
.nav-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-menu a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 11px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-2px); }
.nav-burger { display: none; background: none; border: none; color: var(--ivory); font-size: 1.5rem; cursor: pointer; }

/* ========= UNIVERSAL TYPOGRAPHY ========= */
.section {
  position: relative;
  z-index: 1;
  padding: 60px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-narrow { max-width: 920px; }
.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-lead {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.55;
}

/* Page hero */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 50px 32px 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.page-hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ========= BUTTONS ========= */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ========= PROSE CONTENT ========= */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.8;
}
.prose p { margin-bottom: 1.4em; color: var(--ivory); }
.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2rem;
  margin: 2.2em 0 0.8em;
  color: var(--ivory);
}
.prose h2 em { font-style: italic; color: var(--gold); }
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 1.8em 0 0.6em;
  color: var(--gold);
}
.prose ul, .prose ol {
  margin: 1em 0 1.4em 1.4em;
  color: var(--ivory);
}
.prose li { margin-bottom: 0.6em; }
.prose strong { color: var(--gold); font-weight: 600; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 1.6em 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--muted);
}

/* ========= FOOTER ========= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 50px 32px 30px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 14px;
}
.footer-brand span { color: var(--gold); }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 360px;
}
.footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a, .footer-contact a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease;
}
.footer ul a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ========= MOBILE NAVBAR — universal "MENIU" button + drawer ========= */
.mg-mobile-meniu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(201, 168, 106, 0.55);
  background: rgba(20, 20, 20, 0.55);
  color: var(--gold, #c9a86a);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 8px auto 0;
}
.mg-mobile-meniu-btn:hover { background: rgba(201,168,106,0.12); }
.mg-mobile-meniu-btn .meniu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.mg-mobile-meniu-btn .meniu-icon span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--gold, #c9a86a);
  border-radius: 2px;
}

.mg-mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(8, 8, 12, 0.985);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9995;
  border-bottom: 1px solid var(--gold, #c9a86a);
  max-height: 100vh;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.32s ease;
  padding: 24px 22px 28px;
}
.mg-mobile-drawer.open {
  transform: translateY(0);
}
.mg-mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line, #2a2a2a);
}
.mg-mobile-drawer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold, #c9a86a);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mg-mobile-drawer-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--ivory, #f1ece1);
  font-size: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mg-mobile-drawer-close:hover { background: rgba(255,255,255,0.06); }
.mg-mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mg-mobile-drawer li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mg-mobile-drawer li a {
  display: block;
  padding: 14px 6px;
  color: var(--ivory, #f1ece1);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s ease;
}
.mg-mobile-drawer li a:hover,
.mg-mobile-drawer li a.active {
  color: var(--gold, #c9a86a);
}

/* ========= MOBILE BREAKPOINTS ========= */
@media (max-width: 1100px) {
  .nav-menu { gap: 22px; }
  .nav-menu a { font-size: 0.72rem; }
}
@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-cta { padding: 9px 16px; font-size: 0.65rem; }
  .nav-burger { display: none; }       /* hide old burger */
  .nav-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 18px;
  }
  .mg-mobile-meniu-btn {
    display: inline-flex;
    order: 99;                         /* push to second row */
    flex-basis: 100%;                  /* full width row */
    margin-top: 10px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 70px 22px; }
  .page-hero { padding: 60px 22px 50px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .nav-logo { font-size: 1rem; gap: 8px !important; }
  .nav-logo img { height: 32px !important; }
  /* Mobile — paslepiame "MIDNIGHT GENTS" tekstą, paliekame tik logo ikoną. */
  .nav-logo .nav-brand-name { display: none !important; }
  /* Jonas pastaba 3: ant mobile paslepiame "Gauti pasiūlymą" CTA iš nav baro.
     CTA jau pasiekiamas per MENIU drawer + apatinę veiksmų juostą.
     Tai išvaduoja vietos MENIU mygtukui ir aiškesnis layout: [logo]   [MENIU] */
  .nav-cta { display: none !important; }
  .nav-inner { padding: 12px 14px !important; gap: 10px !important; flex-wrap: nowrap !important; }
  /* MENIU mygtukas eina į pat viršų, šalia logo, o ne antroje eilutėje */
  .mg-mobile-meniu-btn {
    order: 1 !important;
    flex-basis: auto !important;
    margin-top: 0 !important;
    padding: 10px 18px !important;
    font-size: 0.7rem !important;
  }
}


/* ========= PREMIUM FOOTER SOCIAL ICONS (override default page styles) ========= */
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}
.footer-social a {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--gold) !important;
  border: 1px solid var(--line);
  background: transparent;
  transition: all 0.3s ease !important;
  text-decoration: none;
}
.footer-social a:hover {
  color: var(--bg) !important;
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201,169,97,0.35);
}
.footer-social svg {
  display: block;
  fill: currentColor;
  width: 20px;
  height: 20px;
}


/* ========= #76 PHONE NUMBER STYLING (global) ========= */
/* Visi tel: linkai svetainėje gauna premium readable šriftą */
a[href^="tel:"] {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-contact a[href^="tel:"] {
  font-size: 0.96rem;
}
.contact-value {
  font-variant-numeric: tabular-nums;
}
