
/*
Theme Name: MAKS STEM Club
Theme URI: https://maksstemclub.webflow.io/
Author: PrecisionStudios / MAKS STEM Club
Author URI: https://github.com/PrecisionStudios
Description: Futuristic, STEM-themed WordPress theme for MAKS STEM Club Bijela. Brand colors: #D90000 (red), #5272FF (blue). Includes Projects/Events/Members/FAQ/Courses/Testimonials CPTs, hero starfield, dark/light mode and responsive UI.
Version: 1.3.1-sr
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maks-stem-club
Tags: custom-colors, custom-logo, custom-menu, featured-images, one-column, two-columns, editor-style
*/

:root{
  --msc-red:#D90000;
  --msc-blue:#5272FF;
  --msc-dark:#0A0B10;
  --msc-mid:#12131A;
  --msc-text:#E7E9F1;
  --msc-muted:#A9B1C6;
  --msc-radius:20px;
  --msc-gap:24px;
}

html{ scroll-behavior:smooth; }
*,*::before,*::after{ box-sizing:border-box; }
body{ margin:0; color:var(--msc-text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(82,114,255,.15), transparent 50%),
              radial-gradient(900px 600px at 110% 10%, rgba(217,0,0,.15), transparent 40%),
              var(--msc-dark);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica Neue,Arial,Noto Sans,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,sans-serif;
  line-height:1.6;
}
a{ color:var(--msc-blue); text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; height:auto; border-radius:12px; }
.container{ width:min(1200px,92%); margin:0 auto; }
.grid{ display:grid; gap:var(--msc-gap); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:980px){ .grid-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:680px){ .grid-3,.grid-2{ grid-template-columns:1fr; } }

.button{ display:inline-flex; align-items:center; gap:10px; padding:12px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04); backdrop-filter: blur(8px); transition:.2s; font-weight:600; color:#fff; }
.button:hover{ transform:translateY(-2px); background:rgba(255,255,255,.07); box-shadow:0 8px 30px rgba(82,114,255,.25); text-decoration:none; }
.button-primary{ background:linear-gradient(135deg,var(--msc-blue),var(--msc-red)); border:none; box-shadow:0 10px 30px rgba(82,114,255,.35); }
.button-primary:hover{ box-shadow:0 14px 40px rgba(217,0,0,.35); }

.msc-header{ position:sticky; top:0; z-index:100; backdrop-filter:blur(10px); background:rgba(10,11,16,.55); border-bottom:1px solid rgba(255,255,255,.08); }
.msc-header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.msc-logo{ display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.5px; }
.msc-logo img{ width:42px; height:42px; border-radius:10px; }
.msc-nav{ display:flex; align-items:center; gap:18px; }
.msc-nav a{ color:var(--msc-text); padding:8px 10px; border-radius:10px; }
.msc-nav a:hover{ background:rgba(255,255,255,.06); text-decoration:none; }
.msc-burger{ display:none; background:none; border:none; color:#fff; font-size:24px; }
@media (max-width:900px){
  .msc-burger{ display:block; }
  .msc-nav{ position:fixed; inset:64px 16px auto 16px; background:rgba(12,13,19,.95); border:1px solid rgba(255,255,255,.08); padding:14px; border-radius:16px; display:none; flex-direction:column; }
  .msc-nav.open{ display:flex; }
}

.hero{ position:relative; padding:120px 0 80px; overflow:hidden; }
#msc-stars{ position:absolute; inset:0; z-index:-1; }
.hero h1{ font-size: clamp(36px, 4vw, 60px); line-height:1.1; margin:0 0 16px; }
.hero p{ color: var(--msc-muted); margin: 0 0 24px; }
.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; }

.section{ padding:70px 0; }
.section h2{ font-size: clamp(26px, 3vw, 40px); margin:0 0 14px; }
.section .lead{ color:var(--msc-muted); margin:0 0 24px; }

.card{ background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.08); border-radius:var(--msc-radius); padding:18px; transition:.2s transform,.2s box-shadow,.2s border-color; }
.card:hover{ transform:translateY(-4px); border-color:rgba(255,255,255,.14); box-shadow:0 14px 40px rgba(0,0,0,.4); }

.badge{ display:inline-block; padding:6px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); font-size:12px; color:#fff; }

footer{ background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)); border-top:1px solid rgba(255,255,255,.08); margin-top:60px; }
.footer-inner{ padding:32px 0; display:grid; gap:24px; grid-template-columns: 1fr auto; align-items:center; }
.footer-social{ display:flex; gap:12px; }
.footer-social a{ display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:10px; border:1px solid rgba(255,255,255,.1); }
.footer-social a:hover{ background:rgba(255,255,255,.06); text-decoration:none; }
.copy{ color:var(--msc-muted); font-size:14px; }

input, textarea{ width:100%; padding:12px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); color:#fff; outline:none; }
input:focus, textarea:focus{ border-color: var(--msc-blue); box-shadow: 0 0 0 3px rgba(82,114,255,.15); }
label{ display:block; margin-bottom:8px; color: var(--msc-muted); }
.form-row{ display:grid; gap:var(--msc-gap); grid-template-columns:1fr 1fr; }
@media (max-width: 680px){ .form-row{ grid-template-columns: 1fr; } }

/* Light mode */
body.light{
  --msc-dark:#F7F8FC;
  --msc-mid:#FFFFFF;
  --msc-text:#10121A;
  --msc-muted:#4A4F67;
  background: radial-gradient(1200px 800px at 10% -10%, rgba(82,114,255,.08), transparent 50%),
              radial-gradient(900px 600px at 110% 10%, rgba(217,0,0,.08), transparent 40%),
              var(--msc-mid);
}
body.light .card{ border-color: rgba(0,0,0,.08); box-shadow:none; }
body.light .msc-header{ background: rgba(255,255,255,.7); border-bottom-color: rgba(0,0,0,.08); }
body.light .footer-social a{ border-color: rgba(0,0,0,.12); }

.grid-4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width:1200px){ .grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:680px){ .grid-4{ grid-template-columns:1fr; } }
