/* GENERAL COMPONENTS */
/* Retro Terminal Theme */
body {
    /*background-color: #1a1a1a; /* Dark Grey/Black */
    color: #00242a;            /* Classic Terminal Green */
    font-family: Toxigenesis;
    /*font-family: 'Courier New', Courier, monospace;*/
    line-height: 1.6;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;       /* Centers the single column */
    width: 100%;
    overflow-x: hidden;
}

/*Main body*/
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -1;
    background-size: cover;
}

.page-container{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Enable vertical scrolling */
}

.main-content {
    margin-top: 50px;
    opacity: 1;
    margin: 20px auto;
    overflow-y: auto; /* Enable vertical scrolling */
}

/*Side bars*/
.tab {
    max-width: 800px;
    margin-top: 50px;
    overflow: auto;
    opacity: 1;
    margin: 30px auto;
    text-align: center;
    padding: 20px;
    border-bottom: 5px solid #04f5e5;; /* Funky color border */
}
.tab-left {
    float: left;
    width: 300px;
    margin-left: 30px;
    margin-right: 20px;
    border-bottom: 5px solid #04f5e5; /* Funky color border */
}
.tab-right {
    float: right;
    width: 300px;
    margin-right: 30px;
    margin-left: 20px;
    border-bottom: 2px solid #04f5e5;
    /*border: 5px solid #04f5e5; /* Funky color border */
    /*box-shadow: 0 0 20px #283644; /* Funky color shadow */
}
.tab-content {
    /*background-color: #020d0d;*/
    max-width: 900px;
    margin-top: 50px;
    overflow: auto;
    opacity: 1;
    margin: 20px auto;
    text-align: center;
    padding: 20px;
    /*border: 5px solid #04f5e5;; /* Funky color border
    box-shadow: 0 0 20px rgba(2, 12, 10, 0.5); Funky color shadow */
}

/* HOME */

/* Home Page Specific Container */
.container {
    /*background-color: rgba(0, 0, 0, 0.6);*/ /* Semi-transparent black overlay */
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
    border-radius: 4px; /* Shaper corners for a tech look */
}

/* Section Divider */
.container + .container {
    border-top: 2px solid #2ecc71; /* Green divider between sections */
    margin-top: 0; /* Snaps the containers together */
}

/* Typography Sprucing */
.container h1 {
    color: #ffffff;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-bottom: 0;
}

.container h3 {
    color: #002226;
    font-family: Fragile-Bombers;
    /*font-family: 'Courier New', monospace;*/
    font-weight: normal;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Simple Button Styling for Home */
.home-btn {
    display: block;
    width: 80%;
    padding: 20px 24px;
    border: 2px solid #002025;
    color: #00323d;
    background-color: #76edff;;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.1rem;
    transition: 0.3s;
    box-sizing: border-box;
    margin-bottom: 15px;
    margin-left: 60px;
}

.home-btn:hover {
    background-color: #186893;/*#2ecc71;*/
    color: #ffffff;
}

.logo-banner {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}


.home-hero-buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}
.home-hero-buttons a{
    margin:10px;
}

.home-hero {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 16px 24px 16px;
    box-sizing: border-box;
}

.home-hero-middle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    box-sizing: border-box;
}

.home-hero-slider {
    display: none;
}

.about-us{
    display: flex;
    align-items: center;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}
