/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* ===== BODY ===== */
body {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: #4b4b4b; /* graphite */
  background:
    radial-gradient(circle at center, #f7f4ec 0%, #f2e7d3 60%, #e8dfc8 100%);
}

/* ===== UPDATE BOX ===== */
.update-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.update-mascot {
  width: 90px;
  flex-shrink: 0;
}

.sidebar-character {
  max-height: 250px;
  margin: 0 auto;
}

/* ===== PAGE WRAP ===== */
.page-wrap {
  width: 100%;
  min-height: 100vh;
  padding: 20px 0;
}

/* ===== MAIN SHELL (electric blue border, round) ===== */
.site-shell {
  width: 1100px;
  margin: 0 auto;
  border: 5px solid #4aa7ff; /* electric blue */
  border-radius: 22px;
  background: #fffaf2; /* warm folk cream */
  box-shadow: 0 0 20px #e8dfc8, inset 0 0 20px #f7f4ec;
}

/* ===== HEADER ===== */
.top-header {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(#f7f4ec, #f2e7d3);
  border-bottom: 4px solid #4aa7ff;
  border-radius: 22px 22px 0 0;
}

.banner-img {
  max-height: 140px;
  max-width: 95%;
  object-fit: contain;
}

/* ===== NAV ===== */
.icon-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  background: #f2e7d3;
  border-bottom: 4px solid #4aa7ff;
}

.icon-nav a {
  padding: 8px 14px;
  background: #fffaf2;
  color: #e24a2c; /* warm red-orange */
  font-weight: bold;
  border: 3px solid #f68a2f; /* bright orange */
  border-radius: 12px;
  transition: 0.2s ease;
}

.icon-nav a:hover {
  background: #ffe9d2;
  border-color: #d94bbd; /* magenta */
  color: #4aa7ff; /* electric blue */
}

/* ===== GRID ===== */
.content-grid {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 14px;
  padding: 14px;
}

/* ===== SIDEBARS (magenta left, orange right) ===== */
.sidebar {
  background: #fffaf2;
  padding: 10px;
  box-shadow: inset 0 0 10px #f2e7d3;
  border-radius: 16px;
}

/* left sidebar */
.sidebar:nth-child(1) {
  border: 4px solid #d94bbd; /* magenta */
}

/* right sidebar */
.sidebar:nth-child(3) {
  border: 4px solid #f68a2f; /* orange */
}

.sidebar-box {
  margin-bottom: 12px;
  padding: 10px;
  background: #f7f4ec;
  border: 3px solid #ffd86b; /* sun-glow yellow */
  border-radius: 14px;
  box-shadow: inset 0 0 8px #f2e7d3;
}

.sidebar-box h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #e24a2c;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== CONTENT PANEL ===== */
.content-panel {
  background: #ffffff;
  border: 4px solid #ffd86b;
  border-radius: 18px;
  padding: 18px;
  min-height: 600px;
  box-shadow: inset 0 0 20px #f7f4ec;
}

.panel-title {
  text-align: center;
  font-size: 32px;
  color: #e24a2c;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-grid img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid #f68a2f;
  background: #fffaf2;
  padding: 4px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.gallery-grid img:hover {
  border-color: #4aa7ff;
  box-shadow: 0 0 10px #ffd86b;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(247, 244, 236, 0.92);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: 60px auto;
  background: #ffffff;
  border: 4px solid #f68a2f;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 20px #f2e7d3;
}

/* hide slides */
.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

/* close button */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
  color: #e24a2c;
}

/* arrows */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  background: #fffaf2;
  color: #4b4b4b;
  border: 3px solid #f68a2f;
  border-radius: 12px;
}

.prev { left: 0; }
.next { right: 0; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    justify-content: center;
  }
}

/* ===== THUMB GALLERY ===== */
.thumb-gallery {
  margin-top: 26px;
}

.thumb-gallery h3 {
  margin: 0 0 12px;
  color: #e24a2c;
  font-size: 22px;
  letter-spacing: 1px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.thumb-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 3px solid #f68a2f;
  background: #fffaf2;
  padding: 4px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.thumb-grid img:hover {
  border-color: #4aa7ff;
  box-shadow: 0 0 10px #ffd86b;
}

/* ===== ABOUT PAGE IMAGE FADE ===== */
.image-container {
    position: relative;
    width: 568px;
    height: 686px;
}

.image {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.image2 {
    opacity: 0;
}

.image-container:hover .image1 {
    opacity: 0;
}

.image-container:hover .image2 {
    opacity: 1;
}
