/* ============================================================
   GLOBAL UNIVERSAL STYLES 
   ============================================================ */

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-image: url(Website_Images/Neo_City.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

nav {
    background-color: #000;
    width: 100%;
    padding: 14px 0;
    border-top: 2px solid #fafcfb;
    border-bottom: 2px solid #fafcfb;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    background-color: #fafcfb;
    padding: 10px 18px;
    border: 2px solid black;
    border-radius: 8px;
    transition: 0.25s ease;
}

nav a:hover {
    background-color: #e6e6e6;
    transform: translateY(-2px);
}

.slogan-box {
    margin: 20px auto 0 auto;
    background-color: #fafcfb;
    display: block;
    width: 40%;
    padding: 5px 10px;
    border: 4px solid black;
    border-radius: 15%;
    font-size: 1.5em;
}

.info-box {
    background-color: #fafcfb;
    border: 3px solid black;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    width: 90%;
}

footer {
    margin-top: 20px;
    background-color: #fafcfb;
    display: inline-block;
    width: 40%;
    padding: 5px 10px;
    border: 2px solid black;
    border-radius: 6px;
    font-size: 0.8em;
}

/* ============================================================
   GLOBAL RESPONSIVE SYSTEM
   ============================================================ */

@media (max-width: 900px) {
    .slogan-box {
        width: 80%;
        font-size: 1.2em;
        border-radius: 20px;
    }

    footer {
        width: 90%;
        font-size: 0.9em;
    }
}

@media (max-width: 500px) {
    nav {
        padding: 10px;
    }

    nav a {
        margin: 5px;
        padding: 10px 12px;
        font-size: 0.9em;
    }

    header {
        height: 150px;
    }

    .slogan-box {
        font-size: 1em;
    }
}

/* ============================================================
   INDEX PAGE STYLES
   ============================================================ */

.three-columns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.column {
    width: 15%;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 2px;
    text-align: center;
}

@media (max-width: 900px) {
    .three-columns {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .column {
        width: 80%;
    }

    .column img {
        width: 100%;
        height: auto;
    }
}

/* ============================================================
   ACCESSORIES PAGE STYLES
   ============================================================ */

.accessories-importance {
    width: 70%;
    margin: 20px auto;
}

.three-column-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 70%;
    margin: 20px auto 40px auto;
}

.three-column-section .item {
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.three-column-section img {
    width: 350px;
    height: 500px;
    object-fit: cover;
    border: 3px solid black;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .accessories-importance {
        width: 90%;
    }

    .three-column-section {
        flex-direction: column;
        width: 90%;
        gap: 30px;
    }

    .three-column-section .item {
        width: 100%;
    }

    .three-column-section img {
        width: 100%;
        height: auto;
    }
}

/* ============================================================
   CARD CATALOG PAGE STYLES
   ============================================================ */

.two-box-wrapper {
    width: 80%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.title-box {
    background-color: #fafcfb;
    border: 3px solid black;
    border-radius: 8px;
    padding: 15px;
    width: 48%;
    text-align: center;
}

.title-box h3 {
    margin-top: 0;
    font-size: 1.4em;
}

.title-box p {
    margin-bottom: 0;
    font-size: 1em;
}

.partner-button {
    display: inline-block;
    background-color: #2dc0fa;
    border: 2px solid black;
    border-radius: 6px;
    padding: 8px 15px;
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.partner-button:hover {
    background-color: #e6e6e6;
}

.title-image {
    width: 100%;
    height: auto;
    margin-top: 10px;
    border: 2px solid black;
    border-radius: 6px;
    object-fit: cover;
}

/* ============================================================
   MATCHES PAGE STYLES
   ============================================================ */

.content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2%;
    padding: 20px 5%;
    box-sizing: border-box;
}

.side-panel {
    width: 25%;
    background-color: #ffffff;
    border: 3px solid black;
    padding: 24px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    box-sizing: border-box;
    text-align: left;
    min-height: 220px;
}

.panel-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 0 12px 0;
}

.panel-text {
    font-size: 1em;
    margin: 0;
}

.main-column {
    width: 46%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.tournament-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0;
    display: block;
}

.tournament-heading {
    background-color: #ffffff;
    color: black;
    width: 40%;
    padding: 10px;
    border: 3px solid black;
    border-radius: 10px;
    font-size: 1.8em;
    font-weight: bold;
    margin: 20px auto;
    text-align: center;
}

.scrimage-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95em;
}

.scrimage-form label {
    text-align: left;
    margin-top: 6px;
}

.scrimage-form input,
.scrimage-form select,
.scrimage-form textarea {
    padding: 8px;
    border: 2px solid #000;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    width: 100%;
}

.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 8px 12px;
    margin-top: 8px;
    border: 2px solid #000;
    background-color: #fafcfb;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
}

.thank-you {
    text-align: left;
    font-size: 0.95em;
}

/* ============================================================
   ABOUT US PAGE STYLES
   ============================================================ */

.five-column-section {
    width: 90%;
    max-width: 1200px;
    margin: 24px auto;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.box {
    background-color: rgba(250, 252, 251, 0.95);
    border: 2px solid black;
    border-radius: 8px;
    padding: 14px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid black;
    border-radius: 6px;
}

@media (max-width: 1000px) {
    .grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-row {
        grid-template-columns: 1fr;
    }

    .box {
        min-height: 90px;
    }

    .slogan-box,
    footer {
        width: 90%;
    }
}

/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */

.info-box.contact {
    margin: 20px auto;
    width: 50%;
    text-align: center;
}

@media (max-width: 900px) {
    .info-box.contact {
        width: 80%;
    }
}

@media (max-width: 500px) {
    .info-box.contact {
        width: 90%;
        padding: 12px;
    }
}
