/* assets/css/event-theme.css */

/* Page background & font */
body {
    background: #f6f6f6;
    padding: 20px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Generic registration / login card */
.reg-box {
    max-width: 420px;
    margin: 25px auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.1);
    border-top: 6px solid #ffb400; /* yellow bar */
}

.reg-box.reg-small {
    max-width: 360px;
}

.reg-box h4 {
    text-align: center;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.reg-subtitle {
    text-align: center;
    font-size: 20px;
    color: #777;
    margin-bottom: 18px;
}

/* Inputs & selects */
.form-control,
.form-select {
    border-radius: 6px;
    height: 42px;
    border: 1px solid #ccc;
    font-size: 15px;
}

textarea.form-control {
    height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: #ffb400;
    box-shadow: 0 0 0 0.15rem rgba(255,180,0,0.25);
}

/* Labels (if used) */
label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

/* Primary button */
.btn-register {
    width: 100%;
    height: 45px;
    background: linear-gradient(to right, #ffcc33, #ffb400);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: 0.2s;
}

.btn-register:hover {
    opacity: 0.92;
}

/* Alerts */
.alert {
    border-radius: 8px;
    font-size: 14px;
}

.input-icon {
    position: relative;
    display: block;
}

/* Support both <i class="bi ..."> and <span class="bi ..."> */
.input-icon > i,
.input-icon > span.bi {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    pointer-events: none; /* click goes to input */
}

/* Push text so it doesn't overlap the icon */
.input-icon .form-control,
.input-icon .form-select {
    padding-left: 40px !important;
}

/* ===========================
   HEADER + MENU THEME
   =========================== */

/* top news bar */
.top-strip {
    background: #111;
    color: #fff;
    font-size: 13px;
    padding: 4px 0;
}

.top-strip .latest-label {
    color: #ffeb3b;
    font-weight: 600;
    margin-right: 6px;
}

/* main navbar */
.sports-navbar {
    background: #064420; /* dark green */
    padding-top: 0;
    padding-bottom: 0;
}

.sports-navbar .navbar-brand {
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1.3rem;
    color: #fff;
}

.sports-navbar .navbar-brand span {
    background: #ffeb3b;
    color: #000;
    padding: 4px 8px;
    margin: 0 3px;
}

.sports-navbar .nav-link {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 18px 14px;
    font-weight: 500;
}

.sports-navbar .nav-link:hover,
.sports-navbar .nav-link.active {
    background: #0b6c34;
    color: #ffeb3b;
}

/* right side small buttons */
.sports-navbar .btn-nav {
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    margin-left: 6px;
    border: 0;
}

.btn-cart      { background: #16a34a; color: #fff; }
.btn-account   { background: #15803d; color: #fff; }
.btn-login     { background: #0f766e; color: #fff; }
.btn-register  { background: #facc15; color: #000; }

/* hero section like screenshot */
.hero-sports {
    position: relative;
    min-height: 360px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-sports::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/img/ground.jpg") center/cover no-repeat;
    filter: brightness(0.65) saturate(1.3);
    z-index: -2;
}

.hero-sports::after {
    /* subtle overlay */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: -1;
}

/* yellow ribbon title */
.hero-title-ribbon {
    display: inline-block;
    background: #ffeb3b;
    color: #000;
    padding: 12px 40px;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%);
    margin-bottom: 18px;
}

.hero-subtext {
    max-width: 540px;
    margin: 0 auto 16px;
    font-size: 0.95rem;
}

/* hero buttons */
.hero-btn-main {
    background: #facc15;
    color: #000;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    border: none;
    margin: 0 6px;
}

.hero-btn-ghost {
    background: transparent;
    color: #fff;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    border: 1px solid #fff;
    margin: 0 6px;
}

.hero-btn-main:hover {
    opacity: 0.9;
}

.hero-btn-ghost:hover {
    background: rgba(255,255,255,0.1);
}

/* make content below header not stick to top */
body {
    padding-top: 0;
}

