/* =============================================
   ZION TECH SOLUTIONS - STYLESHEET
   ============================================= */

/* -----------------
   1. Variáveis Globais (Root)
   ----------------- */
:root {
    --dark-bg: #121212;
    --electric-blue: #00FFFF;
    --text-color: #E0E0E0;
    --accent-color: #00BFFF;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --header-height: 120px;
}

/* -----------------
   2. Reset e Estilos Base
   ----------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    background-image: url('fundo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -----------------
   3. Tipografia
   ----------------- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--electric-blue);
    margin-bottom: 0px;
}

h1 {
    font-size: 3em;
    text-align: center;
    text-shadow: 0 0 15px var(--electric-blue), 0 0 30px var(--accent-color);
}

h2 {
    font-size: 2.5em;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    margin-top: 40px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--electric-blue);
    box-shadow: 0 0 8px var(--electric-blue);
}

h3 {
    font-size: 1.8em;
    color: var(--text-color);
}

p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: center;
}

a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

/* -----------------
   4. Componentes (Botões, etc.)
   ----------------- */
.btn-primary, .btn-submit {
    display: inline-block;
    background: linear-gradient(45deg, var(--electric-blue), var(--accent-color));
    color: var(--dark-bg);
    padding: 15px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: var(--font-heading);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.5s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1.1em;
}

.btn-primary:hover, .btn-submit:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.4);
    background: linear-gradient(45deg, var(--accent-color), var(--electric-blue));
}

/* -----------------
   5. Layout (Header, Seções, Footer)
   ----------------- */
.header {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.2);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

.logo {
    max-height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: rgba(18, 18, 18, 0.9);
}

.hero-section {
    padding-top: var(--header-height);
    background: transparent;
}

.about-section, 
.services-section, 
.contact-section {
    background-color: rgba(18, 18, 18, 0.95);
}

.footer {
    background-color: rgba(13, 13, 13, 0.95);
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

/* -----------------
   6. Menu de Navegação (Cubo 3D)
   ----------------- */
.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 15px;
}

.cube-container {
    perspective: 1000px;
    width: 140px;
    height: 40px;
}

.cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.cube-container:hover .cube {
    transform: rotateX(-90deg);
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    border-radius: 5px;
}

.face a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 15px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.face.front {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transform: translateZ(20px);
}

.face.top {
    background: linear-gradient(45deg, var(--electric-blue), var(--accent-color));
    transform: rotateX(90deg) translateZ(20px);
}

.face.top a {
    color: var(--dark-bg);
    text-shadow: none;
}

/* -----------------
   7. Estilos de Seções Específicas
   ----------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.service-item {
    background-color: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--electric-blue);
}

.key-points {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.key-points li {
    background-color: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--electric-blue);
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.key-points li:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--electric-blue);
}

.key-points li i {
    font-size: 2em;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-form {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    background-color: #2a2a2a;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.footer .social-media {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 25px;
}

/* ✅ VIDEO HERO AJUSTADO */
.video-hero {
    width: 100%;
    max-width: 100%;
    max-height: 600px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    display: block;
    margin: 0 auto;
}

.video-hero video {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
    border: none;
    background-color: transparent;
}


/* -----------------
   8. Responsividade
   ----------------- */
@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 15px 0;
    }

    .header .container {
        padding: 0 20px;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-menu li {
        margin: 0 5px 10px;
    }

    .cube-container {
        transform: scale(0.9);
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .hero-section {
        padding-top: 120px;
    }
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, var(--electric-blue), var(--accent-color));
    color: var(--dark-bg);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--electric-blue);
}
