/* style.css */

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Universal box-sizing to prevent overflow */
*, *::before, *::after {
    box-sizing: border-box;
}

.title {
    font-size: 2.5rem;
    text-align: center;
    margin: 0 0;
    font-weight: bold;
    margin-bottom: 0;
    position: relative;
    z-index: -1;
}

.subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 0.2rem;
    color: #555;
    font-style: italic;
    position: relative;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: bold;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

body {
font-family: Calibri, Arial, sans-serif;
margin: 0;
padding: 0;
padding-top: 80px; /* Add space for fixed header */
background-color: #ffffff;
color: #222;
overflow-x: hidden; /* Prevent horizontal scrolling */
max-width: 100vw; /* Ensure body doesn't exceed viewport width */
}

/* Modern Header Styles */
.site-header {
    background-color: #f8f9fa;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
    text-align: center;
    padding: 1rem;
    color: #555;
    font-size: 0.9rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    font-style: italic;
}

.logo a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #f00;
}

.primary-navigation {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    color: #777;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.primary-navigation a:hover {
    color: #f00;
}

.primary-navigation a.active {
    color: #111;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #003366;
    transition: 0.3s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 768px) {
    /* Navigation adjustments */
    .mobile-nav-toggle {
        display: block;
    }

    .primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .primary-navigation.show {
        display: flex;
    }

    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile font size adjustments */
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .primary-navigation a {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    body {
        font-size: 0.95rem;
    }
}


.hero {
text-align: center;
padding: 2.5rem 1rem 1rem;
}


.content {
max-width: 800px;
margin: auto;
padding: 1rem 2rem;
}


.btn {
display: inline-block;
background-color: #003366;
color: white;
padding: 0.6rem 1.2rem;
border-radius: 5px;
text-decoration: none;
margin-top: 1rem;
}


.btn:hover {
background-color: #002244;
}


footer {
text-align: center;
padding: 1rem;
border-top: 1px solid #ddd;
color: #555;
font-size: 0.9rem;
background-color: #f8f9fa;
margin-top: 2rem;
width: 100%;
}


.tag-list, .video-list {
list-style-type: disc;
padding-left: 1.5rem;
}

/* Invite code and Discord link styles */
.invite-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.invite-code-box {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.invite-code {
    font-family: monospace;
    background-color: transparent;
    border: none;
    font-size: 1rem;
}

.copy-button {
    padding: 5px 10px;
    border: none;
    background: #c4c4c4;
    color: black;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.1s ease;
}

.copy-button:hover {
    background: #b4b4b4;
}

.discord-container {
    margin-top: 10px;
    text-align: center;
}

.discord-button {
    padding: 5px 10px;
    font-style: italic;
    border: none;
    background: #5865F2;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.1s ease;
}

.discord-button:hover {
    background: #4752C4;
}

/* Mobile responsive styles for invite and Discord elements */
@media (max-width: 600px) {
    .invite-container {
        margin-top: 15px;
        padding: 0 10px;
    }
    
    .invite-code-box {
        padding: 8px;
        max-width: 100%;
        gap: 8px;
        flex-direction: row;
        align-items: center;
    }
    
    .invite-code {
        font-size: 0.7rem;
        text-align: left;
        word-break: break-all;
        flex: 1;
        margin-bottom: 0;
    }
    
    .copy-button {
        padding: 4px 6px;
        font-size: 0.75rem;
        min-width: 50px;
        flex-shrink: 0;
    }
    
    .discord-container {
        margin-top: 8px;
    }
    
    .discord-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}