/* =========================================================
   MICE Africa - Landing page styles (Bootstrap 4 compatible)
   ========================================================= */

:root {
    --brand-green: #28a745;
    --brand-dark: #1b2b3a;
    --brand-orange: #f0ad4e;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)),
                url('../img/cape-town.jpg') center / cover no-repeat;
    padding: 4rem 0;
}

.min-vh-75 { min-height: 75vh; }

.hero-title {
    color: #fff;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.2;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 1.75rem;
}

.hero-card-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

/* ---------- SECTIONS ---------- */
.section { padding: 4rem 0; }
.section-alt { background: #f8f9fa; }
.section-dark { background: var(--brand-dark); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.section-sub {
    color: #6c757d;
    margin-bottom: 0;
}

/* ---------- POST CARDS (image overlay) ---------- */
.post-card {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    text-decoration: none;
}

.post-card img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover img { transform: scale(1.05); }

.post-card-lg { height: 480px; }
.post-card-lg img { height: 100%; }

.post-card-sm { height: 224px; }
.post-card-sm img { height: 100%; }

.post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.8));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.post-overlay h3, .post-overlay h5 { color: #fff; font-weight: 700; }
.post-overlay p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0.5rem; }

.post-meta { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- EVENT CARDS ---------- */
.event-card {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease;
}

.event-card:hover { box-shadow: var(--shadow-hover); }

.event-date {
    flex: 0 0 72px;
    background: var(--brand-green);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.event-img { flex: 0 0 150px; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }

.event-body { padding: 1rem 1.25rem; }

.event-title a { color: var(--brand-dark); font-weight: 700; }
.event-title a:hover { color: var(--brand-green); text-decoration: none; }

.event-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

/* ---------- VENUE CARDS ---------- */
.venue-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.venue-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.venue-img { display: block; }
.venue-img img { width: 100%; height: 200px; object-fit: cover; }

.venue-body { padding: 1.25rem; position: relative; }

.venue-rank {
    position: absolute;
    top: -16px;
    left: 1.25rem;
    background: var(--brand-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
}

.venue-title a { color: var(--brand-dark); font-weight: 700; }
.venue-title a:hover { color: var(--brand-green); text-decoration: none; }

.venue-location { color: #dc3545; font-weight: 600; font-size: 0.9rem; }

.venue-facts {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1rem;
    border-top: 1px solid #eee;
}

.venue-facts li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.venue-facts span { color: #6c757d; }

/* ---------- DOWNLOAD CARDS ---------- */
.download-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease;
}

.download-card:hover { transform: translateY(-4px); }

.download-img { width: 100%; height: 180px; object-fit: cover; }

.download-body { padding: 1.25rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    .hero-title { font-size: 1.8rem; }
    .post-card-lg { height: 320px; }
    .event-img { display: none; }
}


/* ---------- EVENTS LISTING PAGE ---------- */
.events-hero {
    background: linear-gradient(rgba(20, 30, 40, 0.65), rgba(20, 30, 40, 0.65)),
                url('../img/cape-town.jpg') center / cover no-repeat;
    padding: 4rem 0;
}

.search-panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

/* Horizontal list card */
.event-row {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease;
}

.event-row:hover { box-shadow: var(--shadow-hover); }

.event-row .event-date { flex: 0 0 84px; }

.event-row-img { flex: 0 0 220px; }
.event-row-img img { width: 100%; height: 100%; object-fit: cover; }

.event-row-body { flex: 1; padding: 1.25rem 1.5rem; }

.event-row-actions {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-left: 1px solid #f1f1f1;
}

@media (max-width: 767px) {
    .event-row { flex-wrap: wrap; }
    .event-row .event-date { flex: 0 0 64px; }
    .event-row-img { flex: 1 1 auto; height: 160px; }
    .event-row-body { flex: 1 1 100%; }
    .event-row-actions {
        flex: 1 1 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
        border-left: none;
        border-top: 1px solid #f1f1f1;
    }
}

/* =========================================================
   MICE Africa - Landing page styles (Bootstrap 4 compatible)
   ========================================================= */

:root {
    --brand-green: #28a745;
    --brand-dark: #1b2b3a;
    --brand-orange: #f0ad4e;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)),
                url('../img/cape-town.jpg') center / cover no-repeat;
    padding: 4rem 0;
}

.min-vh-75 { min-height: 75vh; }

.hero-title {
    color: #fff;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.2;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 1.75rem;
}

.hero-card-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

/* ---------- SECTIONS ---------- */
.section { padding: 4rem 0; }
.section-alt { background: #f8f9fa; }
.section-dark { background: var(--brand-dark); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.section-sub {
    color: #6c757d;
    margin-bottom: 0;
}

/* ---------- POST CARDS (image overlay) ---------- */
.post-card {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    text-decoration: none;
}

.post-card img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover img { transform: scale(1.05); }

.post-card-lg { height: 480px; }
.post-card-lg img { height: 100%; }

.post-card-sm { height: 224px; }
.post-card-sm img { height: 100%; }

.post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.8));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.post-overlay h3, .post-overlay h5 { color: #fff; font-weight: 700; }
.post-overlay p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0.5rem; }

.post-meta { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- EVENT CARDS ---------- */
.event-card {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease;
}

.event-card:hover { box-shadow: var(--shadow-hover); }

.event-date {
    flex: 0 0 72px;
    background: var(--brand-green);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.event-img { flex: 0 0 150px; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }

.event-body { padding: 1rem 1.25rem; }

.event-title a { color: var(--brand-dark); font-weight: 700; }
.event-title a:hover { color: var(--brand-green); text-decoration: none; }

.event-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

/* ---------- VENUE CARDS ---------- */
.venue-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.venue-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.venue-img { display: block; }
.venue-img img { width: 100%; height: 200px; object-fit: cover; }

.venue-body { padding: 1.25rem; position: relative; }

.venue-rank {
    position: absolute;
    top: -16px;
    left: 1.25rem;
    background: var(--brand-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
}

.venue-title a { color: var(--brand-dark); font-weight: 700; }
.venue-title a:hover { color: var(--brand-green); text-decoration: none; }

.venue-location { color: #dc3545; font-weight: 600; font-size: 0.9rem; }

.venue-facts {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1rem;
    border-top: 1px solid #eee;
}

.venue-facts li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.venue-facts span { color: #6c757d; }

/* ---------- DOWNLOAD CARDS ---------- */
.download-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease;
}

.download-card:hover { transform: translateY(-4px); }

.download-img { width: 100%; height: 180px; object-fit: cover; }

.download-body { padding: 1.25rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
    .hero-title { font-size: 1.8rem; }
    .post-card-lg { height: 320px; }
    .event-img { display: none; }
}


/* ---------- EVENTS LISTING PAGE ---------- */
.events-hero {
    background: linear-gradient(rgba(20, 30, 40, 0.65), rgba(20, 30, 40, 0.65)),
                url('../img/cape-town.jpg') center / cover no-repeat;
    padding: 4rem 0;
}

.search-panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

/* Horizontal list card */
.event-row {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease;
}

.event-row:hover { box-shadow: var(--shadow-hover); }

.event-row .event-date { flex: 0 0 84px; }

.event-row-img { flex: 0 0 220px; }
.event-row-img img { width: 100%; height: 100%; object-fit: cover; }

.event-row-body { flex: 1; padding: 1.25rem 1.5rem; }

.event-row-actions {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-left: 1px solid #f1f1f1;
}

@media (max-width: 767px) {
    .event-row { flex-wrap: wrap; }
    .event-row .event-date { flex: 0 0 64px; }
    .event-row-img { flex: 1 1 auto; height: 160px; }
    .event-row-body { flex: 1 1 100%; }
    .event-row-actions {
        flex: 1 1 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
        border-left: none;
        border-top: 1px solid #f1f1f1;
    }
}


/* ---------- EVENT DETAIL PAGE ---------- */
.event-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.event-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.85));
}

.event-hero-inner {
    position: relative;
    width: 100%;
    padding: 3rem 0 2.5rem;
}

.event-hero .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.event-hero .breadcrumb-item a { color: rgba(255, 255, 255, 0.8); }
.event-hero .breadcrumb-item.active { color: #fff; }
.event-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.5); }

.event-hero-title { color: #fff; font-weight: 700; }

.event-hero-meta { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.event-hero-meta i { color: var(--brand-orange); margin-right: 0.35rem; }

/* Sidebar facts card */
.facts-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.facts-card .card-header {
    background: var(--brand-dark);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.facts-list { list-style: none; padding: 0; margin: 0; }

.facts-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
}

.facts-list li:last-child { border-bottom: none; }
.facts-list span { color: #6c757d; }
.facts-list strong { text-align: right; }

/* Venue mini-card inside detail page */
.venue-mini {
    border: 1px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.venue-mini img { width: 100%; height: 220px; object-fit: cover; }
.venue-mini-body { padding: 1.25rem; }