/* CSS Reset and Variables */
:root {
    --bg-color: #0a0a0a;
    --section-bg: #111111;
    --text-color: #e0e0e0;
    --accent-color: #ffffff;
    --highlight: #555555;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@font-face {
    font-family: 'LTSaeadaMed';
    src: url('fonts/LTSaeada-Medium.otf');
}

@font-face {
    font-family: 'Eurostyle';
    src: url('fonts/Eurostyle.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-family: "Eurostyle", sans-serif;
    letter-spacing: 1px;
    font-size: 1.7rem;
}

/* Navigation */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3%;
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-family: "LTSaeadaMed", sans-serif;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* This is what makes it a perfect circle */
    object-fit: cover; /* Ensures your image isn't stretched or squished */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Typography & Layout */
.section {
    padding: 6rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--highlight);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.text-center {
    text-align: center;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden; /* Prevents scrolling issues */
    letter-spacing: 2px;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Pushes the images behind your text */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* The smooth crossfade magic */
}

.carousel-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1; /* Keeps text on top of the images */
}

.hero-content h1 {
    font-size: 8rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: #aaaaaa;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Game Section */
.game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.pillars {
    margin-top: 2rem;
    list-style: none;
}

.pillars li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.pillars li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--highlight);
}

/* Responsive YouTube Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Forces the perfect 16:9 aspect ratio */
    background-color: #000;
    border: 1px solid var(--highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
    overflow: hidden; /* Keeps the iframe neatly inside the borders */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Studio & Footer */
.dark-bg {
    background-color: var(--section-bg);
}

/* Studio Section Flex Layout */
.studio-flex {
    display: flex;
    align-items: center; /* Centers the logo vertically with the text */
    justify-content: space-between;
    gap: 4rem; /* Adds breathing room between the text and logo */
}

.studio-text {
    flex: 1; /* Tells the text to take up equal space */
}

.studio-logo-large {
    flex: 1; /* Tells the logo to take up equal space */
    display: flex;
    justify-content: center;
}

.studio-logo-large img {
    max-width: 350px; /* Prevents the logo from getting too massive */
    width: 100%;
    height: auto;
    opacity: 0.9; /* Slightly fades the logo so it isn't too overpowering */
}

.studio-mission {
    font-size:2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.email-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
}

.copyright {
    margin-top: 4rem;
    font-size: 1.2rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .nav-links {
        display: none; /* Add a hamburger menu for mobile later if needed */
    }
}

/* Social Media Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.social-icon {
    color: #aaaaaa; /* Matches your muted paragraph text */
    font-size: 2rem; /* Controls the size of the icons */
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color); /* Turns pure white on hover */
    transform: translateY(-5px); /* Subtly floats the icon upwards */
}