/* landing_page/static/landing_page/style.css */

/* Cores e Fontes */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #1a1a1a;
    --primary-color: #00e6e6; /* Ciano néon */
    --secondary-color: #ff00ff; /* Magenta néon */
    --text-light: #e0e0e0;
    --text-dark: #a0a0a0;
    --border-glow: rgba(0, 230, 230, 0.5); /* Brilho ciano */
    --button-hover-glow: rgba(255, 0, 255, 0.7); /* Brilho magenta para botões */
}

body {
    font-family: 'Roboto Mono', monospace; /* Fonte techy */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif; /* Fonte para títulos */
    color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Navbar */
.navbar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 230, 230, 0.3); /* Linha divisória com brilho */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 230, 230, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 30px;
}

.navbar nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Botões */
.btn-primary, .btn-secondary, .btn-link {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--secondary-color);
}

.btn-secondary {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-color);
}

.btn-link {
    color: var(--primary-color);
    border: none;
    padding: 0;
    margin: 0;
    text-shadow: 0 0 5px var(--primary-color);
}
.btn-link:hover {
    text-shadow: 0 0 10px var(--primary-color);
    color: var(--secondary-color);
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 50px 0;
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Overlay escuro */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--primary-color);
    line-height: 1.1;
}

.highlight-text {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.hero-glow-effect { /* Para o brilho tipo "nuvem" na imagem de exemplo */
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 230, 230, 0.3) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}


/* Seções Gerais */
.section {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px dashed rgba(0, 230, 230, 0.1);
}

.section:last-child {
    border-bottom: none;
}

.dark-bg {
    background-color: var(--bg-dark);
}

.light-bg {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 0 0 10px var(--primary-color);
    color: var(--primary-color);
}

/* Cards e Grid */
.grid-2, .grid-3 {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
    height: 350px;
    perspective: 1000px;
}

/* Card Flip Effect */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 230, 230, 0.2);
    border: 1px solid rgba(0, 230, 230, 0.3);
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
    box-shadow: 0 0 25px var(--secondary-color), 0 0 35px rgba(255, 0, 255, 0.3);
    border-color: var(--secondary-color);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
}

.card-front {
    background-color: var(--bg-light);
    color: var(--text-light);
}

.card-back {
    background-color: var(--bg-light);
    color: var(--text-dark);
    transform: rotateY(180deg);
    padding-top: 50px;
}

.card-back ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 20px;
    width: 100%;
}

.card-back ul li {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: var(--text-dark);
}
.icon-back {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.1em;
}

/* Ajustes menores */
.service-card h3 {
    margin-top: 10px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.9em;
    color: var(--text-dark);
}

.project-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text-dark);
}

.icon-glow {
    font-size: 3em;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    margin-bottom: 10px;
}

/* Sobre Mim */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: var(--text-dark);
}
.about-content p {
    margin-bottom: 15px;
}

/* Contato */
.contact-section {
    background-color: var(--bg-dark);
    padding-bottom: 80px;
}

.contact-subtitle {
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}


/* Footer */
footer {
    background-color: #050505;
    color: var(--text-dark);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 230, 230, 0.1);
}

.cta-text {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-top: 40px;
    text-shadow: 0 0 8px var(--primary-color);
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
    .navbar nav ul {
        flex-direction: column;
        margin-top: 15px;
    }
    .navbar nav ul li {
        margin: 5px 0;
    }
    .hero-title {
        font-size: 2.5em;
    }
    .section-title {
        font-size: 2em;
    }
}

/* Estilo para o Logo no Navbar */
.logo-img {
    height: 100px; /* Ajuste este valor se precisar de um tamanho diferente */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1); /* Efeito de zoom sutil ao passar o mouse */
}
/* Estiliza o botão do menu hambúrguer */
.menu-toggle {
    display: none; /* Esconde o botão por padrão */
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2em;
    cursor: pointer;
}

/* Media Query para Telas Menores (Celulares) */
@media (max-width: 768px) {
    /* Esconde o menu de navegação e exibe o botão do menu hambúrguer */
    .navbar nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px; /* Ajuste para não cobrir o logo */
        left: 0;
        background-color: var(--bg-dark); /* Cor de fundo do menu */
        border-top: 1px solid rgba(0, 230, 230, 0.3);
    }
    
    /* Quando o menu é ativado, ele fica visível */
    .navbar nav ul.active {
        display: flex;
    }
    
    /* Ajusta os itens do menu */
    .navbar nav ul li {
        margin: 15px 0;
    }
    
    /* Estiliza o botão do menu hambúrguer */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 2em;
        cursor: pointer;
    }
}