﻿/*
    File Name: styles.css
    Author: Ashton Jackson
    Version: 1.0
    Description: Main stylesheet
    Created: 4/24/2025
    Updated: 5/1/2025
*/

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #0e0e10;
    color: #f0f0f0;
}

a {
    color: #89c2ff;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 5px #89c2ff;
}

/* Header */
header {
    background-color: #1c1c22;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo {
    font-weight: 600;
    font-size: 1.5rem;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    padding: 0.5rem;
    transition: all 0.3s ease;
}

#hamburgerBtn {
    display: none;
    font-size: 1.5rem;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
}

/* Main Content */
main {
    padding: 2rem;
}

.intro {
    margin-bottom: 2rem;
}

.intro ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-top: 1rem;
}

/* Video Section */
.video video {
    width: 100%;
    max-width: 700px;
    margin-top: 1rem;
    display: block;
}

/* Highlights Section */
.highlights {
    padding: 2rem;
    background-color: #16161a;
}

.game-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.game img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .game-preview {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}

/* Contact Promo Section */
.contact-promo {
    background: linear-gradient(135deg, #1e1e2f, #292940);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 2rem;
    color: #fff;
}

.contact-button {
    display: inline-block;
    margin-top: 1rem;
    background-color: #89c2ff;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #68a6df;
}

/* Footer */
footer {
    background-color: #1c1c22;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Media Queries */
@media (min-width: 600px) {
    nav ul {
        gap: 2rem;
    }

    .intro {
        display: flex;
        gap: 2rem;
        justify-content: space-between;
    }

    .intro p, .intro ul {
        flex: 1;
    }
}

@media (min-width: 900px) {
    main {
        padding: 4rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.25rem;
    }
}

/* Print Styles */
@media print {
    header, footer, video {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Hamburger Nav (Mobile) */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #1c1c22;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border: 1px solid #333;
    }

    nav ul.show {
        display: flex;
    }

    #hamburgerBtn {
        display: block;
    }
}

/* About Blurb Section */
.about-blurb {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-blurb h2 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Rounded container styling */
.highlights {
    padding: 2rem;
    background-color: #16161a;
    border-radius: 20px;
    margin: 2rem;
}

/* Enhanced gradient and rounded corners for contact section */
.contact-promo {
    background: linear-gradient(135deg, #1b2a49, #34254f);
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Intro Section with Image */
.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.intro-text,
.intro-list,
.intro-image {
    flex: 1;
}

.intro-text h2 {
    margin-bottom: 1rem;
}

.intro-image img {
    max-width: 120px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.intro-list ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    text-align: left;
}

.about-main {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
}

.about-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.about-section {
    margin-bottom: 2rem;
}

.about-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.about-logo {
    max-width: 150px;
    display: block;
    margin: 1rem auto;
    border-radius: 50%;
}

.games-main {
    padding: 2rem;
    max-width: 1100px;
    margin: auto;
}

.game-banner {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header-img {
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}


.games-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.game-block.reverse {
    flex-direction: column-reverse;
}

.game-block img {
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.game-block video {
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
    border-radius: 8px;
}

.game-info {
    text-align: center;
}

@media (min-width: 768px) {
    .game-block {
        flex-direction: row;
        text-align: left;
    }

    .game-block.reverse {
        flex-direction: row-reverse;
    }

    .game-info {
        flex: 1;
        padding: 0 1.5rem;
    }
}


@media (min-width: 768px) {
    .intro {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .intro-image {
        text-align: center;
    }
}

.tools-main {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.tools-message {
    margin-bottom: 2rem;
}

.tool-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-top: 2rem;
    background-color: #16161a;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.tool-feature img {
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
}

.tool-info {
    text-align: center;
    max-width: 700px;
}

.contact-main {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: #1c1c22;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    background-color: #2a2a31;
    color: #fff;
}

button[type="submit"] {
    background-color: #89c2ff;
    color: #000;
    font-weight: 600;
    padding: 0.75rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #68a6df;
}
