/* ================= General Styles ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overscroll-behavior: none; /* prevent white flash on overscroll */
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ================= Container ================= */
.container {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #ddd;
  font-size: 0.95rem;
}

/* ================= Logo ================= */
.logo-img {
  display: block;
  max-width: 200px;
  margin: 20px auto;
  border-radius: 10px;
}

/* ================= Headings & Text ================= */
h1 {
  font-weight: 700;
  color: #fff;
  margin: 40px 0 20px;
}

h2 {
  font-size: 1.5rem;
  color: gold;
  cursor: pointer;
  margin: 30px 0 15px;
}

p {
  margin-bottom: 20px;
  line-height: 1.7;
}

a.gold-link {
  color: gold;
  text-decoration: none;
}

/* ================= Dropdown Content ================= */
.dropdown-content {
  display: none;
  margin: 0 auto 30px;
  max-width: 700px;
  text-align: center;
}

/* ================= Slideshow Styles ================= */
.slideshow-container {
  position: relative;
  max-width: 400px;
  height: 400px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid #a259ff;
  border-radius: 10px;
}

.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-container img.active {
  opacity: 1;
}

/* ================= Gallery Slideshow ================= */
.gallery-container {
  position: relative;
  max-width: 600px;
  height: 500px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid #a259ff;
  border-radius: 10px;
}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gallery-container img.active {
  opacity: 1;
}

/* ================= Abstract Purple Lines ================= */
.abstract-line {
  position: absolute;
  background-color: #a259ff;
  opacity: 0.4;
  transform: rotate(-20deg);
  z-index: -1;
}

.abstract-line-1 { width: 300px; height: 6px; top: 50px; left: 20px; }
.abstract-line-2 { width: 200px; height: 6px; bottom: 100px; right: 30px; }
.abstract-line-3 { width: 400px; height: 6px; top: 300px; left: 50%; transform: translateX(-50%) rotate(15deg); }

/* ================= Purple Clouds ================= */
.purple-cloud {
  position: absolute;
  background: radial-gradient(circle, rgba(162, 89, 255, 0.3) 0%, transparent 70%);
  z-index: -2;
  filter: blur(40px);
}

.purple-cloud-1 { width: 250px; height: 250px; top: 100px; left: -50px; }
.purple-cloud-2 { width: 300px; height: 300px; bottom: 150px; right: 0; }
.purple-cloud-3 { width: 200px; height: 200px; top: 400px; left: 50%; transform: translateX(-50%); }

/* ================= Hamburger ================= */
.hamburger {
  position: fixed; /* fixed so it stays on scroll */
  top: 20px;
  right: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 25px;
  z-index: 50;
}

.hamburger div {
  width: 100%;
  height: 4px;
  background-color: white;
  transition: all 0.4s ease;
}

/* ================= Sidebar Menu ================= */
.menu {
  position: fixed;
  top: 0; /* start at top */
  right: -160px; /* hidden by default */
  width: 140px;
  height: 100%; /* full height */
  background-color: rgba(17,17,17,0.95);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 8px rgba(0,0,0,0.5);
  border-left: 3px solid #a259ff;
  border-radius: 5px 0 0 5px;
  z-index: 40;
  transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* smoother */
  overflow-y: auto; /* smooth scroll if needed */
}

.menu.show {
  right: 0;
}

.menu a {
  color: #eee;
  text-decoration: none;
  font-size: 1rem;
  margin: 20px 0 0 0; /* spacing between links */
  padding: 5px 0;
  width: 100%; /* full width links */
  box-sizing: border-box;
  cursor: pointer;
  display: block;
}

/* ================= Unified Social Box for All Pages ================= */
.social-box {
  max-width: 600px;
  margin: 20px auto 50px;
  background-color: #111;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  border: 2px solid #a259ff;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  color: #a259ff;
  font-size: 1rem;
  text-decoration: none;
}

.social-link img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.social-link:hover {
  text-decoration: underline;
}

/* ================= Footer ================= */
footer {
  margin-top: 20px;
  background: linear-gradient(to right, #333, #222);
  padding: 20px;
  color: #bbb;
  font-size: 0.9rem;
  text-align: left;
}

.footer-terms a {
  color: #a259ff;
  text-decoration: none;
}

.footer-terms a:hover {
  text-decoration: underline;
}

/* ================= Homepage Specific ================= */
body.homepage .main-text {
  font-size: 2rem;
  font-weight: bold;
  color: #a259ff;
  text-align: left;
  margin: 20px 0 15px;
}

body.homepage .mission {
  font-size: 0.95rem;
  color: #ddd;
  max-width: 750px;
  text-align: left;
  margin: 0 0 30px 0;
}

/* ================= About Page Specific ================= */
body.about-page .main-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #a259ff;
  text-align: left;
  margin: 20px 0 15px;
}

body.about-page .mission,
body.about-page .story,
body.about-page .other-section { 
  font-size: 0.95rem;
  color: #ddd;
  text-align: left;
  max-width: 700px;
  margin: 0 0 30px 0;
}

body.about-page .mission span,
body.about-page .story span,
body.about-page .other-section span {
  color: gold;
  font-weight: bold;
}

/* ================= Partnerships Page Specific ================= */
body.partnerships-page .main-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #a259ff;
  text-align: left;
  margin: 20px 0 15px;
}

body.partnerships-page p,
body.partnerships-page .dropdown-content {
  font-size: 0.95rem;
  color: #ddd;
  text-align: left;
  max-width: 700px;
  margin: 0 0 30px 0;
}