/*
Theme Name: Brimaze
Theme URI: https://brimaze.se
Author: Joel
Description: Luxury, heritage-inspired one-page WordPress theme for BRIMAZE — a nail salon in Ludvika, Sweden. Espresso, cream and gold palette with Cinzel/Cormorant Garamond typography.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brimaze
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --gold-dim:   #A07830;
  --dark:       #1A1209;
  --dark-mid:   #231A0E;
  --dark-card:  #2A1F10;
  --cream:      #F0E6D0;
  --muted:      #9A8060;
  --font-display: 'Cormorant Garamond', serif;
  --font-ui:      'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(26,18,9,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.nav-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-emblem { width: 44px; height: 44px; flex-shrink: 0; }

.nav-logo-name {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #C9A96E 0%, #E8CC8A 40%, #F5DFA0 60%, #C9A96E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-book {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 0.65rem 1.5rem;
  text-decoration: none;
  transition: background 0.25s;
}
.nav-book:hover { background: var(--gold-light); }

.hero-emblem { width: 90px; height: 90px; margin-bottom: 2rem; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; width: 2.5rem; height: 1px; background: var(--gold-dim); flex-shrink: 0; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 10rem);
  font-weight: 300; line-height: 0.9; color: var(--gold-light);
  letter-spacing: -0.01em; margin-bottom: 1.75rem;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-style: italic; font-weight: 300; color: var(--cream);
  opacity: 0.85; margin-bottom: 1.5rem; max-width: 28rem;
}
.hero-body { font-size: 0.9rem; line-height: 1.8; color: var(--muted); max-width: 32rem; margin-bottom: 2.5rem; }
.hero-cta {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  font-weight: 500; color: var(--dark); background: var(--gold);
  padding: 1rem 2.5rem; text-decoration: none; transition: background 0.25s, letter-spacing 0.25s;
}
.hero-cta:hover { background: var(--gold-light); letter-spacing: 0.3em; }

/* ── DIVIDER ── */
.ornament { display: flex; align-items: center; gap: 1rem; padding: 3rem 2rem; }
.ornament-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold-dim), transparent); }
.ornament-diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* ── SECTIONS / SERVICES ── */
.section { padding: 4rem 2rem; }
.section-label { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.75rem; }
.section-heading {
  font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 300; color: var(--gold-light); margin-bottom: 2.5rem; line-height: 1.1;
}
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.1);
}
.service-item {
  background: var(--dark-card); padding: 1.75rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  transition: background 0.2s;
}
.service-item:hover { background: rgba(201,168,76,0.05); }
.service-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; color: var(--cream); margin-bottom: 0.3rem; }
.service-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.service-price { font-family: var(--font-display); font-size: 1rem; color: var(--gold); white-space: nowrap; padding-top: 0.15rem; }

/* ── HERITAGE ── */
.heritage { padding: 4rem 2rem; background: var(--dark-mid); border-top: 1px solid rgba(201,168,76,0.1); border-bottom: 1px solid rgba(201,168,76,0.1); }
.heritage-body {
  font-family: var(--font-display); font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-style: italic; font-weight: 300; line-height: 1.7; color: var(--cream); opacity: 0.9; max-width: 36rem;
}
.heritage-body span { color: var(--gold-light); font-style: normal; }
.heritage-flags { display: flex; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); align-items: center; }
.flag-dot { width: 5px; height: 5px; background: var(--gold-dim); border-radius: 50%; }

/* ── BRAND SEAL (dark logo card) ── */
.brand-seal { display: flex; justify-content: center; margin-top: 3rem; }
.brand-seal-card {
  position: relative;
  background: linear-gradient(145deg, #100a02 0%, #1c1208 60%, #120d04 100%);
  border-radius: 4px; padding: 2.75rem 3.5rem;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 0 0 1px rgba(201,169,110,0.2), 0 8px 40px rgba(0,0,0,0.55), inset 0 0 80px rgba(201,169,110,0.03);
}
.brand-seal-card::before, .brand-seal-card::after {
  content: ''; position: absolute; width: 20px; height: 20px;
  border-color: var(--gold); border-style: solid; opacity: 0.7;
}
.brand-seal-card::before { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.brand-seal-card::after  { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }
.brand-seal-emblem { width: 64px; height: 64px; margin-bottom: 1rem; filter: drop-shadow(0 2px 8px rgba(201,169,110,0.35)); }
.brand-seal-word {
  font-family: 'Cinzel', serif; font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: 0.18em; line-height: 1; text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 40%, var(--gold-light) 60%, var(--gold-dim) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-seal-divider { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0.8rem 0 0.7rem; }
.brand-seal-divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,169,110,0.5), transparent); }
.brand-seal-diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.brand-seal-tagline { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 0.75rem; letter-spacing: 0.26em; color: var(--gold-dim); text-transform: uppercase; }

/* ── BOOKING ── */
.booking { padding: 4rem 2rem; }
.booking-card { background: var(--dark-card); border: 1px solid rgba(201,168,76,0.15); padding: 2.5rem 2rem; }
.booking-card .section-heading { margin-bottom: 0.5rem; }
.booking-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.5rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.2);
  color: var(--cream); font-family: var(--font-ui); font-size: 0.85rem; font-weight: 300;
  padding: 0.85rem 1rem; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field select option { background: var(--dark-card); }
.form-field textarea { height: 100px; resize: none; }
.form-submit {
  width: 100%; background: var(--gold); color: var(--dark); border: none;
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; padding: 1.1rem; cursor: pointer; transition: background 0.25s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold-light); }

/* ── FOOTER ── */
footer { padding: 2.5rem 2rem; border-top: 1px solid rgba(201,168,76,0.1); display: flex; flex-direction: column; gap: 1rem; }
.footer-name {
  font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 400; letter-spacing: 0.2em;
  background: linear-gradient(135deg, #C9A96E 0%, #E8CC8A 40%, #F5DFA0 60%, #C9A96E 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-meta { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; line-height: 1.8; }
.footer-copy { font-size: 0.65rem; color: rgba(154,128,96,0.5); letter-spacing: 0.1em; margin-top: 0.5rem; }

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow, .hero-title, .hero-tagline, .hero-body, .hero-cta {
    opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s ease forwards;
  }
  .hero-eyebrow  { animation-delay: 0.1s; }
  .hero-title    { animation-delay: 0.25s; }
  .hero-tagline  { animation-delay: 0.45s; }
  .hero-body     { animation-delay: 0.6s; }
  .hero-cta      { animation-delay: 0.75s; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
}

/* ── RESPONSIVE ── */
@media (min-width: 640px) {
  nav { padding: 1.2rem 3rem; }
  .hero { padding: 8rem 3rem 5rem; }
  .section, .booking, .heritage { padding: 5rem 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 3rem; flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
@media (min-width: 960px) {
  nav { padding: 1.4rem 4rem; }
  .hero { padding: 9rem 4rem 6rem; }
  .section, .booking, .heritage { padding: 6rem 4rem; }
  .services-grid { grid-template-columns: 1fr 1fr 1fr; }
  footer { padding: 3rem 4rem; }
}

/* ── WP DEFAULTS ── */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
a { color: var(--gold-light); }
img { max-width: 100%; height: auto; }
