/* style.css - Estilos globais para o site San Andreas */

/* Reset básico para consistência entre navegadores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos gerais do corpo da página */
body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilo geral para botões */
.btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-large {
    padding: 15px 30px;
    font-size: 20px;
}

.btn-primary {
    background-color: #000000;
    border-color: #000000;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.btn-danger {
    background-color: #000000;
    border-color: #000000;
}

.btn-danger:hover {
    background-color: #cc0000;
    color: #ffffff;
}

/* Estilo para links gerais */
a {
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
    padding: 4px 8px;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

a:hover {
    background-color: #333333;
}

/* Estilo para títulos e textos */
h1, h2, h3 {
    color: #ffffff;
}

h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    color: #ffffff;
}

/* Caixa de conteúdo com bordas */
.content-box {
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 20px;
    background-color: #2a2a2a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

/* Espaçamento entre seções */
section {
    margin-bottom: 40px;
}

/* Estilo da barra de navegação */
.navbar {
    background-color: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo-img {
    height: 40px;
    width: auto;
}

/* Links de navegação */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
    padding: 4px 8px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #333333;
}

/* Menu do usuário */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #000000;
}

.username {
    color: #ffffff;
    font-size: 16px;
}

.user-profile-link:hover {
    background-color: #333333;
}

/* Estilo do rodapé */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p, 
.footer-section a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    margin: 5px 0;
    transition: background-color 0.3s ease;
}

.footer-section a {
    background-color: #000000;
    border: 2px solid #000000;
    padding: 4px 8px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.footer-section a:hover {
    background-color: #333333;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links i {
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    margin-top: 20px;
    font-size: 12px;
    color: #cccccc;
}

/* Seção de boas-vindas */
.welcome-section .welcome-text {
    margin-bottom: 20px;
}

.user-greeting {
    margin-top: 20px;
}

.avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #000000;
}

.greeting-text p {
    margin: 5px 0;
}

/* Carrossel */
.carousel {
    overflow: hidden;
    position: relative;
}

.carousel-container {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.feature-card, .review-card {
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 15px;
    background-color: #2a2a2a;
    flex: 0 0 auto;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Garantir que o texto dentro dos cards quebre corretamente */
.feature-card h3, .feature-card p,
.review-card .review-text, .review-card .review-author {
    white-space: normal;
    word-wrap: break-word;
}

/* Seção de Atividades da Loja */
.activities-section {
    margin-bottom: 40px;
}

.activities-container {
    overflow: hidden;
    height: 200px;
    position: relative;
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.activity-item {
    background-color: #2a2a2a;
    border: 2px solid #000000;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.activity-link {
    display: block;
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.activity-link:hover {
    background-color: #333333;
}

/* Avaliações */
.reviews-subtitle {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
}

.review-author {
    margin-top: 10px;
    font-weight: bold;
    color: #ffffff;
}

/* FAQ */
.faq-container {
    margin-top: 20px;
}

.faq-item {
    border: 2px solid #000000;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a2a2a;
    color: #ffffff;
}

.faq-question.active {
    background-color: #000000;
    color: #ffffff;
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: #2a2a2a;
}

/* Sobre */
.video-container {
    margin-top: 20px;
    text-align: center;
}

.video-container iframe {
    width: 100%;
    max-width: 600px;
    height: 340px;
    border: 2px solid #000000;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.video-error {
    margin-top: 10px;
    color: #ff4d4d;
}

/* Mensagem de alerta */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.alert-danger {
    background-color: #ffcccc;
    border: 2px solid #ff4d4d;
    color: #cc0000;
}

/* Estilo para modais */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo transparente escuro */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #2a2a2a;
    border: 2px solid #000000;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    padding: 20px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal-title {
    color: #ffffff;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: #cccccc;
}

.modal-body {
    margin-bottom: 15px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 2px solid #000000;
    padding-top: 10px;
}

.modal .form-group {
    margin-bottom: 15px;
    background-color: #1a1a1a;
    border: 2px solid #000000;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.modal .form-group label {
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

.modal .form-group input,
.modal .form-group textarea,
.modal .form-group select {
    width: 100%;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 5px;
    padding: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

.modal .form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.modal .btn-secondary {
    background-color: #333333;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.modal .btn-secondary:hover {
    background-color: #444444;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    /* Estilo do menu hamburger */
    .navbar {
        padding: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        background-color: #1a1a1a;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 14px;
        padding: 8px;
        text-align: center;
    }

    .user-menu {
        gap: 5px;
    }

    .user-profile-link {
        padding: 6px;
    }

    .avatar {
        width: 30px;
        height: 30px;
    }

    .username {
        font-size: 14px;
    }

    /* Botão do menu hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
        background-color: #000000;
        border: 2px solid #000000;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: #ffffff;
        transition: background-color 0.3s ease;
    }

    .menu-toggle:hover {
        background-color: #000000;
    }

    .menu-toggle:hover span {
        background-color: #cccccc;
    }

    /* Carrossel vertical para Recursos e Avaliações */
    .carousel-container {
        flex-direction: column;
        gap: 10px;
        height: auto;
        min-height: 300px;
        overflow: hidden;
    }

    .feature-card, .review-card {
        width: 100%;
        max-width: noneETER
        height: auto;
        text-align: left;
        box-sizing: border-box;
    }

    .feature-card h3, .feature-card p,
    .review-card .review-text, .review-card .review-author {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Atividades da Loja */
    .activities-container {
        height: 150px;
    }

    .activities-list {
        gap: 10px;
    }

    .activity-item {
        width: 100%;
        padding: 8px;
        box-sizing: border-box;
    }

    .activity-link {
        padding: 6px;
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .video-container iframe {
        height: 200px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .modal-header, .modal-footer {
        padding: 8px 0;
    }

    .modal .form-group {
        padding: 10px;
    }

    .modal .form-group input,
    .modal .form-group textarea,
    .modal .form-group select {
        padding: 6px;
        font-size: 12px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        padding: 10px;
    }

    .modal .form-group {
        padding: 8px;
    }

    .modal .btn {
        width: 100%;
        padding: 6px;
        font-size: 12px;
    }
}