@font-face {
  font-family: "Typewritter";
  src: url("../fonts/ELEGANT TYPEWRITER Regular.ttf") format("truetype");
  font-display: swap;

}

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

/* make body a flex column so footer can stick */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* let main content expand to fill space */
main {
  flex: 1;
}


html, body { 
    height: 100%; 
}

body { 
    font-family: "Typewritter", sans-serif; 
}

html {
  scroll-behavior: smooth;
}


/* ===== NAVIGATION ===== */
.main-nav,
.nav-links { 
    display: flex; 
}

.main-nav{
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 1000;
  justify-content: space-between; 
  align-items: center;
  height: 80px; 
  padding: 0 2rem;
  background: white;
  backdrop-filter: blur(6px);
}

.logo{
    font-size: 2.3rem; 
    color: black; 
    cursor: pointer;
}

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

.logo a:hover {
  color: #FFD700;
}

.nav-links{
  gap: 1.25rem; 
  list-style: none; 
  font-size: 1.1rem;
}

.nav-links a{
  color: black; 
  text-decoration: none; 
  line-height: 1.2;
}

.nav-links a:hover{ 
    color: #FFD700; 
}

/* ===== HAMBURGER ===== */
.hamburger-icon{
  display: none;
  flex-direction: column; 
  justify-content: space-between;
  height: 24px; 
  width: 30px; 
  cursor: pointer;
  background: transparent; 
  border: 0; 
  padding: 0;
}

.hamburger-icon span{
  width: 100%; 
  height: 2px; 
  background: black;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

/* animated X */
.hamburger-icon.open span:nth-child(1){ 
    transform: translateY(14px) rotate(45deg); 
    background: #FFD700;
}

.hamburger-icon.open span:nth-child(2){ 
    opacity: 0; 
    background: #FFD700;

}

.hamburger-icon.open span:nth-child(3){ 
    transform: translateY(-8px) rotate(-45deg);
    background: #FFD700;
}

/* ===== HERO ===== */
header{ 
    position: relative; 
    z-index: 0; 
}            

.hero{
  position: relative; 
  min-height: 100svh;        
  display: grid; 
  place-items: center;
}

.hero::before{
  content: ""; 
  position: absolute; 
  inset: 0;         
  background: url("../img/Rotterdam_19.jpg") no-repeat center/cover; 
  opacity: .9; 
  z-index: -1;                          
}

.coming-soon{ 
    text-align: center; 
    padding: 2rem; 
}

.coming-soon h1{
    font-size: clamp(2.75rem, 8vw, 5rem); 
    line-height: 1.1; color:#000; 
}

.coming-soon p { 
    font-size: clamp(1.125rem, 4.5vw, 2rem); 
    color:#FFD700; 
    margin-top:.5rem; 
}

/* Demo padding for anchor sections */
.pad-section{ 
    min-height: 
    60vh; 
}

/* ===== Definition block ===== */
.definition {
  padding: 2rem 1rem;         /* mobile gutters + spacing */
  background: gold;
}

.definition-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.definition-term {
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: .02em;
  line-height: 1.05;
  margin-bottom: .5rem;
}

.definition-pos {
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
}

.definition-list {
  list-style: decimal;
  padding-left: 1.25rem;      /* space for numbers */
  display: grid;
  gap: .75rem;
  color: #111;
}

.definition-list li {
  line-height: 1.5;
  max-width: 70ch;            /* comfortable measure */
}

@media (min-width: 768px) {
  .definition { padding: 3rem 1.25rem; }
  .definition-term { margin-bottom: .75rem; }
  .definition-list { gap: 1rem; }
}


/* ===== Category preview blocks (home) ===== */
.category-preview {
    padding: 1.25rem 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 .75rem 0;
    padding: 1.2rem;
}

.section-header h2 {
    font-size: 1.7rem;
}

.section-header .see-all {
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

.section-header .see-all:hover {
    color: #555;
    border-color: #555;
}

/* Ensure tag chips never look like links */
.chip,
.chip a {
    text-decoration: none;
    border: none;
    color: inherit;
}


/* ===== FOOTER ===== */
.site-footer {
  background: gold;
  color: #fff;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
}

.footer-brand {
  font-size: 1rem;
  color: #aaa;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-link {
  color: black;
  text-decoration: none;
  font-size: 1rem;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Tablets and up: make links inline */
@media (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-links {
    flex-direction: row;
    gap: 1.25rem;
  }
}

/* ===== About page ===== */
.about-page {
  padding: 100px 1rem 3rem;   /* offset nav + bottom space */
  background: #fff;
  color: #111;
}

.about-section {
  max-width: 1100px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  gap: 1.5rem;                /* stack spacing (mobile first) */
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: .5rem;
}

.about-text {
  display: grid;
  gap: 1rem;
}

.about-text h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 65ch;
}

.about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .25rem;
}

.button-link {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  color: inherit;
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.button-link:hover {
  background: #FFD700;
  border-color: #d1b000;
  color: #000;
}
