/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

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

html {
    -webkit-overflow-scrolling: touch;
}

body {
    background-color: #000000;
    color: #c0c0c0;
    display: flex;
    flex-direction: column;
    font-family: 'Cascadia Mono', monospace;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   MATRIX BACKGROUND
   ======================================== */

#matrix-bg {
    height: 100%;
    left: 0;
    opacity: 0.15;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #00ff00;
    font-family: 'Doto', monospace;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.page-title {
    -webkit-animation: glow-pulse 2s ease-in-out infinite;
    animation: glow-pulse 2s ease-in-out infinite;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title {
    border-bottom: 2px solid #0f8a0e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

@-webkit-keyframes glow-pulse {
    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 255, 0, 0.6), 0 0 20px rgba(0, 255, 0, 0.6);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.9), 0 0 30px rgba(0, 255, 0, 0.9);
    }
}

@keyframes glow-pulse {
    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 255, 0, 0.6), 0 0 20px rgba(0, 255, 0, 0.6);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.9), 0 0 30px rgba(0, 255, 0, 0.9);
    }
}

/* ========================================
   CONTAINER
   ======================================== */

.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
    width: 90%;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    background: #000000;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid #0f8a0e;
    padding: 1rem 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.logo {
    align-items: center;
    display: flex;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo-icon {
    -webkit-filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.6));
    filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.6));
    height: 50px;
    width: 50px;
}

.site-title {
    flex-grow: 1;
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    background: #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
    display: block;
    height: 3px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    width: 25px;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.main-nav li {
    margin-right: 2rem;
}

.main-nav a {
    border: 1px solid transparent;
    color: #0a8a0a;
    display: block;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    border-color: #0f8a0e;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    color: #00ff00;
}

.main-nav a.active {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.9);
    color: #00ff00;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

main {
    flex: 1;
    padding: 3rem 0;
}

/* ========================================
   INDEX PAGE
   ======================================== */

.intro-section {
    margin-bottom: 3rem;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-buttons .filter-btn {
    margin: 0.5rem;
}

.filter-btn {
    background: #2a2a2a;
    border: 2px solid #0f8a0e;
    border-radius: 25px;
    color: #c0c0c0;
    cursor: pointer;
    font-family: 'Cascadia Mono', monospace;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #0f8a0e;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    color: #000000;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #00ff00;
    border-color: #00ff00;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.9);
    color: #000000;
}

.file-section {
    -webkit-animation: fadeIn 0.6s ease-in;
    animation: fadeIn 0.6s ease-in;
    margin-bottom: 3rem;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-list {
    display: grid;
    grid-gap: 1rem;
    margin-top: 1.5rem;
}

.file-item {
    align-items: center;
    background: rgba(15, 138, 14, 0.1);
    border: 1px solid #0f8a0e;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(15, 138, 14, 0.2);
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    transform: translateX(10px);
}

.file-name {
    color: #0a8a0a;
    flex-grow: 1;
    font-size: 1.2rem;
}

.file-item:hover .file-name {
    color: #00ff00;
}

.file-icon {
    -webkit-filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.6));
    filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.6));
    height: 40px;
    width: 40px;
}

.loading {
    color: #0f8a0e;
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

.no-files {
    color: #0a5c0a;
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-content {
    margin: 0 auto;
    max-width: 900px;
}

.about-section {
    -webkit-animation: fadeIn 0.6s ease-in;
    animation: fadeIn 0.6s ease-in;
    margin-bottom: 3rem;
}

.about-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-section ul {
    list-style-position: inside;
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

.about-section li {
    color: #c0c0c0;
    margin-bottom: 0.75rem;
}

.about-layout {
    align-items: flex-start;
    display: grid;
    grid-gap: 2rem;
}

.about-image img{
    border: 2px solid #0f8a0e;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    height: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    width: 100%;
}
.location-image iframe {
    border: 2px solid #0f8a0e;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    height: 500px;
    transition: all 0.3s ease;
    width: 100%;
}

.about-image img:hover,
.location-image img:hover {
    border-color: #00ff00;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.9);
    transform: scale(1.02);
}

/* ========================================
   COUNTDOWN PAGE
   ======================================== */

.countdown-note {
    color: #0f8a0e;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 3rem;
    text-align: center;
}

.countdown-section {
    -webkit-animation: fadeIn 0.6s ease-in;
    animation: fadeIn 0.6s ease-in;
    margin-bottom: 3rem;
    text-align: center;
}

.countdown-label {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.countdown-display {
    align-items: center;
    color: #00ff00;
    display: flex;
    flex-wrap: wrap;
    font-family: 'Doto', monospace;
    font-size: 3rem;
    justify-content: center;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.9);
}

.time-unit {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 0.25rem;
}

.time-value {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.time-label {
    color: #0f8a0e;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.time-separator {
    color: #0f8a0e;
    font-size: 3rem;
    margin: 0 0.25rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-form-container {
    margin: 0 auto 2rem;
    max-width: 700px;
}

.contact-form {
    background: #1a1a1a;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid #0f8a0e;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: #00ff00;
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.required {
    color: #00ff00;
}

.form-group input,
.form-group textarea {
    background: #2a2a2a;
    border: 1px solid #0f8a0e;
    border-radius: 4px;
    color: #c0c0c0;
    font-family: 'Cascadia Mono', monospace;
    font-size: 1rem;
    padding: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #0f8a0e;
    border: 2px solid #00ff00;
    border-radius: 8px;
    color: #000000;
    cursor: pointer;
    font-family: 'Cascadia Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 3rem;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #00ff00;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.9);
    transform: translateY(-2px);
}

.form-status {
    border-radius: 8px;
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
}

.form-status.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    display: block;
}

.form-status.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: #000000;
    border-top: 2px solid #0f8a0e;
    margin-top: auto;
    padding: 2rem 0;
}

.footer-content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footer-text {
    color: #c0c0c0;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-text a {
    color: #0f8a0e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: #00ff00;
}

.copyright {
    color: #c0c0c0;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    margin-bottom: 1rem;
}

.social-links a {
    display: block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:last-child {
    margin-right: 0;
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-links img {
    height: 35px;
    width: 35px;
}

/* ========================================
   RESPONSIVE - MOBILE (640px and below)
   ======================================== */

@media screen and (max-width: 640px) {
    .site-title {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 300px;
    }

    .main-nav ul {
        flex-direction: column;
        padding-top: 1rem;
    }

    .main-nav li {
        margin-right: 0;
    }

    .main-nav a {
        border-bottom: 1px solid #0a5c0a;
        display: block;
        padding: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .filter-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-buttons .filter-btn {
        margin: 0.5rem 0;
    }

    .filter-btn {
        width: 100%;
    }

    .countdown-display {
        font-size: 2rem;
    }

    .time-value {
        font-size: 2.5rem;
    }

    .time-separator {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        align-items: center;
        margin-bottom: 1rem;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP (641px and above)
   ======================================== */

@media screen and (min-width: 641px) {
    .about-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .file-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.skip-link {
    background: #00ff00;
    color: #000000;
    left: 0;
    padding: 0.5rem 1rem;
    position: absolute;
    text-decoration: none;
    top: -40px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}