.about{
    max-width: 100%;
    height: auto;
    margin:10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.about-us-image{
    height: 500px;
    width: 400px;
    margin-left: 20px;
}
.about-us-text{
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.about-us-text h3{
  font-size: 30px;
  font-weight: 600;
  margin-bottom: auto;
}
.about-us-text p, .about-us-text li{
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 1px;
}
.about-us-list{
    list-style: none;
    background-color: rgba(255, 255, 255, 0.7);
}
.small-text{
    font-style: italic;
    font-size: 14px;
    color: #8d8b91;
    background-color: rgba(255, 255, 255, 0.7);
}

/*responsive mobile home page styles*/

@media(max-width: 768px){

    .about{
        flex-direction: column;
        align-items: center;   /* centers logo + button column */
        text-align: center;
    }
    .about-us-image{
        width: 90%;
        height: 90%;
        display: flex;
        margin-left: 85px;
        justify-content: center;  /* centers the image*/
        margin-right: 70px;
    }
    .about-us-buttons{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .home-btn{
        margin-right: 30px;
    }

    @media(min-width: 600px){
        
        .about-us-image{
            width: 400px;
            height: 500px;
        }

    }
}

@media(max-width: 500px){
    .about-us-text h3{
        font-size: 23px;
    }

    @media(max-width: 390px){
        .about-us-text h3{
            font-size: 18px;
        }
        .about-us-text p, .about-us-text li{
        font-size: 16px;
        }  
    }
}

/*
.home-hero {
    width: 100%;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
}

.home-hero-header {
    padding: 20px;
    text-align: center;
    /*border-bottom: 2px solid #04f5e5;
}

.home-hero-middle {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-hero-logo {
    flex: 2;
}

.home-hero-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.home-hero-slider {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.home-hero-buttons {
    padding: 16px 20px 24px 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 768px) {

    .home-hero-middle {
        flex-direction: column;
        align-items: center;   /* centers logo + button column 
        text-align: center;
    }

    .home-hero-logo {
        width: 100%;
        display: flex;
        margin-left: 85px;
        justify-content: center;  /* centers the image
    }

    .home-hero-slider {
        width: 100%;
        max-width: 420px;         /* keeps buttons nicely centered 
        margin-top: 20px;
        margin-left: 85px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .home-hero-logo-img {
        width: 100%;
        max-width: 800px;
    }


    .home-btn {
        width: 70%;
        padding: 18px;
        font-size: 1.05rem;
    }

}*/

/* SITE BANNER */

/* Site banner: image stacks above links-container, fits page width */
.main-content--banner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.main-content--banner .banner-hero {
    width: 100%;
    order: -1; /* keep image first in visual order */
}

.main-content--banner .banner-hero img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* EVENTS */

/* Container for the list */
.events-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* Each event row */
.events-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #333; /* Subtle scan-line divider */
    font-family: Vibrocentric;
    /*font-family: 'Courier New', Courier, monospace;*/
    transition: background 0.2s;
}

.events-list li:hover {
    background: rgba(4, 245, 229, 0.05); /* Very faint cyan glow on hover */
}

/* Formatting the spans */
.event-location {
    flex: 2; /* Takes up more space */
    color: #012327;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
}

.event-date {
    flex: 1;
    color: #003c4b; /* Terminal green */
    text-align: center;
}

.event-link {
    flex: 1;
    text-align: right;
}

/* The "Details" Button Style */
.event-link a {
    display: inline-block;
    color: #00312e;
    text-decoration: none;
    border: 1px solid #002724;
    background-color: #76edff;
    padding: 5px 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-link a:hover {
    background-color: rgb(39, 227, 248);/*#04f5e5;*/
    color: #020d0d;
    border-color: #1a1a1a;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    .events-list li {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .event-location, .event-date, .event-link {
        text-align: center;
    }
}

/* LINKS */

/* Container for the overall list */
.link-category-list {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0 auto;
    text-align: left; /* Better readability for lists */
    max-width: 100%;   /* Keeps it from hitting the edges of the tab */
}

/* The Category Heading (e.g., "Rig Name") */
.link-category {
    color: #012523; 
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #333; /* Subtle divider */
    display: block;
}

/* The Nested List of Links */
.link-list {
    list-style: none;
    padding-left: 20px; /* Indent from the category */
    margin-bottom: 30px;
}

/* Individual list items */
.link-list li {
    margin: 8px 0;
}

/* Styling the actual links if you have <a> tags inside */
.link-list li a {
    color: #002e32; /* Your terminal green */
    text-decoration: none;
    font-family: Vibrocentric;
    /*font-family: 'Courier New', Courier, monospace;*/
}

.link-list li a:before {
    content: "> "; /* Terminal prompt style bullet */
    color: #04f5e5;
}

.link-list li a:hover {
    background-color: rgb(46, 248, 241);/*#04f5e5;*/
    color: #020d0d;
}
.links-container-background{
    background-color: #fff;
    opacity: 0.3;
}

/* GALLERY */

.gallery-shell {
    max-width: 1050px;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gallery-folder-select {
    min-width: 230px;
    padding: 10px 12px;
    border: 1px solid #013b40;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #00353f;
    font-family: Vibrocentric;
}

.gallery-section {
    margin-top: 28px;
}

.gallery-section h2 {
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.gallery-thumb {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.02);
}

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px 70px;
    box-sizing: border-box;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox img {
    max-width: min(1200px, 100%);
    max-height: 88vh;
    object-fit: contain;
}

.gallery-lightbox-close,
.gallery-lightbox-nav,
.gallery-mobile-nav {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 62px;
    font-size: 1.8rem;
}

.gallery-lightbox-prev {
    left: 14px;
}

.gallery-lightbox-next {
    right: 14px;
}

.gallery-mobile {
    display: none;
    margin: 10px 0 26px 0;
}

.gallery-mobile-track-wrap {
    overflow: hidden;
}

.gallery-mobile-track {
    display: flex;
    transition: transform 0.28s ease;
}

.gallery-mobile-slide {
    min-width: 100%;
    margin: 0;
}

.gallery-mobile-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
}

.gallery-mobile-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.4rem;
}

.gallery-mobile-counter {
    margin: 8px 0 0 0;
    font-family: Vibrocentric;
}

/* NAV BAR */

/* Chunky Navbar */
.navbar {
    /*background-color: #333;  
    width: 100%;
    border-bottom: 4px solid #2ecc71;  */
    --nav-icon-scale: 1.3;
    --nav-icon-base-height: 100px;
    --nav-item-width: 220px;
    --nav-item-height: calc(var(--nav-icon-base-height) * var(--nav-icon-scale));
    --nav-item-gap: 20px;
    padding: 6px 0;
    margin-bottom: 6px;
    position: relative;
}

.nav-burger {
    display: none;
    width: 90px;
    height: 80px;
    margin: 0 auto;
    border: 0;
    border-radius: 12px;
    background-color: transparent;
    background-image: url("../img/nav/Menu-Button.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    padding: 0;
}

.nav-burger span {
    display: none;
}

.nav-modal {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    z-index: 1200;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.nav-modal.is-open {
    display: flex;
}

.nav-modal-panel {
    position: relative;
    width: min(460px, 100%);
    max-height: 80vh;
    overflow-y: auto;
    padding: 52px 14px 18px 14px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
}

.nav-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid #c5c5d6;
    background: #fff;
    color: #9ca2b0;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    text-transform: uppercase;
}

.nav-modal-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nav-modal-links a {
    display: flex;
    justify-content: center;
    width: min(250px, 100%);
}

.nav-icon-shop {
    display: flex;
    justify-content: center;
    width: min(180px, 90%);
}

body.nav-modal-open {
    overflow: hidden;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--nav-item-gap);
    padding: 0;
    margin: 0;
}

.navbar li {
    flex: 0 0 var(--nav-item-width);
    margin: 0;
}

/* 🔑 Anchor becomes the hover container */
.navbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--nav-item-height);
    padding: 10px 14px;          /* rectangle size */         /* optional: soften edges */
    text-decoration: none;

    background-color: transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Hover fills the invisible rectangle */
