/* style.css
   Grid 3-col layout + responsive mobile order
*/

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.site-header {
    text-align: center;
    padding: 18px 12px;
    background: #000;
    border-bottom: 1px solid rgba(255,0,0,0.06);
}
.site-header h1 {
    margin: 0;
    font-size: 28px;
    color: #ff1a1a;
    text-shadow: 0 0 6px #ff1a1a;
}

/* ---------- GRID LAYOUT ---------- */
.container {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 18px;
    padding: 18px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Columns */
.col {
    background: transparent;
}

/* Left column (menu) */
.menu-col {
    padding: 12px;
}
.logo-wrap {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}
.logo-small { left: 50px;width: 110px; height: auto; filter: drop-shadow(0 0 6px #fff); }
.logo-small2 { right: 50px; width: 110px; height: auto; filter: drop-shadow(0 0 6px #fff); }

/* Menu list */
.menu {
    background: rgba(0,0,0,0.4);
    border: 2px solid #330000;
    padding: 10px;
    border-radius: 8px;
}
.menu .menu-toggle {
    display: none;
    width: 100%;
    background: #000;
    color: #ff1a1a;
    border: 2px solid #ff1a1a;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}
.menu ul { list-style: none; padding: 0; margin: 0; }
.menu li { margin: 8px 0; }
.menu a {
    color: #ff1a1a; text-decoration: none; font-weight: bold;
    text-shadow: 0 0 4px rgba(255,0,0,0.6);
}
.menu a:hover { color: #fff; text-shadow: 0 0 8px #fff; }

/* Center content */
.col-center { padding: 8px 12px; }
.carousel-wrap { margin-bottom: 8px; text-align: center; }

/* Carousel styles (kept from original) */
.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px auto;
    overflow: hidden;
	border: 3px solid red;
    border-radius: 12px;
    box-shadow: 0 0 25px red;
}
.carousel img {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 12px;
    object-fit: cover;
}
.carousel img.active { display: block; }

/* chicano text */
@import url('https://fonts.googleapis.com/css2?family=Sancreek&display=swap');
.chicano { font-family: 'Sancreek', cursive; font-size: 28px; margin-top: 8px; text-shadow: 0 0 6px #ff0000; }
.chicano2 { font-family: 'Sancreek', cursive; font-size: 12px; color: #ff1a1a; margin-top:4px; }

/* Right column */
.right-col { padding: 8px 12px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* Odometer */
.odo-box { background: rgba(0,0,0,0.35); padding: 12px; border-radius: 8px; border: 2px solid #330000; text-align:center; }
.odometer {
    font-size: 48px; font-family: monospace; display:flex; gap:6px; justify-content:center; padding:8px; background:#000; border-radius:6px;
    border: 2px solid #333; box-shadow: inset 0 0 8px #000, 0 0 8px rgba(255,0,0,0.25);
}
.odometer span { display:inline-block; width:40px; height:56px; overflow:hidden; background:#000; border-radius:4px; border:2px solid #444; position:relative; }
.odometer span div { position:absolute; width:100%; top:0; }
.odo-label { margin-top:8px; font-family: 'Sancreek', cursive; color: #ff1a1a; }

/* Members */
.members { background: rgba(0,0,0,0.35); padding:12px; border-radius:8px; border:2px solid #333; }
.patch { background:#000; border:2px solid #fff; padding:8px 12px; font-family:'Sancreek', cursive; display:block; margin-bottom:8px; border-radius:6px; transform: skewX(-6deg); }
.role { font-size:10px; color:#ff1a1a; margin-bottom: -4px; font-family: monospace; }

/* Insta mini */
.insta-mini { background:#111; border:2px solid #ff0000; border-radius:6px; padding:8px; box-shadow:0 0 10px red; text-align:center; }
.insta-title { font-family:Impact, sans-serif; font-size:12px; color:#ff0000; text-shadow:0 0 6px red; margin-bottom:6px; }

/* Contact (button + form) */
.contact-btn { width:100%; background:#000; color:#fff; border:2px solid #ff0000; padding:10px; border-radius:8px; font-family:'Sancreek', cursive; font-size:16px; }
.contact-form { display:none; margin-top:8px; background:#111; border:2px solid red; padding:10px; border-radius:8px; }
.contact-form textarea { width:100%; height:80px; background:#000; color:white; border:1px solid red; border-radius:4px; padding:6px; resize:none; }
#sendBtn { margin-top:8px; width:100%; padding:8px; background:red; border:none; color:white; border-radius:6px; }

/* Partners btn */
.btn-small { background:#000; color:#fff; border:2px solid #ff0000; padding:10px; border-radius:8px; font-family:'Sancreek', cursive; font-size:16px; }

/* Modal partners */
.modal-partners { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.8); justify-content:center; align-items:center; z-index:9999; }
.partner-box { width:640px; max-width:92%; background:#111; border:2px solid #b00; padding:18px; border-radius:12px; color:white; }
.partner-list { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:12px; }
.partner-card { background:#222; border:1px solid #444; padding:10px; width:100%; max-width:520px; border-radius:6px; text-align:center; }
.partner-card img { width:60px; height:60px; }

/* Subpage / metal-badass visual preserved */
.metal-badass { margin: 10px auto; padding: 20px; font-family:'Sancreek', cursive; color:#fff; background-color:#1a1a1a; border:4px solid #4a4a4a; border-radius:10px; box-shadow: 0 0 20px #000 inset; }

/* checklist */
.check-item { display:flex; align-items:center; gap:8px; padding:8px; background:rgba(0,0,0,0.35); border-radius:6px; border:2px solid #333; margin-bottom:8px; }
.checklist-section { background: rgba(0,0,0,0.45); padding:12px; border-radius:8px; border:2px solid #444; }

/* ---------- RESPONSIVE & MOBILE ORDER ---------- */

/* Tablet */
@media (max-width: 1100px) {
    .container { grid-template-columns: 220px 1fr 300px; }
    .carousel { height: 360px; }
}

/* Mobile: switch to flex-column and apply specific order you asked */
/* Order requested: 1 Menu, 2 Admin/Reglement/Check, 3 Carousel, 4 Odometer, 5 Members, 6 Instagram, 7 Contact, 8 Partners */
@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
        padding: 12px;
    }
    .menu-col { order: 1; }
    .subpages { order: 2; }
    .carousel-wrap { order: 3; }
    .odo-box { order: 4; }
    .members { order: 5; }
    .insta-mini { order: 6; }
    .contact-wrapper { order: 7; }
    #openPartners { order: 8; }

    .carousel { width: 100%; height: 220px; }
    .logo-small, .logo-small2 { width: 90px; }
    .menu .menu-toggle { display: block; }
    .menu ul { display: none; }
    .menu li { margin: 6px 0; }
    .chicano { font-size: 18px; }
    .odometer { font-size: 30px; }
    .patch { transform: none; }
    .contact-form { display: none; }
}

/* Very small phones */
@media (max-width: 420px) {
    .carousel { height: 160px; }
    .chicano { font-size: 15px; }
    .odometer { font-size: 22px; }
}
