/* GLOBAL */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: Georgia, Times, 'Times New Roman', serif; 
    background: #fff; 
    overflow-y: auto; 
    transition: background-color 0.5s;
}
#p5-canvas { position: fixed; top: 0; left: 0; z-index: 1; cursor: pointer; }
.content { position: relative; z-index: 2; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; padding: 40px; }
.artist-page .content { pointer-events: auto; }
.artist-page { display: grid; padding: 1vw 3vw 1vw 1vw; }
.main-text { font-size: 18px; text-align: center; padding: 0 20px; }
.main-text > div {margin: 0 auto;}

/* helper for text that should resize on small screens */
.responsive-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}
.main-nav { position: fixed; top: 0; right: 0; display: flex; padding: 1rem; z-index: 6; pointer-events: auto; }
.nav-hoofd { width: 50px; height: 50px; transition: transform 0.2s; }
.nav-hoofd:hover { transform: scale(1.1); }

/* rotating element */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.rotating {
    animation: spin 4s linear infinite;
    transform-origin: center center;
}

h1 { font-size: 2.4rem; line-height: 3rem; color: rgb(85, 107, 47); margin-bottom: 1rem; font-weight: 500; margin-left: 1rem; font-family: Helvetica, Arial, sans-serif;}
h2 { text-align: left; color:blue; font-family: Helvetica, Arial, sans-serif; font-weight: normal;}
h3 { font-size: 2.4rem; line-height: 3rem; color: blue; margin-top: 3.5rem; margin-bottom: 0.5rem; font-weight: 500; text-align: center; font-family: Helvetica, Arial, sans-serif;}
h4 { font-size: 1.4rem; font-style: italic; line-height: 3rem; color: blue; margin-bottom: 1rem; font-weight: 500; text-align: center; font-family: Helvetica, Arial, sans-serif;}

/* base text elements share the same sizing and spacing */
p, a, span {
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
    color: inherit;
}

a {
    text-decoration: none;
}

footer { margin-top: auto; padding: 1rem; }
footer p { font-size: 14px; color: blue; text-align: center;}

/* CONTACT GRID */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; width: 100%; max-width: 1200px; margin: 2rem auto; padding: 1rem; }
.contact-col { padding: 1rem; line-height: 1.6; font-size: 16px; text-align: left; }
.contact-col p { text-align: left; }
.contact-col a { text-decoration: none; }
.contact-col a:hover { opacity: 0.7; }

/* VOORLOPIGE ARCHIVE/WEBSITE LINK */
.archive-link {
    text-decoration: none;
    color: black;
}

.archive-link:hover {
    color: red;
}



/* AGENDA */
.agenda-full { border: 1px solid darkolivegreen; margin: 20px; padding: 10px; }
.agenda-list { display: flex; flex-direction: column; width: 100%; }
.agenda-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: center; padding: 0.8rem 1rem; text-decoration: none; color: inherit; border-bottom: 1px solid rgba(0,0,0,0.05); -webkit-tap-highlight-color: rgba(0,0,0,0.05); transition: background 0.2s; }
.agenda-row:hover { background: rgba(0,0,0,0.02); }
.agenda-title { font-weight: 700; }
.agenda-title:hover { opacity: 0; }
.agenda-artist { cursor: pointer; transition: opacity 0.2s; -webkit-tap-highlight-color: transparent; }
.agenda-artist:hover { opacity: 0; }

.agenda-row.organizer-camille { border-bottom-color: blue; }
.agenda-row.organizer-camille .agenda-title, .agenda-row.organizer-camille .agenda-date, .agenda-row.organizer-camille .agenda-location, .agenda-row.organizer-camille .agenda-artist { color: blue; }

.agenda-row.organizer-ruben { border-bottom-color: red; }
.agenda-row.organizer-ruben .agenda-title, .agenda-row.organizer-ruben .agenda-date, .agenda-row.organizer-ruben .agenda-location, .agenda-row.organizer-ruben .agenda-artist { color: red; }

.agenda-row.organizer-soetkin { border-bottom-color: darkolivegreen; }
.agenda-row.organizer-soetkin .agenda-title, .agenda-row.organizer-soetkin .agenda-date, .agenda-row.organizer-soetkin .agenda-location, .agenda-row.organizer-soetkin .agenda-artist { color: darkolivegreen; }

