/* ====== BASE COLOURS ====== */
:root {
  --yellow: #ffdd00;
  --pink: #ff2eb9;
  --black: #0a0a0a;
  --darkgrey: #2b2b2b;
  --offwhite: #f5f5f5;
  --text: #2b2b2b;
  --bg: #ffffff;
}

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

body {
  font-family: "Work Sans", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===== HEADER / NAV ===== */
header {
  background-color: var(--bg);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: "Black Ops One", sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-family: "Staatliches", sans-serif;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--pink);
}

/* ===== MOBILE NAV ANIMATION ===== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #2c2c2c;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 950; /* always on top */
  }

  .nav-links.active {
    max-height: 300px;
    opacity: 1;
  }

  .hamburger {
    display: flex;
    z-index: 960; /* sits above nav panel so it remains clickable */
  }

  .nav-links a {
    padding: 0.8rem 0;
    width: 100%;
    text-align: center;
  }
}

/* ===== WARNING STRIP ===== */
.warning-strip {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--black),
    var(--black) 10px,
    var(--yellow) 10px,
    var(--yellow) 20px
  );
  position: relative;
  z-index: 50;
  text-align: center;
  overflow: hidden;
  padding: 1.2rem 0;
}

.warning-overlay {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: rgba(0, 0, 0, 0.7); /* translucent dark box */
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 60;
}

.warning-text {
  color: var(--offwhite);
  font-family: "Staatliches", sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.contact-btn {
  background-color: var(--pink);
  color: var(--offwhite);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: "Staatliches", sans-serif;
  transition: all 0.3s;
}

.contact-btn:hover {
  background-color: var(--yellow);
  color: var(--black);
}

/* ===== LOADING SPINNER ===== */
#loader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  z-index: 1000;
}

#loader img {
  width: 100px;
  height: auto;
  animation: spin 1.8s linear infinite;
  filter: drop-shadow(0 0 12px var(--pink));
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===== HERO SECTION ===== */
.landing-container {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--offwhite);
  border-bottom: 5px solid var(--pink);
}

.tent {
  position: relative;
  z-index: 1;
  width: 80vw;              
  max-width: 900px;          
  opacity: 0.22;
  animation: gentlePulse 8s infinite alternate;
  object-fit: contain;
  pointer-events: none;     
}

@keyframes gentlePulse {
  from {
    opacity: 0.15;
  }
  to {
    opacity: 0.3;
  }
}

.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0;
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
  object-fit: contain;
  transition: opacity 1s ease, transform 6s ease 1s;
  filter: contrast(1.1) brightness(0.95);
}

.hero-image.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: flicker 0.5s infinite alternate;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}

/* ===== HERO POSITION ON SMALL SCREENS ===== */
@media (max-width: 768px) {
  .landing-container {
    height: 80vh; /* reduce overall height */
    margin-top: -1rem; /* pull up toward warning strip */
  }

  .tent {
    width: 100%;
    max-width: 100vw;        
    opacity: 0.25;
    margin-top: -1rem;       
    display: block;
  }

  .hero-image {
    max-width: 95%;
    max-height: 80%;
  }
}

/* ===== EXTRA TIGHT MOBILE LAYOUT FOR VERY NARROW SCREENS ===== */
@media (max-width: 480px) {

  .landing-container {
    height: 70vh;          /* shorter hero area */
    margin-top: -2.5rem;   /* pull upward noticeably */
  }

  .tent {
    max-width: 100vw;       /* slightly smaller so it fits cleanly */
    margin-top: -1.5rem;   /* pull tent upward */
  }

  .hero-image {
    max-height: 70%;       /* prevents crowding */
    margin-top: -0.8rem;   /* lifts hero image slightly */
  }
}

/* ===== INFO SECTION ===== */
.info-section {
  background-color: var(--darkgrey);
  color: var(--offwhite);
  padding: 3rem 1rem;
}