.navbar a:hover {
    transform: scale(1.3);
    /*background-color: #002423;*/
}

/* Icon styling stays clean */
.nav-icon {
    display: block;
    width: 100%;
    max-width: 100%;
    height: var(--nav-item-height);
    object-fit: contain;
    display: block;
}

/* FONT STYLINGS */

.bytebounce-text{
    font-family: ByteBounce;
}

.game-paused-text{
    font-family: Game-Paused;
}

.karma-text{
    font-family: Karma;
}

/* IMAGE & BANNER BACKGROUNDS
   -------------------------- */

/* Full-page background image (1-background-image.png) */
.page-background-image {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../img/Site_Background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

/* Section background overlay (2-section-background-image.png) */
.section-background-image {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.section-background-image::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background-image: url("../img/temp-assets/2-section-background-image.png");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.white-translucent-background{
    background-color: rgba(255, 255, 255, 0.5);
}

/* Header banner for home page (5-header-banner-image.png) */
.header-banner {
    width: 100%;
    height: 300px;
    margin: 20px 0 10px 0;
    background-image: url("../img/Site-Banner-Complete.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*border-radius: 16px;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);*/
}

/* Nav banner container (3-nav-banner-image.png) */
.nav-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    padding: 4px 0 10px 0;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav-container.nav-scrolled {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.94) 60%,
        rgba(255, 255, 255, 0.0) 100%
    );
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* RESPONSIVE TUNING FOR BACKGROUNDS & NAV */
@media (max-width: 900px) {
    .header-banner {
        height: 180px;
        margin: 16px 0 8px 0;
    }

    .navbar-logo {
        margin-right: 12px;
    }

    .nav-logo {
        height: 42px;
    }
}

@media (max-width: 600px) {
    .header-banner {
        height: 140px;
        margin: 12px auto 4px auto;
    }

    .nav-container {
        padding: 4px 0;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 8px;
    }

    .navbar li {
        flex: 1 1 46%;
        max-width: 230px;
        margin: 0;
    }

    .nav-logo {
        height: 34px;
    }

    .nav-icon {
        height: calc(var(--nav-item-height) * 0.72);
    }
}

@media (max-width: 660px) {
    .navbar ul {
        display: none;
    }

    .nav-burger {
        display: block;
    }

    .home-hero {
        max-width: 100%;
        padding: 8px 10px 16px 10px;
    }

    .home-hero-middle {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .home-hero-buttons {
        max-width: 100%;
    }

    .home-hero-buttons a {
        width: 100%;
        margin: 6px 0;
    }

    .home-btn {
        font-size: 1rem;
        padding: 16px 14px;
    }

    .gallery-mobile {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
        align-items: center;
    }

    .gallery-mobile-track-wrap {
        grid-column: 2 / 3;
        width: 100%;
    }

    .gallery-mobile-counter {
        grid-column: 1 / 4;
        text-align: center;
    }

    .gallery-section {
        display: none;
    }

    .gallery-lightbox {
        display: none !important;
    }
}