.agenda-row.organizer-boegbeeld { border-bottom-color: orange; }
.agenda-row.organizer-boegbeeld .agenda-title, .agenda-row.organizer-boegbeeld .agenda-date, .agenda-row.organizer-boegbeeld .agenda-location, .agenda-row.organizer-boegbeeld .agenda-artist { color: orange; }

.back-row { background: none; border: 1px solid rgba(255, 165, 0); border-radius: 20px; color: orange; cursor: pointer; padding: 0.5rem 0.5rem; transition: opacity 0.2s; width: fit-content; }
.back-btn { background: none; border: 1px; border-radius: 20px; color: rgb(255, 165, 0); cursor: pointer; padding: 0.5rem 0.5rem; transition: opacity 0.2s; }
.back-btn:hover { opacity: 0.5; }

.filter-buttons { margin: 10px 0; display: flex; gap: 10px; }
.filter-buttons button { padding: 0.5rem 1rem; border: 1px solid darkolivegreen; border-radius: 20px; color: darkolivegreen; background: #fff; cursor: pointer; transition: background 0.2s; }
.filter-buttons button:hover { background: #f0f0f0; }

/* CAROUSEL */
.carousel-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: blue;
      border: 1px solid rgba(255,255,255,0.3);
      color: white;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      z-index: 10;
}

.carousel-btn:hover { background: rgba(255,255,255,0.3); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: blue;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}  

/* TWO COLUMN LAYOUT */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.column-left {
    grid-column: 1;
    font-size: 18px;
}

.column-right {
    grid-column: 2;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .column-left,
    .column-right {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .column-left,
    .column-right {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .column-left,
    .column-right {
        font-size: 14px;
    }
}

/* WORKS GRID LAYOUT */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.archive-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.2s, opacity 0.2s;
}

.archive-item:hover {
    opacity: 0.8;
    transform: scale(0.98);
}

.archive-item img {
    width: 100%;
    height: auto;
    display: block;
}

.archive-item span {
    padding: 0.5rem 0.5rem;
    font-weight: 500;
    text-align: center;
}

/* TABLET: 2 columns */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE: 1 column */
@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

/* LABEL STYLING */
.label {
    font-weight: 500;
    color: blue;
    font-size: inherit;
}

/* RESPONSIVE */
@media (max-width: 768px) {
	.main-text { font-size: 24px; padding: 0 15px; }
	.content { padding: 15px; }
    .nav-hoofd {width: 50px; height: 50px;}
    h1 {font-size: 1.8rem; line-height: 2.2rem;}
    .agenda-full { margin: 10px; padding: 5px; }
}

@media (max-width: 720px) {
	.agenda-row { 
        grid-template-columns: 1fr;
        padding: 1rem 0.5rem;
        gap:0.3rem;
    }
    .agenda-date, .agenda-location { font-size: 0.8rem; }
    .agenda-title { font-size: 0.95rem;}
	.contact-grid { 
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
    .contact-col{
        padding: 0.5rem;
        font-size: 14px
    }
	.work-detail-images-container { --gallery-height: 40vh; }
    .artist-page {padding: 1vw;}
    .agenda-full { margin: 10px; padding: 5px; }
    .filter-buttons { gap: 5px; }
    .filter-buttons button { padding: 0.4rem 0.8rem; font-size: 14px;}
}

@media (max-width: 480px) {
	.main-text { font-size: 20px; }
    .main-text h1 {font-size: 1.5rem; margin-bottom: 0.5rem;}
    .main-text > div {font-size: 14px !important; padding: 0 10px !important;}
    .responsive-text { font-size: 14px; }
	.work-detail-images-container { --gallery-height: 60vw; }
    .nav-hoofd{width: 35px; height:35px;}
    .main-nav {padding: 0.5rem;}
    h1 {font-size: 1.5rem; line-height: 1.8rem;}
    a, span, p {font-size: 15px;}
    footer p { font-size: 10px}
    .agenda-full { margin: 5px; padding: 5px; }
    .filter-buttons { gap: 5px; }
    .filter-buttons button { padding: 0.3rem 0.6rem; font-size: 12px;}
}


/* REVIEWS */
.review {
    margin-bottom: 1rem;
}
.review .quote {
    color: blue;
    font-style: italic;
    text-align: center;
    font-size: larger;
}
.review .author {
    text-align: center;
    font-weight: 500;
}

/* Camille grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* groot scherm: 3 per rij */
  gap: 24px;
}

.archive-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.archive-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 8px;
}

/* Middel scherm: 2 per rij */
@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}


