
/* FORCE PRIMARY BUTTON COLOR */
button,
.btn,
.cta-btn,
.search-box button,
.login-btn {
    background: #2563eb !important;
    color: #fff !important;
}

button:hover,
.btn:hover {
    background: #1d4ed8 !important;
}
/* ===============================
   DESIGN SYSTEM
=============================== */
:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;

    --success: #16a34a;
}

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

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ===============================
   HEADER
=============================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10000;
}

.logo img {
    height: 42px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

/* ACTIONS */
.login-btn {
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    border: none;
}

.login-btn:hover {
    background: var(--primary-hover);
}

.logout-btn {
    background: #eee;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
}

/* ===============================
   HERO
=============================== */
.hero-banner {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero.png') center/cover;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 34px;
}

/* SEARCH */
.search-box input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.search-box button {
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: #fff;
}

/* ===============================
   LAYOUT
=============================== */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.events {
    padding: 40px 20px;
}

/* GRID */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ===============================
   CARD
=============================== */
.event-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

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

.image-wrapper img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
        flex: 1;

}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* ===============================
   BUTTON
=============================== */
.btn {
    display: inline-block;
    margin-top: 10px;
    background: #ff5a5f;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #000;
}

/* ===============================
   FORMS
=============================== */
.form-container {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* ===============================
   DASHBOARD
=============================== */
.dashboard {
    padding: 40px 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* ===============================
   TABLE
=============================== */
.styled-table th {
    background: var(--primary);
    color: #fff;
    padding: 10px;
}

.styled-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

/* ===============================
   CTA
=============================== */
.cta-strip {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.cta-btn {
    background: var(--primary);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
}

/* ===============================
   MOBILE
=============================== */
@media (max-width: 768px) {

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: fixed;
        top: 65px;
        left: 0;
        z-index: 9999;
        border-top: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 24px;
    }
}
.hero {
    height: 50vh;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}
/* ===============================
   ADD EVENT PAGE (MODERN)
=============================== */

.step{
    display:none;
    background:#fff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}
.step.active{display:block;}

.step > *{margin-bottom:10px;}

#map{
    height:250px;
    width:100%;
    margin-top:15px;
    border-radius:12px;
}

/* BUTTON ROW */
.btn-row{
    display:flex;
    gap:10px;
}

/* PRIMARY BUTTON */
.primary-btn{
    background: var(--primary) !important;
    color:#fff !important;
}

/* DROPZONE */
.dropzone{
    border:2px dashed #d1d5db;
    padding:30px;
    text-align:center;
    border-radius:12px;
    cursor:pointer;
    background:#fafafa;
    transition:.3s;
}

.dropzone:hover{
    border-color:var(--primary);
    background:#eff6ff;
}

.dropzone img{
    max-width:100%;
    margin-top:10px;
    border-radius:10px;
    display:none;
}

/* CATEGORY BOX */
.cat-box{
    background:#f8fafc;
    padding:15px;
    margin-top:10px;
    border-radius:12px;
    border:1px solid var(--border);
}

/* HIDDEN */
.hidden{
    display:none;
}

/* STICKY BOX */
.sticky-box{
    position:fixed;
    right:20px;
    top:120px;
    width:220px;
    background:#fff;
    padding:15px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    text-align:center;
}

/* MOBILE */
@media(max-width:768px){

    .btn-row{
        flex-direction:column;
    }

    .sticky-box{
        bottom:0;
        top:auto;
        left:0;
        right:0;
        width:100%;
        border-radius:16px 16px 0 0;
    }
}
.cta-strip {
    padding: 60px 20px;   /* more breathing space */
    text-align: center;
}

.cta-strip h2 {
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
}
.hero-content h1 {
    margin-bottom: 15px;
}

.hero-content p {
    margin-bottom: 25px;  /* THIS is the key fix */
    font-size: 16px;
}

.search-box {
    margin-top: 10px;
}
.search-box {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.search-box input {
    padding: 12px;
    width: 260px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.search-box button {
    padding: 12px 18px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    border: none;
}
.badge {
    position: absolute;
    top: 12px;
    left: -5px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}
html {
    scroll-behavior: smooth;
}
.container {
    margin-top: 50px;
}
.section-title {
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #38bdf8;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}
.scroll-hint {
    margin-top: 20px;
    font-size: 14px;
    color: #cbd5f5;
    opacity: 0.7;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    margin-right: 12px;  /* increase slightly */
    transition: 0.3s;
    font-size: 16px;
}

.social-icons a:hover {
    background: #38bdf8;
    color: #ffffff;
    transform: translateY(-3px);
}
.social-icons a:nth-child(1):hover {
    background: #1877f2; /* Facebook */
}

.social-icons a:nth-child(2):hover {
    background: #e1306c; /* Instagram */
}
/* HOST CTA */
.host-cta {
    padding: 70px 20px;
    text-align: center;
    color: #fff;

    background: radial-gradient(circle at top left, #1e293b, #0f172a);
    position: relative;
    overflow: hidden;
}
.host-cta::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: #ff5a5f;
    filter: blur(120px);
    opacity: 0.25;
    top: -100px;
    left: -100px;
}
.cta-container h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-container p {
    font-size: 16px;
    margin-bottom: 20px;
}

.cta-btn {
    background: linear-gradient(135deg, #ff5a5f, #ff7a18);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,90,95,0.4);
}
.host-cta::before {
    pointer-events: none;
}
.cta-container {
    position: relative;
    z-index: 2;
}
.cta-btn {
    position: relative;
    z-index: 3;
}
.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-content {
    padding: 15px;
}

.event-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.event-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.dashboard-btn {
    display: inline-block;
    background: #ff4d00;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.dashboard-btn:hover {
    background: #e84300;
}