/*
Theme Name: Lunatic Fringe by The Boys
Theme URI: https://lunaticfringebytheboys.com
Author: Vanessa Held
Description: Custom editorial theme for Lunatic Fringe by The Boys — Dubai Marina
Version: 1.0
*/

:root {
  --color-bg:         #f7f5f2;
  --color-surface:    #eeece9;
  --color-border:     #dddad5;
  --color-text:       #0d0d0d;
  --color-muted:      #7a7774;
  --color-accent:     #FE0003;
  --color-accent-txt: #ffffff;
  --color-red:        #FE0003;
  --color-void-black: #000000;
  --color-pure-white: #ffffff;
  --color-charcoal:   #202020;
  --color-graphite:   #333333;
  --color-lamp-cream: #f5f5f0;
  --color-smoke:      #999999;
  --font-primary: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius-full: 9999px;
  --radius-card: 10px;
  --shadow-lg: rgba(0,0,0,0.08) 0px 4px 20px 0px;
  --shadow-xl: rgba(0,0,0,0.15) 0px 10px 30px 0px, rgba(255,255,255,0.6) 0px 1px 0px 0px inset;
  --page-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAVIGATION ── */
nav,
nav#mainNav {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 100 !important;
  padding: 20px 48px;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent;
  transition: background 0.3s ease;
}
nav.scrolled {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
/* Non-hero pages: nav starts dark */
body.nav-dark nav { background: var(--color-bg); border-bottom: 1px solid var(--color-border); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }

.nav-links,
ul#navLinks { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 32px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--color-pure-white);
  text-decoration: none; transition: color 0.2s; cursor: pointer;
}
.nav-links a:hover { color: rgba(255,255,255,0.6); }
nav.scrolled .nav-links a,
body.nav-dark nav .nav-links a { color: var(--color-text); }
nav.scrolled .nav-links a:hover,
body.nav-dark nav .nav-links a:hover { color: var(--color-muted); }

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-dropdown > a::after {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(-135deg) translateY(-2px); }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 16px);
  left: 50%; transform: translateX(-50%); background: var(--color-bg);
  border: 1px solid var(--color-border); border-radius: 10px;
  padding: 8px 0; min-width: 200px; box-shadow: 0 8px 32px rgba(0,0,0,0.10); z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; animation: fadeIn 0.2s ease; }
.dropdown-menu a {
  display: block; padding: 12px 20px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text) !important;
  text-decoration: none; cursor: pointer; transition: background 0.15s; white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--color-surface); color: var(--color-text) !important; }

.nav-cta {
  background: var(--color-accent); color: #ffffff; border: none;
  border-radius: var(--radius-full); padding: 10px 24px; font-size: 13px;
  font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: opacity 0.2s;
}
nav.scrolled .nav-cta,
body.nav-dark nav .nav-cta { background: var(--color-accent); color: #ffffff; }
.nav-cta:hover { opacity: 0.82; }

/* ── HAMBURGER MOBILE ── */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px; background: var(--color-pure-white); transition: all 0.3s;
}
nav.scrolled .nav-toggle span,
body.nav-dark nav .nav-toggle span { background: var(--color-text); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  background: var(--color-void-black); overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: var(--page-max);
  margin: 0 auto; padding: 0 48px 80px; pointer-events: none;
}
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-smoke); margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(48px, 7vw, 96px); font-weight: 300; line-height: 1.0;
  letter-spacing: -0.03em; color: var(--color-pure-white); max-width: 720px; margin-bottom: 40px;
}
.hero-headline em { font-style: italic; font-weight: 400; color: var(--color-lamp-cream); }
.hero-actions { display: flex; align-items: center; gap: 16px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--color-accent); color: var(--color-accent-txt); border: none;
  border-radius: var(--radius-full); padding: 14px 32px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; box-shadow: var(--shadow-lg);
  transition: opacity 0.2s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { opacity: 0.78; }
.btn-ghost {
  background: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-full); padding: 14px 32px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
  transition: border-color 0.2s, color 0.2s; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: #ffffff; color: #ffffff; }

/* ── SECTIONS ── */
section { padding: 96px 48px; }
.container { max-width: var(--page-max); margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-muted); margin-bottom: 32px; display: block;
}
.section-heading {
  font-size: clamp(36px, 4.5vw, 57px); font-weight: 300; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--color-text); margin-bottom: 24px; max-width: 680px;
}
.section-heading em { font-style: italic; font-weight: 400; color: var(--color-red); }
.section-body { font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--color-muted); max-width: 520px; }
.divider { border: none; border-top: 1px solid var(--color-border); margin: 0; }

/* ── CARDS GRID ── */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 64px; }
.card { background: var(--color-surface); border-radius: var(--radius-card); overflow: hidden; position: relative; }
.card-img-real { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.card-img-real img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}
.card:hover .card-img-real img { transform: scale(1.04); }
.card-badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(200,200,200,0.1); backdrop-filter: blur(20px) saturate(1.4);
  color: var(--color-pure-white); border-radius: var(--radius-full); padding: 6px 14px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--shadow-xl);
}
.card-body { padding: 24px; }
.card-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--color-text); margin-bottom: 8px; }
.card-sub { font-size: 13px; color: var(--color-muted); line-height: 1.5; }

