/* Maker's Club - Main Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #2E6DA4;
  --dark: #1a1a1a;
  --gray: #333333;
  --light-gray: #f5f5f5;
  --mid-gray: #666666;
  --white: #ffffff;
  --border: #e0e0e0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--white);
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER ── */
header {
  background: var(--dark);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.logo-placeholder {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: white;
}

.logo img {
  height: 52px;
  width: auto;
  border-radius: 6px;
  background: white;
  padding: 4px;
}

.logo-text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-text span { color: var(--white); }

nav { display: flex; gap: 6px; }

nav a {
  color: #cccccc;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

nav a:hover, nav a.active {
  background: var(--orange);
  color: white;
  text-decoration: none;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--orange); }

.hero p {
  font-size: 1.15rem;
  color: #cccccc;
  max-width: 650px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn:hover { background: #c9520a; text-decoration: none; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  margin-left: 12px;
}

.btn-outline:hover { background: var(--orange); color: white; }

/* ── SECTIONS ── */
section { padding: 60px 40px; max-width: 1100px; margin: 0 auto; }

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-title span { color: var(--orange); }

.section-sub {
  color: var(--mid-gray);
  margin-bottom: 36px;
  font-size: 1rem;
}

.divider {
  width: 50px;
  height: 4px;
  background: var(--orange);
  margin: 10px 0 30px;
  border-radius: 2px;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.card p { color: var(--mid-gray); font-size: 0.95rem; }

/* ── MEMBER CARDS ── */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.member-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 16px;
  background: var(--white);
}

.member-avatar {
  width: 80px;
  height: 80px;
  background: var(--light-gray);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--mid-gray);
  border: 3px solid var(--border);
}

.member-card.officer .member-avatar { border-color: var(--orange); }

.member-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.member-card .role {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 6px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-card .role.advisor { background: var(--dark); }
.member-card .role.member { background: var(--mid-gray); }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--light-gray);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,97,10,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ── VIDEO GRID ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}

.video-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── EVENTS ── */
.event-list { display: flex; flex-direction: column; gap: 16px; }

.event-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  background: var(--white);
}

.event-date {
  min-width: 60px;
  text-align: center;
  background: var(--orange);
  color: white;
  border-radius: 8px;
  padding: 8px 6px;
  font-weight: 700;
  line-height: 1.2;
}

.event-date .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.event-date .day { font-size: 1.6rem; }

.event-info h4 { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.event-info p { color: var(--mid-gray); font-size: 0.9rem; }
.event-tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--mid-gray);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

/* ── SHOP ── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.shop-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.shop-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }

.shop-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--mid-gray);
}

.shop-card-img img { width: 100%; height: 100%; object-fit: cover; }

.shop-card-body { padding: 16px; }
.shop-card-body h4 { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.shop-card-body .price { color: var(--orange); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.shop-card-body p { color: var(--mid-gray); font-size: 0.88rem; margin-bottom: 12px; }
.shop-card-body .seller { font-size: 0.8rem; color: var(--mid-gray); margin-bottom: 10px; }

/* ── FORMS ── */
.form-wrap { max-width: 600px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--dark); font-size: 0.9rem; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--gray);
  transition: border-color 0.2s;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #2e7d32; }
.alert-error { background: #fdecea; color: #c62828; border-left: 4px solid #c62828; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #aaaaaa;
  text-align: center;
  padding: 30px 40px;
  margin-top: 60px;
  font-size: 0.9rem;
}

footer a { color: var(--orange); }
footer .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 14px; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header { flex-direction: column; height: auto; padding: 16px 20px; gap: 12px; }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero { padding: 50px 20px; }
  .hero h1 { font-size: 2rem; }
  section { padding: 40px 20px; }
}
