@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* CSS Document */

/*:root {
  --main-text: #EFDFC5;
  --highlight: #F42C1D;
  --background: #4C4F54;
  --accent-dark: #252B2B;
  --alt-box-bg: #3A3D41;
}
*/
/*
:root {
  --main-text: #E6D6C1;
  --highlight: #3EA38E;
  --background: #1A303F;
  --accent-dark: #252B2B;
  --alt-box-bg: #2B505C;
}
*/

:root {
  --main-text: #E6D6C1;
  --highlight: #38EDC7;
  --background: #595153;
  --accent-dark: #272427;
  --alt-box-bg: #23203A;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background-color: var(--background);
  color: var(--main-text);
  padding-top: 50px; /* same height as the navbar */
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1 0 auto; /* grow and shrink */
  display: flex;
  flex-direction: column;
  min-height: 0;
}
/*
.page-wrapper > footer {
  margin-top: auto;
}
*/
header {
  background-color: var(--accent-dark);
  padding: 0em 2em;
}

header h1,
h1 {
  color: var(--highlight);
  margin: 0.2em 0.5em;
  text-align: center;
  font-size: 1.4rem;
}

h2 {
  color: var(--highlight);
  margin: 1em 2em;
  text-align: left;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 1px;
  border-left: 4px solid var(--accent-dark);
  padding-left: 0.6em;
}

p {
  color: var(--main-text);
  margin: 0.5em 0.5em;
  text-align: left;
  font-size: 1rem;
}

.text-highlight {
  color: var(--highlight);
}

.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

.fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(76, 79, 84, 0) 0%, var(--background) 100%);
  pointer-events: none;
}

.banner-title {
  position: absolute;
  top: 30%;
  left: 23%;
  transform: translate(-50%, -50%);
  font-family: 'Roboto Mono', monospace;
  font-size: 7em;
  font-weight: 300;
  color: var(--accent-dark);
  text-align: left;
  padding: 0 1em;
}

.banner-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.4em;
  font-weight: 200;
  color: var(--accent-dark);
  margin-top: 0.2em;
}

.homepage-links {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  padding: 2em;
}

.home-tile {
  position: relative;
  display: block;
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;

}

.tile-caption {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 0.5em;
  background-color: rgba(36, 36, 36, 0.85);
  color: var(--main-text);
  font-size: 1em;
  text-align: center;
  border-radius: 0 0 12px 12px;
  z-index: 3;
  text-overflow: ellipsis;
  /*transition: background-color 0.6s ease, color 0.6s ease;*/
}

.home-tile:hover .tile-caption {
  background-color: var(--highlight);
  color: var(--accent-dark);
  transition: background-color 0.6s ease, color 0.6s ease;
}

.home-tile:hover .image-stack {
  border-color: var(--highlight);
  z-index: 3;
  transition: border-color 0.6s ease;
}
.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 4px solid var(--accent-dark);
  box-sizing: border-box;
}

.image-stack img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}

.image-stack img.active {
  opacity: 1;
  z-index: 2;
}

.box {
  width: auto;
  background-color: var(--accent-dark);
  border-radius: 10px;
  padding: 1.5em;
  margin-top: 2em;
  margin-left: 2em;
  margin-bottom: 2em;
  margin-right: 2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.box-row {
  display: flex;
  gap: 1em;
  margin-bottom: 0em;
  flex-wrap: wrap;
  align-items: flex-start;
}

.main-box {
  flex: 2;
}

.explainer-box {
  flex: 1;
  height: fit-content;
  background-color: var(--alt-box-bg);
  border: 4px solid var(--highlight);
  border-radius: 10px;
  padding: 1em;
  margin-top: 2em;
  margin-right: 2em;
  color: var(--main-text);
}

.explainer-box h3 {
  margin-top: 0;
  color: var(--highlight);
  font-size: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--accent-dark); 
  padding: 0 0.5em;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); 
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  margin-right: 2em;
}

nav ul li {
  margin-right: 1em;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: bold;
}

nav ul li a {
  color: var(--main-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li:hover a {
  color: var(--highlight);
}

nav ul li:not(:first-child) a {
  font-weight: 200;
}

footer {
  margin-top: auto;
  padding: 1rem;
  background-color: var(--accent-dark); 
  height: 50px;
  text-align: center;
  flex-shrink: 0;
}

/*PORTFOLIO*/

/*slideshow*/
.art-slideshow {
  position: relative;
  width: 80%;
  height: 500px; 
  overflow: hidden;
  margin: 1rem auto;
  z-index: 0;
  background-color: var(--accent-dark); 
}

.art-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.art-slideshow img.active {
  opacity: 1;
  z-index: 1;
}

.slideshow-controls {
  text-align: center;
  margin-top: 1rem;
}

.slideshow-controls button {
  background:transparent;
  color: var(--main-text);
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-size: 2rem;
}

.slideshow-controls button:hover {
  color: var(--highlight);
}

#slide-dots {
  display: inline-block;
  margin: 0 0rem;
}

#slide-dots button {
  background-color: var(--main-text); 
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s;
}

#slide-dots button.active {
  background-color: var(--highlight);
}

/*wall*/
.art-wall {
  column-count: 3;
  column-gap: 1em;
  padding: 2em;
}

.art-container {
  position: relative;
  margin-bottom: 1em;
  break-inside: avoid;
}

.art-container img {
  width: 100%;
  border: 3px solid var(--main-text);
  border-radius: 6px;
  display: block;
}

.art-container.landscape img {
  aspect-ratio: 3 / 2;
}

.art-container.portrait img {
  aspect-ratio: 2 / 3;
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(76, 79, 84, 0.85);
  color: var(--main-text);
  padding: 0.5em;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.9em;
}

.art-container:hover .caption {
  opacity: 1;
}

/*TRAVEL*/

    .timeline-container {
      position: relative;
      width: 100%;
      height: 200vh;
      overflow-x: hidden;
    }

    svg {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 500px;
      height: 200vh;
		  background: rgba(0, 255, 0, 0.1); /* TEMP */
    }

    .marker {
      fill: #00F6FF;
      r: 10;
    }

    .icon {
      position: absolute;
      width: 24px;
      height: 24px;
      background: var(--highlight);
      border-radius: 50%;
	  z-index: 10;
    }

    .place {
      position: absolute;
      padding: 10px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    .place img {
      width: 100px;
      height: auto;
      display: block;
      margin-top: 8px;
    }

/*CONTACT*/

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1em;
}

.contact-form label {
  font-weight: 400;
  color: var(--main-text);
  font-size: 1em;
}

.contact-form input,
.contact-form textarea {
  background-color: var(--background);
  color: var(--main-text);
  border: 2px solid var(--accent-dark);
  border-radius: 8px;
  padding: 0.8em;
  font-family: 'Roboto Mono', monospace;
  font-size: 1em;
  resize: vertical;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--highlight);
}

.contact-form button {
  align-self: flex-start;
  background-color: var(--highlight);
  color: var(--accent-dark);
  font-weight: bold;
  border: none;
  padding: 0.8em 1.5em;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #2eb89e;
}


/* Responsive columns */
@media (max-width: 768px) {
  .art-wall {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .art-wall {
    column-count: 1;
  }
}
