/* Global Styles */
body {
  background-color: #E6E6FA; /* Lavender background */
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

h1, h2 {
  color: #000; /* Header text black */
}

h1 {
  margin-bottom: 0.5rem;
}

/* Header & Navigation */
header {
  background-color: #9B4F96; /* Softer purple header */
  color: #000; /* Black text */
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

nav a {
  color: #000; /* Links black by default */
  text-decoration: none; /* remove underline */
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #32CD32; /* LimeGreen on hover */
}

nav a.active {
  color: #000; /* Active link stays black */
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
}

section p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Portrait Gallery */
.portrait-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Landscape Gallery */
.landscape-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

/* Common Image Styles */
.portrait-gallery img,
.landscape-gallery img {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(110, 30, 145, 0.3);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portrait-gallery img:hover,
.landscape-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(110, 30, 145, 0.5);
}

/* Footer */
footer {
  background-color: #9B4F96; /* Softer purple like header */
  color: #000;
  text-align: center;
  padding: 1rem 2rem;
  box-shadow: 0 -4px 10px rgba(110, 30, 145, 0.3);
}

footer p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  main {
    padding: 1rem;
  }

  .landscape-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .portrait-gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .landscape-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  section p {
    font-size: 1rem;
  }
}
/* End of Index.html CSS */


/* ================= MEMBERS PAGE ================= */

/* RESET & GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #E6E6FA; /* Lavender background */
  color: #222;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #9B4F96; /* Softer purple header */
  color: white;
  text-align: center;
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a.active {
  text-decoration: underline;
}

/* INTRO SECTION */
.intro {
  text-align: center;
  padding: 2rem 1rem;
  background-color: none;
}

.intro h2 {
  color: #4a0068;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.intro p {
  max-width: 700px;
  margin: 0 auto;
}

/* OT7 SECTION */
.ot7 {
  text-align: center;
  margin: 2rem auto;
  padding: 2rem 1rem;
  max-width: 900px;
  border-radius: 12px;
  background-color: #6E1E91;
  color: white;
}

.ot7 img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* MEMBERS GRID */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* MEMBER CARD */
.member-card {
  background-color: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.member-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top center;
}

/* INFO SECTION */
.member-info {
  padding: 1.2rem 1rem 1.6rem;
  color: white;
  min-height: 180px;
}

.member-info h3 {
  margin-bottom: 0.6rem;
}

.member-info p {
  font-size: 0.95rem;
}

/* ================= OT7 READ MORE LINK ================= */
.ot7 a.read-more {
  color: #cd95e5; /* BTS-inspired purple, visible on light/dark backgrounds */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ot7 a.read-more:hover {
  color: #32CD32; /* lime green on hover */
}

.read-more {
  display: inline-block;
  margin-top: 0.8rem;
  color: #6E1E91;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: white;
}

/* COLORS */
.rm .member-info { background-color: #1E3A8A; }
.jin .member-info { background-color: #FFC0CB; color: black; }
.suga .member-info { background-color: #000000; }
.jhope .member-info { background-color: #E11D48; }
.jimin .member-info { background-color: #FACC15; color: black; }
.v .member-info { background-color: #14532D; }
.jk .member-info { background-color: #8a2be2; }

/* JK CENTER */
.jk {
  grid-column: 1 / -1;
  max-width: 420px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  background-color: #9B4F96; /* Softer purple like header */
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .member-card img {
    height: 380px;
  }
  .intro h2 {
    font-size: 1.7rem;
  }
}
@media (max-width: 480px) {
  .member-card img {
    height: 320px;
  }
  .intro h2 {
    font-size: 1.5rem;
  }
}
/* End of Members.html CSS */


/* ================= SHOWS PAGE ================= */
.shows-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.show-card {
  background-color: #f3e6fa; /* soft lilac */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.show-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.show-card video {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
  border-radius: 12px 12px 0 0;
}

.show-info {
  padding: 10px 15px;
  background-color: lavender;
}

.show-info h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  color: #6E1E91; /* BTS purple */
}

.show-info p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.show-info a {
  text-decoration: none;
  color: #6E1E91;
  font-weight: bold;
  transition: color 0.3s ease;
}

.show-info a:hover {
  color: #32CD32; /* hover green */
}

@media screen and (max-width: 768px) {
  .show-card {
    width: 100%;
    max-width: 400px;
  }
}

@media screen and (max-width: 480px) {
  .show-info h3 {
    font-size: 1rem;
  }

  .show-info p {
    font-size: 0.9rem;
  }
}
/* End of Shows Page CSS */


/* ================= COMMUNITY PAGE ================= */
#community {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}

#community h2 {
  text-align: center;
  color: #6E1E91;
  margin-bottom: 10px;
}

#community p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
}

#posts-container {
  position: relative;
  width: 100vw;              /* take up full viewport width */
  max-width: 100%;           /* prevent overflow */
  height: 85vh;              /* more vertical space for posts */
  margin: 0 auto;
  background-color: #edc2fb;
  border-radius: 15px;
  overflow: hidden;           /* no scrollbars */
  box-sizing: border-box;
  display: block;
}

.post {
  background-color: #f3e6fa; /* soft lilac for posts background */
  padding: 10px 15px;
  border-left: 5px solid #6E1E91;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.post h4 {
  margin: 0 0 5px 0;
  color: #6E1E91;
}

.post p {
  margin: 0;
  font-size: 0.95rem;
}
.post small {
  display: block;
  margin-top: 5px;
  font-size: 0.75rem;
  color: #666;
}
/* Scattered Community Posts */
.post-scatter {
  background-color: rgba(245, 230, 250, 0.9);
  border: 2px solid #6E1E91;
  border-radius: 12px;
  padding: 10px;
  width: 200px;
  min-height: 150px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  font-size: 0.9rem;
  color: #000;
  position: absolute; /* so we can scatter them freely */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-scatter h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  color: #6E1E91;
}

.post-scatter p {
  margin: 2px 0;
  line-height: 1.2;
}

.post-scatter small {
  display: block;
  margin-top: 5px;
  font-size: 0.75rem;
  color: #333;
}

.post-scatter:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(110, 30, 145, 0.5);
  z-index: 10;
}
/* End of Community.html CSS */
/* ================= JOIN US PAGE ================= */

/* Join Page Background */
body#join-body {
  background: url('./Images/1.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff; /* default text color for contrast */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.text-box {
  background-color: rgba(245, 230, 250, 0.85); /* semi-transparent lilac */
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.text-box h2 {
  color: #6E1E91;
  margin-bottom: 10px;
}

.text-box p {
  color: #000;
  font-size: 1rem;
}

header {
  background-color: rgba(230, 207, 230, 0.9); /* semi-transparent lilac */
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Join Page Form */
#join {
  max-width: 600px;
  margin: 20px auto;
  padding: 0 15px;
}

#join h2 {
  text-align: center;
  color: #6E1E91;
  margin-bottom: 10px;
}

#join p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
}

#join-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #f5e6fa; /* soft lilac */
  padding: 20px;
  border-radius: 12px;
}

#join-form label {
  font-weight: bold;
  color: #6E1E91;
}

#join-form input,
#join-form select,
#join-form textarea {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

#join-form button {
  background-color: #6E1E91;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#join-form button:hover {
  background-color: #7f2aa3;
}

#form-feedback {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #32CD32; /* green for success feedback */
}

@media screen and (max-width: 600px) {
  #join-form {
    padding: 15px;
  }
}
/* End of Join.html CSS */
