:root {
    --primary: #00a329;
    --matrix-light: #55fc58;
    --matrix-dark: #45bd7d;
    --bg-dark: #000000;
    --text-white: #ffffff;
    --danger: #dc3545;
}

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

body {
    background-color: var(--bg-dark);
    background-image: url('../img/background.png');
    background-repeat: repeat;
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'Courier New', Courier, monospace;
    /* Matrix-like font */
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--matrix-light);
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: var(--text-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 10px;
    width: 200px;
}

.btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--matrix-light);
}

.box-shadow-dark {
    box-shadow: 0 0 2px var(--matrix-dark), 0 0 4px var(--matrix-dark), 0 0 1rem var(--matrix-dark), 0 0 4rem var(--matrix-dark);
}

/* Cards */
.card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary);
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--matrix-dark);
}

.card-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card img {
    width: 100%;
    height: auto;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--danger);
    color: white;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-top: 10px;
}

/* Title Section */
.title-section {
    margin-bottom: 50px;
}

.title-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.title-section p {
    color: #ccc;
    font-style: italic;
}

/* Utility */
.mt-5 {
    margin-top: 3rem;
}

.my-5 {
    margin: 3rem 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.col {
    flex: 1;
    min-width: 150px;
}

hr {
    border: 0;
    border-top: 1px solid var(--matrix-dark);
    margin: 20px 0;
}

/* Image Accordion */
.image-accordion {
    display: flex;
    width: 100%;
    height: 500px;
    gap: 10px;
}

.accordion-item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
    border: 1px solid var(--primary);
    filter: grayscale(80%) brightness(0.6);
    cursor: pointer;
}

.accordion-item:hover {
    flex: 5;
    filter: grayscale(0%) brightness(1);
    box-shadow: 0 0 20px var(--matrix-dark);
}

@media (max-width: 768px) {
    .image-accordion {
        flex-direction: column;
        height: auto;
    }

    .accordion-item {
        height: 200px;
        flex: none;
    }

    .accordion-item:hover {
        flex: none;
        height: 300px;
    }
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px var(--matrix-dark);
}

#lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--primary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#lightbox .close:hover {
    color: var(--matrix-light);
}