/* ========================= */
/* GLOBAL RESET */
/* ========================= */

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

body {
  background: linear-gradient(to bottom, #050b18, #0b1d33);
  font-family: 'Raleway', sans-serif;
  color: white;
  overflow-x: hidden;
}

/* ========================= */
/* HEADER */
/* ========================= */

.site-header {
  text-align: center;
  padding: 70px 20px 30px 20px;
  background: rgba(5, 10, 20, 0.95);
  border-bottom: 3px solid gold;
}

.brand a {
  font-family: 'Cinzel Decorative', serif;
  font-size: 4.5rem;
  color: gold;
  text-decoration: none;
  letter-spacing: 6px;
}

.brand a:hover {
  text-shadow: 0 0 25px gold;
}

/* ========================= */
/* NAVIGATION */
/* ========================= */

.main-nav {
  margin-top: 30px;
}

.main-nav a {
  margin: 0 25px;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.main-nav a:hover {
  color: gold;
  text-shadow: 0 0 10px gold;
}

/* ========================= */
/* PAGE SECTION */
/* ========================= */

.page-section {
  padding: 120px 10%;
  text-align: center;
}

.page-section h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  color: gold;
  margin-bottom: 25px;
}

.page-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.85;
  line-height: 1.6;
}

/* ========================= */
/* GRID */
/* ========================= */

.grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* ========================= */
/* MEMBER CARD */
/* ========================= */

.member-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 30px;
  border-radius: 20px;
  transition: 0.4s ease;
  text-align: center;
  max-width: 340px;
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.member-card img {
  width: 100%;
  max-width: 280px;   /* controlled size */
  height: 380px;      /* fixed clean portrait */
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  border: 4px solid gold;
  margin: 0 auto 20px auto;
  display: block;
  transition: 0.4s ease;
}

.member-card:hover img {
  transform: scale(1.03);
}

/* ========================= */
/* BUTTON */
/* ========================= */

.button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  background: gold;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s ease;
}

.button:hover {
  background: white;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
  padding: 80px 20px;
  text-align: center;
  opacity: 0.7;
}

/* ========================= */
/* SECRET AREA */
/* ========================= */

.secret-section {
  border-top: 2px solid gold;
  margin-top: 100px;
  padding-top: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.secret-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* OCEAN + SHIP */
/* ========================= */

.ocean-bg {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 45vh;
  background: linear-gradient(to top, #071427, transparent);
  z-index: -1;
  overflow: hidden;
}

.ship {
  position: absolute;
  bottom: 40px;
  left: -350px;
  width: 300px;
  height: 200px;
  background: url('/assets/images/ship-silhouette.png') no-repeat center/contain;
  animation: sail 50s linear infinite;
  opacity: 0.6;
}

@keyframes sail {
  from { left: -350px; }
  to { left: 110%; }
}