.info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-container h2 {
  font-family: "Black Ops One", sans-serif;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.bio p,
.testimonials p {
  font-family: "Work Sans", sans-serif;
  color: var(--offwhite);
}

@media (max-width: 768px) {
  .info-container {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg);
  border-top: 3px solid var(--yellow);
  text-align: center;
  padding: 2rem 0;
}

.footer-squirrel {
  width: 40px;
  height: auto;
  margin-bottom: 1rem;
}

.site-footer i {
  color: var(--pink);
  font-size: 1.4rem;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.site-footer i:hover {
  color: var(--yellow);
}

.site-footer a {
  text-decoration: none;
  color: var(--text);
  font-family: "Staatliches", sans-serif;
}

/* ===== MOBILE NAV ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: var(--text);
  margin: 4px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--offwhite);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .nav-links.active {
    max-height: 300px;
  }
  .hamburger {
    display: flex;
  }
}

/* ===== GALLERY ===== */
.gallery {
  padding: 3rem 1rem 4rem;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gallery h2 {
  font-family: "Black Ops One", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: #222; /* default for light mode */
}

/* alternating themes */
.gallery.dark {
  background-color: #111;
  color: #f2f2f2;
}

.gallery.dark h2 {
  color: #f9e4b7;
}

.gallery.dark .overlay {
  background: rgba(255, 255, 255, 0.6);
  color: #111;
}

/* smaller responsive grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* thumbnail cards */
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.4rem 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.thumbs {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbs:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Contact buttons at bottom of each section */
.section-contact {
  margin-top: 2rem;
}

.section-contact a {
  display: inline-block;
  background-color: #ff2eb9;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.section-contact a:hover {
  background-color: #ffb400;
  transform: scale(1.05);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.modal-content {
  background-color: var(--black); /* dark style for consistency */
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden; /* prevent horizontal scrollbars */
  color: var(--offwhite);
  position: relative;
  border: 2px solid var(--pink);
  box-shadow: 0 0 20px rgba(255, 46, 185, 0.4); /* neon glow effect */
  scrollbar-width: thin; /* Firefox custom scrollbar */
  scrollbar-color: var(--pink) var(--black);
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    margin: 0 auto;
    max-height: 85vh;
  }
}

.modal-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  color: var(--offwhite);
  font-size: 2rem;
  cursor: pointer;
}
.close-btn:hover {
  color: var(--yellow);
}

/* ===== CONTACT ===== */
.contact-container {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background: var(--offwhite);
  border: 2px solid var(--yellow);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
  text-align: center;
  font-family: "Black Ops One", sans-serif;
  color: var(--pink);
  margin-bottom: 1rem;
}

.contact-container label {
  display: block;
  margin-top: 1rem;
  font-family: "Staatliches", sans-serif;
}

.contact-container input,
.contact-container textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid var(--grey);
  border-radius: 4px;
  font-family: "Work Sans", sans-serif;
}

.contact-container button {
  margin-top: 1rem;
  background: var(--pink);
  border: none;
  color: var(--offwhite);
  font-family: "Staatliches", sans-serif;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-container button:hover {
  background: var(--yellow);
  color: var(--black);
}

/* ===== THANK YOU MODAL ===== */
.thankyou-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.thankyou-content {
  position: relative; /* required for close button */
  background: var(--offwhite);
  color: var(--text);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  max-width: 420px;
  width: 90%;
  border: 2px solid var(--pink);
  animation: slideUp 0.3s ease, fadeIn 0.3s ease;
}

/* Heading */
.thankyou-content h3 {
  font-family: "Black Ops One", sans-serif;
  color: var(--pink);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

/* Body text */
.thankyou-content p {
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
}

/* Close Button */
.thankyou-content .close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  color: var(--pink);
  cursor: pointer;
  user-select: none;
}

.thankyou-content .close-btn:hover {
  color: var(--yellow);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}
