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

:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-red: #DC143C;
  --color-red-bright: #FF1744;
  --color-gray-light: #FAFAFA;
  --color-gray-dark: #1A1A1A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Courier New', Courier, monospace, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  background-color: var(--color-white);
  color: var(--color-black);
  line-height: 1.4;
  font-weight: 700;
  font-size: 16px;
  border: 8px solid var(--color-black);
  min-height: 100vh;
}

a {
  color: var(--color-black);
  text-decoration: none;
  transition: none;
  font-weight: 700;
}

a:hover {
  color: var(--color-red);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section {
  padding: 6rem 0;
  border-top: 6px solid var(--color-black);
  border-bottom: 6px solid var(--color-black);
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  text-align: left;
  letter-spacing: -0.02em;
  color: var(--color-black);
  text-transform: uppercase;
  line-height: 1.1;
  border: 8px solid var(--color-black);
  padding: 1.5rem 2rem;
  display: inline-block;
  background-color: var(--color-white);
  box-shadow: 12px 12px 0 var(--color-black);
}

@media (max-width: 768px) {
  body {
    border-width: 4px;
    font-size: 14px;
  }

  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
    border-width: 4px;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    border-width: 4px;
    box-shadow: 8px 8px 0 var(--color-black);
  }
}

/* Brutalist pattern overlay */
.pattern-overlay {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    var(--color-black) 2px,
    var(--color-black) 4px
  );
}

.pattern-corner {
  position: absolute;
  opacity: 0.2;
  pointer-events: none;
  border: 4px solid var(--color-black);
}

.site-header {
  padding: 80px 40px;
  text-align: center;
}

.overlay-animation {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px; /* adjust to fit your drawing */
  height: auto;
  z-index: 9999;
  pointer-events: none;
  margin-top: -50px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* --- LOGO WRAPPER --- */
.logo {
  position: relative;
  display: inline-block;
}

.logo {
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-image {
  max-height: 100%;
  width: auto;
}



/* --- HOVER TEXT --- */
.hover-text {
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 120%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-family: Arial, sans-serif;
  color: var(--color-red-bright);
  white-space: nowrap;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

/* SHOW TEXT WHEN HOVERING THE WHOLE LOGO AREA */
.logo:hover .hover-text {
  opacity: 1;
}

/* contact links */

.contact-left {
  position: absolute;
  top: 183px;
  font-size: 1rem;
  font-weight: bold;
  background: none;
  padding: 8px 12px;
  border: none;
  z-index: 20;
}

.contact-right {
  position: absolute;
  top: 200px;
  font-size: 1rem;
  font-weight: bold;
  background: none;
  padding: 8px 12px;
  border: none;
  z-index: 20;
}

.contact-left {
  left: 250px;
}

.contact-right {
  right: 190px;
}

.contact-left a,
.contact-right a {
  color: var(--color-black);
  text-decoration: none;
  background: none;
}

.contact-left:hover,
.contact-right:hover {
  color: #d00000;;
  background: none;
}

.contact-left a:hover,
.contact-right a:hover {
  color: #d00000;;
  background: none;
}

/* --- andere links ---*/

.howtobook {
  position: absolute;
  top: 400px;
  font-size: 1rem;
  font-weight: bold;
  background: none;
  padding: 8px 12px;
  border: none;
  z-index: 20;
  left: 200px;
}

.textme {
  position: absolute;
  top: 410px;
  font-size: 1rem;
  font-weight: bold;
  background: none;
  padding: 8px 12px;
  border: none;
  z-index: 20;
  right: 50px;
}

/*
.textme a {
  position: relative;
  display: inline-block;
} */

.signal-username {
  opacity: 0;
  margin-left: 8px;
  transition: opacity 0.3s ease;
  font-style: italic; /* optional, fits your vibe */
}

.textme a:hover .signal-username {
  opacity: 1;
}


.aboutme {
  position: absolute;
  top: 30px;
  font-size: 1rem;
  font-weight: bold;
  background: none;
  padding: 8px 12px;
  border: none;
  z-index: 20;
  right: 320px;
}

.portfolio {
  position: absolute;
  top: 40px;
  font-size: 1rem;
  font-weight: bold;
  background: none;
  padding: 8px 12px;
  border: none;
  z-index: 20;
  left: 250px;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  padding-top: 400px;
}

.gallery-img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}


/* --- ZINE-STYLE GALLERY --- */
/* .gallery {
  display: grid;
  grid-template-columns: repeat(9, 5fr);
  gap: 20px;
  padding: 40px;
  padding-top: 20%;
}

/* Base gallery item */
/* .gallery-item {
  position: relative;
  overflow: hidden;
  border: none;
  background: var(--color-gray-light);
  /* transition: transform 0.2s ease, filter 0.2s ease; */
/* } */

/* Uneven zine sizes */ /*
.size-small { grid-row: span 0.5; grid-column: span 0.5; }
.size-medium { grid-row: span 1.5; grid-column: span 0.5; }
.size-large { grid-row: span 2; grid-column: span 2; }
.size-wide { grid-row: span 1; grid-column: span 2; }
.size-tall { grid-row: span 2; grid-column: span 1; } */

/* Images fill their weird shapes */ /*
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */

/* Hover glow */ /*
.gallery-item {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 25px rgba(255, 0, 150, 1));
} */


/* Text overlay */
/* .img-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: none;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
  text-shadow: 0 0 8px rgba(255, 0, 150, 0.9);
} */

/* Show text on hover */
/* .gallery-item:hover .img-label {
  opacity: 1;
}

.zoom-toggle {
  display: none;
}

.zoom-wrapper {
  display: block;
  cursor: zoom-in;
}

.zoom-toggle:checked + img {
  transform: scale(1.5);
  z-index: 10;
  position: relative;
  cursor: zoom-out;
}

.zoom-wrapper img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */



/* --- GLOWING CURSOR ON HOVER --- */
/*.gallery-item:hover {
  cursor: pointer;
  filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.8));
} */


/* ------------------------------ */
/* 📱 MOBILE FIXES FOR HEADER     */
/* ------------------------------ */
@media (max-width: 768px) {

  /* shrink logo */
  .overlay-animation {
    width: 90vw;
    margin-top: 0;
  }

  /* turn header into a vertical stack */
  .site-header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
  }

  /* reset all absolute links */
  .contact-left,
  .contact-right,
  .howtobook,
  .textme,
  .aboutme,
  .portfolio {
    position: static;
    text-align: center;
    font-size: 1rem;
    padding: 6px 0;
  }

  /* gallery spacing */
  #gallery {
    padding-top: 40px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
}
