/* =========================================================
   DESIGN-TOKENS
   Ret disse variabler hvis du vil ændre farver/typografi
   overalt på siden på én gang.
   ========================================================= */
:root{
  --ink-black: #14100f;
  --charcoal:  #1f1a1a;
  --cherry:    #c22f45;
  --cherry-dark: #8f2033;
  --frosting:  #f2e3d5;
  --paper:     #ece3d4;
  --paper-line:#d8c9ae;
  --muted:     #8c8280;

  --font-display: "Anton", sans-serif;
  --font-body: "Work Sans", sans-serif;
}

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

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  background: var(--ink-black);
  color: var(--frosting);
  line-height: 1.6;
}

img{ max-width:100%; display:block; }

h1,h2{ font-family: var(--font-display); letter-spacing: 0.02em; }

a{ color: inherit; text-decoration:none; }

.section-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 40;
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 1.1rem 1.75rem;
  background: rgba(20,16,15,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(242,227,213,0.08);
}

.logo{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--frosting);
}
.logo span{ color: var(--cherry); }

.site-header nav{ display:flex; gap: 1.75rem; }
.site-header nav a{
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color .2s ease;
}
.site-header nav a:hover,
.site-header nav a:focus-visible{ color: var(--cherry); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:flex-end;
}

.hero-img{
  position: absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(20,16,15,0.15) 0%, rgba(20,16,15,0.55) 55%, rgba(20,16,15,0.95) 100%);
}

.hero-overlay{
  position: relative;
  z-index: 2;
  padding: 0 1.75rem 4.5rem;
  width:100%;
}

.hero-overlay h1{
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  color: var(--frosting);
  line-height: 0.95;
}
.hero-overlay h1 span{ color: var(--cherry); display:block; }

.tagline{
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn{
  display:inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  background: var(--cherry);
  color: var(--frosting);
  font-weight:600;
  border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover, .btn:focus-visible{
  background: var(--cherry-dark);
  transform: translateY(-2px);
}

/* =========================================================
   GALLERI — "FLASH SHEET"
   Signaturelementet: galleriet er stylet som et opslag fra en
   tattoo flash-sheet — papirfarvet baggrund, håndskrevne
   numre i hjørnet, og et let, tilfældigt skæv layout der
   retter sig ud ved hover, ligesom man ville rette ud og se
   nærmere på et ark med designs.
   ========================================================= */
.gallery{
  background: var(--paper);
  color: var(--ink-black);
}

.gallery h2{ font-size: 2.5rem; color: var(--ink-black); }
.section-lede{ color: #5a5148; margin-top: 0.5rem; margin-bottom: 3rem; }

.flash-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flash-item{
  position:relative;
  border: none;
  background: #f5efe3;
  padding: 0.6rem;
  cursor: pointer;
  box-shadow: 0 1px 0 var(--paper-line);
  outline: 2px dashed transparent;
  outline-offset: -8px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.flash-item:nth-child(3n+1){ transform: rotate(-1.2deg); }
.flash-item:nth-child(3n+2){ transform: rotate(0.8deg); }
.flash-item:nth-child(3n){ transform: rotate(-0.4deg); }

.flash-item:hover,
.flash-item:focus-visible{
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 12px 24px rgba(20,16,15,0.18);
  outline-color: rgba(194,47,69,0.35);
}

.flash-item img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: sepia(8%);
}

.flash-num{
  position:absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--cherry);
  color: var(--frosting);
  font-family: var(--font-display);
  font-size: 0.85rem;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* =========================================================
   OM
   ========================================================= */
.about{ background: var(--ink-black); }
.about h2{ font-size: 2.2rem; color: var(--frosting); margin-bottom: 1.25rem; }
.about p{ max-width: 60ch; color: var(--muted); }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact{ background: var(--charcoal); }
.contact h2{ font-size: 2.2rem; color: var(--frosting); margin-bottom: 1rem; }
.contact p{ color: var(--muted); margin-bottom: 1.75rem; }

.contact-list{ list-style:none; display:flex; flex-direction:column; gap:0.75rem; }
.contact-list a{ color: var(--frosting); font-weight:600; }
.contact-list a:hover{ color: var(--cherry); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  text-align:center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--ink-black);
  border-top: 1px solid rgba(242,227,213,0.08);
}

/* =========================================================
   LIGHTBOX (POPUP)
   ========================================================= */
.lightbox{
  position: fixed;
  inset:0;
  background: rgba(10,8,8,0.94);
  display:none;
  align-items:center;
  justify-content:center;
  z-index: 100;
  padding: 2rem;
}
.lightbox.open{ display:flex; }

.lightbox img{
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close{
  position:absolute;
  top: 1.25rem;
  right: 1.5rem;
  background:none;
  border:none;
  color: var(--frosting);
  font-size: 2.5rem;
  line-height:1;
  cursor:pointer;
}
.lightbox-close:hover{ color: var(--cherry); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .flash-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px){
  .flash-grid{ grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .section-inner{ padding: 3.5rem 1.25rem; }
  .site-header nav{ gap: 1rem; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}
