/* === Fonts & Base === */
html, body {
  background-color: white;
  margin: 0;
  padding: 0;
  min-height: 100%;
}

#home.section.active {
  min-height: 100vh;
  background-color: white;

  display: flex;
  flex-direction: column;
  align-items: center;
}
.section {
  display: none;
}

.section.active {
  display: block;
}


  
  /* === Title === */
  h1 {
    font-size: 7rem;
    text-align: center;
    color: black;
    margin: 40px 0 20px;
    /* font-family: 'Libre Baskerville', serif; */
    font-family: cursive;
  }
  
  /* === Section Headings === */
  h2 {
    font-size: 2rem;
    color: #3b2f1e;
    margin: 20px 0 10px;
    text-align: center;
    font-family: 'Libre Baskerville', serif;
  }
  
  /* === Home Grid === */
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px;
    max-width: 960px;
    margin: 0 auto;
  }
  
  .grid img {
    width: 100%;
    height: auto;
    border: 4px solid #bcb08c;
    border-radius: 6px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(59, 47, 30, 0.3);
    cursor: pointer;
  }
  
  .grid img:hover {
    transform: scale(1.05);
  }
  
  /* === Video Options Layout === */
  .video-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px auto;
    padding: 10px;
    max-width: 800px;
  }

.video-option.selected {
  background-color: #ffffff !important;
  color: #3b2f1e;
  border: 2px dashed #bcb08c;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}
  
  /* === Option Buttons === */
  #optionButtons button {
    background-color: #c1975b;
    color: #2f1e13;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 1rem;
    font-family: 'Special Elite', monospace;
    cursor: pointer;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease;
  }
  
  #optionButtons button:hover {
    background-color: #a5794a;
    transform: scale(1.05);
  }
  
  /* === Go Back Button (from Options) === */
  #goBackFromOptions {
    display: block;
    margin: 30px auto;
    background-color: #704214;
    color: #fff5dc;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    padding: 12px 24px;
    cursor: pointer;
    font-family: 'Special Elite', monospace;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background-color 0.2s ease;
  }
  
  #goBackFromOptions:hover {
    background-color: #5b3513;
  }
  
  /* === Video Player Layout === */
  .video-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 30px 20px;
    background-color: #fcf8e3;
    text-align: center;
  }
  
  .video-layout video {
    max-width: 100%;
    width: 640px;
    border: 8px solid #bcb08c;
    border-radius: 8px;
    background-color: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  
  /* === Go Back Button (from Video) === */
  .video-layout button {
    background-color: #704214;
    color: #fff5dc;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    padding: 12px 24px;
    cursor: pointer;
    font-family: 'Special Elite', monospace;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background-color 0.2s ease;
    margin: 0 auto; 
  }
  
  .video-layout button:hover {
    background-color: #5b3513;
  }
  
  /* === Section Visibility Control === */
  .section {
    display: none;
  }
  
  .section.active {
    display: block;
  }
  
  /* === Responsive Adjustments === */
  @media (max-width: 768px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .video-layout video {
      width: 100%;
    }
  
    h1 {
      font-size: 2.4rem;
    }
  
    h2 {
      font-size: 1.6rem;
    }
  }
  
  @media (max-width: 480px) {
    .grid {
      grid-template-columns: 1fr;
    }
  
    #optionButtons button,
    #goBackFromOptions,
    .video-layout button {
      font-size: 1rem;
      padding: 10px 18px;
    }
  }

  .thumbnail-wrapper {
    text-align: center;
  }
  
  .thumbnail {
    width: 100%;
    height: auto;
    border: 4px solid #bcb08c;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(59, 47, 30, 0.3);
    transition: transform 0.3s ease;
  }
  
  .thumbnail:hover {
    transform: scale(1.05);
  }
  
  .thumbnail-caption {
    margin-top: 6px;
    font-size: 1.8rem;
    color: #3b2f1e;
    font-family: 'Special Elite', monospace;
  }

  .reset-selection {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #a5794a;
    color: white;
    font-family: 'Special Elite', monospace;
    font-size: 1rem;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 100;
    transition: background-color 0.2s ease;
    display: none; /* start hidden */
  }
  
  .reset-selection:hover {
    background-color: #8a653b;
  }
  

  /*JK Painting section */
  #home {
  background-color: bisque;
}

