/*
Theme Name: Spearpoint Codinome
Theme URI: https://(seu-site-wordpress.com)
Author: Spearpoint Fullstack Dev
Author URI: https://(seu-site-wordpress.com)
Description: Tema landing page para o grupo Spearpoint de Battlefield 6.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/g2.html
Tags: landing-page, gaming, battlefield
Text Domain: spearpoint_codinome
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #dddddd;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #B71C1C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: #B71C1C;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header e Navegação --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
    padding: 20px 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    z-index: 1002;
}
.site-logo img {
    height: 50px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 30px;
}

.main-navigation a {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #B71C1C;
    border-bottom-color: #B71C1C;
}

/* --- Botões de CTA no Header --- */
.header-actions {
    display: flex;
    gap: 15px;
    margin-left: 30px;
}

.header-actions .cta-button {
    padding: 8px 15px;
    font-size: 0.8rem;
    margin: 0;
}

/* --- Menu Mobile (Hamburger) --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.toggled .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.toggled .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.toggled .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* --- Seção Hero --- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-logo img {
    max-width: 450px;
    margin: 0 auto 30px auto;
    border-radius: 15px; /* Borda arredondada adicionada */
}


.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    background-color: #B71C1C;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 15px 35px;
    border-radius: 5px;
    border: 2px solid #B71C1C;
    transition: all 0.3s ease;
    margin: 5px 10px;
}

.cta-button:hover {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
    transform: scale(1.05);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #777;
    color: #ccc;
}

.cta-button.secondary:hover {
    background-color: #333;
    border-color: #aaa;
    color: #fff;
    transform: scale(1.05);
}

/* --- Seções de Conteúdo Padrão --- */
.content-section {
    padding: 80px 0;
}

.content-section .container {
    max-width: 960px;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
    background-color: #111111;
}
.cta-section .button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


/* --- Seção Mídia / Galeria --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    background-color: #333;
    border: 2px solid #444;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(183, 28, 28, 0.5);
}

/* --- Footer --- */
.site-footer {
    background-color: #000000;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials a {
    margin: 0 15px;
    font-size: 1.5rem;
}

.site-footer p {
    font-size: 0.9rem;
    color: #777;
}

/* --- Animações --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .site-logo {
        margin-bottom: 0;
    }
    .site-logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%; /* Começa fora da tela */
        width: 90%;
        max-width: 300px;
        height: 100vh;
        background-color: #000;
        padding-top: 80px;
        transition: left 0.3s ease-in-out;
        z-index: 1001;
    }

    .main-navigation.toggled {
        left: 0; /* Aparece na tela */
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .main-navigation li {
        margin: 10px 0;
        margin-left: 0;
        width: 100%;
    }

    .main-navigation a {
        font-size: 1.1rem;
        padding: 10px;
        display: block;
    }
    .main-navigation a:hover,
    .main-navigation .current-menu-item > a {
        border-bottom-color: transparent;
        color: #B71C1C;
    }

    /* --- Estilos dos CTAs no Menu Mobile --- */
    .header-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #333;
        width: 100%;
    }
    .header-actions .cta-button {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }


    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-logo img {
        max-width: 300px;
    }

    h2 {
        font-size: 2rem;
    }
}