/* Variáveis de cores */
:root {
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --bg-lighter: #1e1e1e;
    --text-primary: #f5f5f5;
    --text-secondary: #b3b3b3;
    --pink-accent: #ff6b9b;
    --pink-accent-dark: #cc5582;
    --terminal-bg: #1a1a1a;
    --terminal-text: #d4d4d4;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Tipografia */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--pink-accent);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header e navegação */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    position: relative;
}

.logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--pink-accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--pink-accent);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Seção hero */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 4rem 0;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--pink-accent);
    position: relative;
}

/* Social media links in header */
.social-header {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-header .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-header .social-link:hover {
    background-color: var(--pink-accent);
    color: var(--bg-darker);
    transform: translateY(-5px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn.primary {
    background-color: var(--pink-accent);
    color: var(--bg-darker);
}

.btn.primary:hover {
    background-color: var(--pink-accent-dark);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--pink-accent);
    color: var(--pink-accent);
}

.btn.secondary:hover {
    background-color: rgba(255, 107, 155, 0.1);
}

/* Terminal */
.terminal {
    flex: 1;
    min-width: 300px;
    background-color: var(--terminal-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 300px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background-color: var(--bg-darker);
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff5f57;
}

.terminal-buttons span:nth-child(2) {
    background-color: #ffbd2e;
}

.terminal-buttons span:nth-child(3) {
    background-color: #28ca41;
}

.terminal-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Space Mono', monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'Space Mono', monospace;
    flex: 1;
    overflow-y: auto;
    font-size: 0.9rem;
}

.terminal-body p {
    margin-bottom: 10px;
    color: var(--terminal-text);
}

.prompt {
    color: var(--pink-accent);
    margin-right: 10px;
}

.typing {
    border-right: 2px solid var(--pink-accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    margin: 4rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: var(--bg-lighter);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    text-decoration: none;
    padding: 30px 20px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.project-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--pink-accent);
    text-align: center;
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tag.red-team {
    background-color: rgba(255, 107, 155, 0.2);
    color: var(--pink-accent);
}

/* Responsive adjustments for portfolio grid */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Seção About */
.about {
    padding: 6rem 0;
    background-color: var(--bg-lighter);
    border-radius: 10px;
    margin: 4rem 0;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 800px;
    margin-bottom: 3rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.skill {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-dark);
    border-radius: 8px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skill i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--pink-accent);
}

/* Profiles Section */
.profiles {
    padding: 6rem 0;
    margin: 4rem 0;
}

.profile-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.profile-card {
    background-color: var(--bg-lighter);
    border-radius: 10px;
    padding: 2rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.profile-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--pink-accent);
}

.profile-card h3 {
    margin-bottom: 0.5rem;
}

.profile-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Seção de contato */
.contact {
    padding: 4rem 0;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-lighter);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: left;
}

.form-title {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
    color: var(--pink-accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Mensagens de formulário */
.message-container {
    margin: 1rem 0;
    min-height: 24px;
    transition: all 0.3s ease;
}

.error-message, .success-message {
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

.error-message {
    background-color: rgba(255, 107, 155, 0.1);
    border-left: 3px solid var(--pink-accent);
    color: var(--pink-accent);
}

.success-message {
    background-color: rgba(255, 107, 155, 0.1);
    border-left: 3px solid var(--pink-accent);
    color: var(--pink-accent);
}

/* Google reCAPTCHA Styling */
.g-recaptcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* Customize reCAPTCHA theme to match dark theme */
.g-recaptcha {
    transform-origin: left top;
    background-color: var(--bg-dark);
    border-radius: 4px;
    overflow: hidden;
}

/* Dark theme adjustments for smaller screens */
@media (max-width: 350px) {
    .g-recaptcha {
        transform: scale(0.85);
        margin-right: -15%;
    }
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

input {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--bg-dark);
    border: 1px solid #444;
    color: var(--text-primary);
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
}

input:focus {
    outline: none;
    border-color: var(--pink-accent);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        flex-direction: column;
        gap: 3rem;
        min-height: auto;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .social-header {
        justify-content: center;
    }
    
    .terminal {
        width: 100%;
    }
    
    .about, .portfolio, .profiles {
        padding: 3rem 1.5rem;
    }
    
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .profile-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .skills {
        gap: 1rem;
    }
    
    .skill {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-tags {
        flex-direction: column;
        align-items: flex-start;
    }
} 