.JK-paintings-title {
  font-family: cursive;
}
  .jk-link {
  margin-top: 20px;
  margin-bottom: 3rem;  
  text-align: center;
}

.jk-link a {
  font-size: 2rem;      /* makes the text much larger */
  font-weight: bold;    /* optional: makes it stand out */
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
}

.jk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  /* background-color: #ddc9b2; */
}

.jk-thumb-wrapper {
  text-align: center;
}

.jk-back-wrapper {
  width: 100%;          /* full width container */
  display: flex;        /* use flexbox */
  justify-content: center; /* center items horizontally */
  margin-top: 20px;
}

.jk-back-wrapper button {
  font-size: 1.4rem;       /* larger text */
  padding: 12px 28px;      /* bigger clickable area */
  border-radius: 8px;      /* rounded corners */
  cursor: pointer;
  border: 1px solid #444;  /* subtle border */
  background-color: #f0f0f0;  /* light background – customize if needed */
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-bottom: 80px;
}

.jk-back-wrapper button:hover {
  background-color: #e2e2e2;
}

.jk-back-wrapper button:active {
  transform: scale(0.97);  /* slight click feedback */
}

.jk-thumb {
  width: 100%;
  max-width: 300px;
  cursor: pointer;
  border-radius: 6px;
}

.jk-caption {
  margin-top: 8px;
  font-size: 1.2em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.full-image-wrapper {
  text-align: center;
  padding: 20px;
}

#fullImage {
  max-width: 95%;
  height: auto;
  border-radius: 8px;
}

.full-image-back-wrapper {
  width: 100%;                 /* span full width */
  display: flex;               /* enable flexbox */
  justify-content: center;     /* center horizontally */
  margin-top: 20px;
  margin-bottom: 3rem;         /* ≈ two blank lines of space */
}

.rotate-90 {
  transform: rotate(90deg) !important;
  transform-origin: center center;
}

/*styles for the home menu */
.home-menu {
  list-style: none;
  padding-left: 0;
  margin: 15px auto 40px auto; /* reduced top spacing */
  width: fit-content;          /* shrink-wrap */
}

.home-menu li {
  background-image: url("bullet.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 85px 85px;

  padding-left: 125px;
  margin-bottom: 26px;
  text-align: left;

 /* border-radius: 6px; */
  transition: background-color 0.2s ease, transform 0.15s ease;
}


.home-menu-button {
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  font-size: 6rem;
  font-family: cursive;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease,
              transform 0.15s ease;
}

/* Hover cue ONLY */
.home-menu-button:hover {
  background-color: #f2f2f2;
  transform: translateX(6px);
}

.home-menu span {
  cursor: default;
}

.home-menu,
.home-menu li {
  list-style: none;
  font-size: 6rem;
  font-family: cursive;
}

/* Optional: cursor feedback only for clickable items */
.home-menu span {
  cursor: default;
}

.home-menu a {
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.home-menu a:hover {
  text-decoration: underline;
}


.video-menu-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;

  font: inherit;
  color: inherit;
  cursor: pointer;

  transition: background-color 0.2s ease,
              transform 0.15s ease;
}

/* styles for the DK video menu */
.video-menu-button:hover {
  background-color: #f2f2f2;
  transform: translateX(6px);
}

.video-menu {
  list-style: none;
  padding-left: 0;
  margin: 30px auto;
  width: fit-content;
}

.video-menu li {
  background: url("bullet.png") no-repeat left center;
  background-size: 70px 70px;
  padding-left: 90px;
  margin-bottom: 18px;

  font-size: 5rem;
  font-family: cursive;
  cursor: pointer;
}

.dk-video-container {
  display: flex;
  justify-content: center;   /* horizontal centering */
  margin-top: 20px;
}

#dkVideo {
  max-width: 100%;
}

.dk-back-container {
  margin-top: 30px;
  text-align: center;
}

.DK-title {
  font-family: cursive;
}