/* ── 2-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col-reverse { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col-reverse > *:first-child { order: 2; }
.two-col-reverse > *:last-child { order: 1; }

.media-block {
  aspect-ratio: 4/5; background: linear-gradient(160deg, #181818 0%, #0c0c0c 100%);
  border-radius: var(--radius-card); position: relative; overflow: hidden;
}
.media-block img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }

/* ── SERVICES LIST ── */
.services-list { list-style: none; margin-top: 40px; }
.services-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--color-border); font-size: 16px;
  color: var(--color-text); transition: color 0.2s;
}
.services-list li:first-child { border-top: 1px solid var(--color-border); }
.services-list li:hover { color: var(--color-muted); }
.services-list .price { font-size: 13px; color: var(--color-muted); letter-spacing: 0.03em; }
.services-tier-heading {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-muted); margin: 36px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--color-border);
}
.services-tier-heading:first-child { margin-top: 24px; }
.services-list .duration { font-size: 11px; color: var(--color-muted); letter-spacing: 0.04em; margin-left: 8px; }

/* ── CONTACT ── */
.contact-item { padding: 32px 0; border-bottom: 1px solid var(--color-border); }
.contact-item:first-child { border-top: 1px solid var(--color-border); }
.contact-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-muted); margin-bottom: 8px; display: block;
}
.contact-value { font-size: 16px; color: var(--color-text); text-decoration: none; }
a.contact-value:hover { color: var(--color-muted); }

/* ── PRICELIST ── */
.price-section { margin-bottom: 80px; }
.price-category {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-muted); margin-bottom: 32px; display: block;
}
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--color-border); font-size: 16px;
}
.price-row:first-of-type { border-top: 1px solid var(--color-border); }
.price-name { color: var(--color-text); }
.price-amount { font-size: 13px; color: var(--color-muted); white-space: nowrap; margin-left: 24px; }

/* ── QUOTE ── */
.quote-block { padding: 80px 0; border-bottom: 1px solid var(--color-border); }
.quote-text {
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 300; line-height: 1.15;
  letter-spacing: -0.025em; color: var(--color-text); max-width: 840px;
}
.quote-text em { font-style: italic; color: var(--color-red); }

/* ── FOOTER ── */
footer { padding: 120px 48px 64px; border-top: 1px solid var(--color-border); background: var(--color-bg); }
.footer-headline {
  font-size: clamp(40px, 5vw, 72px); font-weight: 300; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--color-text); margin-bottom: 80px; max-width: 720px;
}
.footer-headline em { font-style: italic; font-weight: 400; color: var(--color-red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 48px; border-top: 1px solid var(--color-border);
}
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a {
  font-size: 12px; color: var(--color-muted); text-decoration: none;
  letter-spacing: 0.03em; transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-text); }
.footer-copy { font-size: 12px; color: var(--color-muted); letter-spacing: 0.02em; }

/* ── SERVICE CARD HOVER ── */
.service-card { transition: transform 0.3s cubic-bezier(0.625,0.05,0,1), box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav,
  nav#mainNav { padding: 16px 24px !important; }
  /* Force hide desktop nav links on mobile */
  .nav-links,
  ul#navLinks { display: none !important; }
  /* Hamburger: always on right */
  .nav-toggle,
  div#navToggle { display: flex !important; margin-left: auto !important; order: 3 !important; }
  /* Open state */
  #navLinks.open,
  .nav-links.open {
    display: flex !important; flex-direction: column; position: fixed; inset: 0;
    background: var(--color-bg); justify-content: center; align-items: center; gap: 40px; z-index: 99;
  }
  .nav-links.open a { font-size: 20px; color: var(--color-text) !important; }
  .nav-links.open .nav-cta { margin-top: 16px; background: var(--color-accent); color: var(--color-accent-txt); }
  .nav-links.open .nav-dropdown { display: flex; flex-direction: column; align-items: center; }
  .nav-links.open .nav-dropdown > a { font-size: 20px; }
  .nav-links.open .dropdown-menu {
    position: static; transform: none; box-shadow: none; border: none;
    background: transparent; padding: 0; min-width: unset;
    display: none; flex-direction: column; align-items: center; gap: 20px; margin-top: 20px;
  }
  .nav-links.open .nav-dropdown.open .dropdown-menu { display: flex; }
  .nav-links.open .dropdown-menu a { font-size: 15px; padding: 0; background: transparent; letter-spacing: 0.07em; }
  section { padding: 64px 24px; }
  .hero-content { padding: 0 24px 64px; }
  .hero-headline { font-size: clamp(36px, 9vw, 60px); }
  .section-heading { font-size: clamp(30px, 6vw, 44px); }
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .two-col, .two-col-reverse { grid-template-columns: 1fr; gap: 48px; }
  .two-col-reverse > *:first-child { order: 0; }
  .two-col-reverse > *:last-child { order: 0; }
  .footer-bottom { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-headline { font-size: clamp(32px, 8vw, 56px); }
  footer { padding: 80px 24px 48px; }
  /* Footer links: wrap and smaller */
  .footer-links { flex-wrap: wrap !important; gap: 12px 20px !important; }
  .footer-links li a { font-size: 12px !important; }
  /* Blow page style card names smaller on mobile */
  .blow-style-name { font-size: 16px !important; }
}
@media (max-width: 768px) {
  .page-lookbook-columns { column-count: 2 !important; }
  .philosophy-3col { grid-template-columns: 1fr !important; gap: 40px !important; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .page-lookbook-columns { column-count: 1 !important; }
}
