/* style.css */
/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #050505;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== HEADER / NAV ========== */
header {
    background: #000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-left img {
    height: 48px;
}

.nav-left h1 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-left span {
    display: block;
    font-size: 0.75rem;
    color: #d4af37;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5f5f5;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: #d4af37;
}

/* ========== HERO (HOME) ========== */
.hero {
    background: radial-gradient(circle at top, #2b2310 0, #050505 50%, #000 100%);
    padding: 4rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.hero h2 span {
    color: #d4af37;
}

.hero p {
    color: #d0d0d0;
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.badge {
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5f5f5;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #f5c542);
    color: #050505;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5f5f5;
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

.hero-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 1.5rem;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), #050505);
}

.hero-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 0.85rem;
    color: #d0d0d0;
    margin-bottom: 1rem;
}

.hero-card ul {
    list-style: none;
    font-size: 0.85rem;
    color: #e5e5e5;
}

.hero-card li {
    margin-bottom: 0.4rem;
}

/* ========== MID-PAGE BANNER (ORANGE.PNG) ========== */
.mid-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.mid-banner img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    object-fit: cover;
}

/* ========== SECTIONS GENERAL ========== */
section {
    padding: 3rem 0 2.5rem;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
}

.section-accent {
    color: #d4af37;
}

/* ========== SERVICES (HOME) ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #0a0a0a;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #d0d0d0;
}

/* ========== CONTACT (HOME) ========== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-card {
    background: #050505;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 0.75rem;
}

.contact-list {
    list-style: none;
    font-size: 0.9rem;
    color: #d0d0d0;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

/* ========== EVENTS (GENERAL LIST STYLES) ========== */
.events-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    background: #0a0a0a;
    border-radius: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

.event-card img {
    width: 130px;
    height: 90px;
    object-fit: cover;
    border-radius: 0.6rem;
}

.event-body {
    flex: 1;
}

.event-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.event-date {
    font-size: 0.8rem;
    color: #d4af37;
    margin-bottom: 0.4rem;
}

.event-desc {
    font-size: 0.85rem;
    color: #d0d0d0;
}

/* ========== EVENTS PAGE (FULL VIEW + GALLERY) ========== */
.events-page-wrapper {
    padding: 2.5rem 0;
}

.event-full {
    background: #0a0a0a;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 1.5rem;
}

.event-full h3 {
    color: #d4af37;
    margin-bottom: 0.25rem;
}

.event-full .date {
    font-size: 0.85rem;
    color: #c0c0c0;
    margin-bottom: 0.75rem;
}

.event-full .description {
    font-size: 0.9rem;
    color: #e0e0e0;
    white-space: pre-line;
    margin-bottom: 0.75rem;
}

/* Gallery for multiple images */
.gallery {
    margin-top: 0.5rem;
}

.gallery img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    margin: 4px;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.6);
}

/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 3px solid #d4af37;
    border-radius: 0.5rem;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
}

/* ========== FOOTER ========== */
footer {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 0 1.5rem;
    font-size: 0.8rem;
    color: #a0a0a0;
    text-align: center;
}

/* ========== ADMIN SHARED STYLES (for admin-events.php) ========== */
.admin-wrapper {
    padding: 2.5rem 0;
}

.admin-card {
    background: #0a0a0a;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.admin-card h2 {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #101010;
    color: #f5f5f5;
    font-size: 0.9rem;
}

.form-group input[type="file"] {
    font-size: 0.85rem;
    color: #d0d0d0;
}

.btn-danger {
    background: #b3261e;
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-link {
    font-size: 0.8rem;
    color: #d4af37;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
}

.alert-success {
    background: rgba(0, 128, 0, 0.15);
    border: 1px solid rgba(0, 128, 0, 0.5);
    color: #b8ffb8;
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: rgba(128, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #ffb8b8;
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.events-table th,
.events-table td {
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.events-table th {
    text-align: left;
    color: #d4af37;
}

.thumbs img {
    width: 50px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 4px;
}

.logout-link {
    font-size: 0.8rem;
    color: #d4af37;
    text-decoration: underline;
    margin-left: 0.5rem;
}

.login-card {
    max-width: 380px;
    margin: 0 auto;
}

/* ========== RESPONSIVE (MOBILE) ========== */
@media (max-width: 900px) {
    .hero-inner,
    .contact-grid,
    .events-wrapper {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    /* Header stack on mobile */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 0.75rem 0.5rem;
    }

    .nav-left h1 {
        font-size: 0.95rem;
    }

    .nav-left span {
        font-size: 0.7rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 0.4rem;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.8rem;
    }

    /* Slightly tighter margin on mobile for mid banner */
    .mid-banner {
        margin: 2rem 0;
    }
}
/* Mid-Page Banner (Full-Width Desktop + Mobile) */
.mid-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.mid-banner img {
    width: 100vw;              /* full screen width */
    max-width: 100%;           /* no restriction */
    height: auto;
    border-radius: 0;          /* remove rounding so it fills edge-to-edge */
    border: none;              /* remove border for clean mobile fit */
    object-fit: cover;
    margin-left: 50%;
    transform: translateX(-50%); /* ensures perfect alignment */
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .mid-banner {
        margin: 1.5rem 0;
    }
    .mid-banner img {
        width: 100vw;          /* forces the image to stretch edge to edge */
        max-width: 100vw;
    }
}


