/* assets/style.css */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto+Condensed:wght@400;700;900&display=swap');

:root {
    --gta-pink: #f72585; /* Rosa mais aberto vice city */
    --gta-purple: #7209b7;
    --gta-cyan: #4cc9f0;
    --gta-blue: #4361ee;
    --gta-yellow: #fcd53f; /* Amarelo da logo/branding */
    
    --bg-light: #fef8f5;
    --bg-card: rgba(255, 255, 255, 0.95);
    --text-dark: #111111;
    --text-muted: #555555;
    --text-main: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.theme-vice {
    background-color: var(--bg-light);
    /* Fundo responsivo referenciando o fundo.png solicitado pela demanda */
    background-image: url('../imagens/fundo.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-dark);
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton', sans-serif;
    letter-spacing: 2px;
}

.brand-text {
    color: var(--gta-yellow);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* HEADER & HUD SOCIAL */
header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 50px;
    border-bottom: 4px solid var(--gta-cyan);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header img.logo {
    height: 55px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover {
    color: var(--gta-pink);
}

.social-hud {
    color: var(--gta-cyan);
    filter: drop-shadow(0 0 5px var(--gta-pink));
    display: flex;
    align-items: center;
    transition: 0.3s;
}
.social-hud:hover {
    color: var(--gta-pink);
    filter: drop-shadow(0 0 10px var(--gta-cyan));
    transform: scale(1.1);
}
.footer-insta {
    display: inline-flex;
    gap: 10px;
    margin-top: 10px;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--gta-pink);
    text-decoration: none;
    color: #fff;
    font-family: 'Anton', sans-serif;
}

/* HERO SECTION - SIDE BY SIDE */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60vh;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 5px dashed var(--gta-pink);
    margin-bottom: 60px;
}

.hero-text-block {
    flex: 1;
    padding-right: 20px;
    text-align: left;
}

.hero-text-block h1 {
    font-size: 6rem;
    line-height: 0.9;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 4px 4px 0px rgba(255, 255, 255, 0.9), 6px 6px 0px var(--gta-cyan);
}

.sub-hero-seo {
    font-size: 1.5rem;
    color: var(--gta-purple);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
}

.hero-text-block p {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    background: rgba(255,255,255,0.7);
    padding: 10px 15px;
    border-left: 5px solid var(--gta-pink);
}

.hero-image-block {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.hero-image-block img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 10px 10px 0px var(--gta-pink), 20px 20px 30px rgba(0,0,0,0.25);
    object-fit: cover;
    transform: rotate(2deg);
}

/* CARDS (SERVICE GRID) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.card {
    background: var(--bg-card);
    border: 4px solid var(--text-dark);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    cursor: pointer;
    box-shadow: 8px 8px 0px rgba(255,255,255,0.3);
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 14px 14px 0px rgba(0,0,0,0.8);
}

.card.mission { border-color: var(--gta-cyan); }
.card.mission:hover { background-color: var(--gta-cyan); color: #111; }

.card.shop { border-color: var(--gta-pink); }
.card.shop:hover { background-color: var(--gta-pink); color: #fff; }
.card.shop:hover p { color: #fff; }

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 3px solid #111;
}

.card h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-muted);
}

/* MODAL / POPUP */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fundo gta opacity */
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #111;
    padding: 40px;
    border: 3px solid var(--gta-cyan);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh; /* Prevents extending out of screen */
    overflow-y: auto; /* Enables vertical scrolling within modal */
    position: relative;
    transform: scale(0.9);
    transition: 0.3s ease;
    box-shadow: 0 0 50px rgba(76, 201, 240, 0.5);
    color: white; /* Formulário dark mode pra imersão modal */
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-weight: 900;
    color: var(--gta-pink);
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
}
.close-btn:hover { color: #fff; }

.form-section h2 {
    color: var(--gta-yellow);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.form-group { margin-bottom: 15px; }
.form-group.double { display: flex; gap: 15px; }
.form-group.double > * { flex: 1; }

input, select {
    width: 100%;
    padding: 12px 15px;
    background: #222;
    border: 2px solid var(--text-muted);
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: 0.3s;
    outline: none;
    border-radius: 4px;
}

input:focus, select:focus {
    border-color: var(--gta-cyan);
    background: #2a2a2a;
}

button[type="submit"] {
    width: 100%;
    padding: 18px;
    background: var(--gta-pink);
    color: #fff;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    border-radius: 4px;
    letter-spacing: 1px;
}

button[type="submit"]:hover { background: #fff; color: var(--gta-pink); }

.alert-msg {
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-left: 4px solid var(--gta-cyan);
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    color: white;
}
.alert-msg.success { border-color: #00ff00; }
.alert-msg.error { border-color: #ff0000; }

/* FLOAT WHATSAPP */
.float-wpp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

.float-wpp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* FOOTER (SEO NAP & MAP) */
footer {
    background: #111;
    color: white;
    border-top: 8px solid var(--gta-purple);
    padding: 60px 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.nap-info {
    flex: 1;
    min-width: 300px;
}

.nap-info h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.nap-highlight {
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 8px;
}

.nap-info p {
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 400;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border: 3px solid var(--gta-cyan);
    border-radius: 8px;
    position: relative;
    padding-bottom: 250px; 
    height: 0;
    overflow: hidden;
}

/* Efeito Gamer Miami no Mapa */
.map-vice iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) saturate(200%) brightness(1.2);
}

.copyright { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid #333; }

/* RESPONSIVE */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-split { flex-direction: column; text-align: center; }
    .hero-text-block { padding-right: 0; }
    .hero-text-block h1 { font-size: 3.5rem; }
    .hero-image-block { margin-top: 20px; }
    .service-grid { grid-template-columns: 1fr; }
    .form-group.double { flex-direction: column; gap: 15px; }

    .modal-content {
        padding: 40px 20px 20px 20px;
        width: 95%;
    }
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 1rem;
        background: rgba(0,0,0,0.5);
        padding: 5px 10px;
        border-radius: 4px;
        z-index: 10;
    }
}

@media (max-width: 600px) {
    .hero-text-block h1 { font-size: 2.5rem; }
    .sub-hero-seo { font-size: 1.2rem; }
    .hero-text-block p { font-size: 1.1rem; }
    .card h3 { font-size: 1.6rem; }
    .nap-info { min-width: 100%; text-align: center; }
    .map-container { min-width: 100%; height: 200px; padding-bottom: 0; }
    .hero-split { gap: 20px; margin-bottom: 30px; }
}
