
/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #d4d4d4;
}

code {
    font-family: 'JetBrains Mono', monospace;
    background-color: #1a1a1a;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #10b981;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #34d399;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #10b981;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #10b981;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #f5f5f5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        gap: 0;
        display: none;
        border-bottom: 1px solid rgba(16, 185, 129, 0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(16, 185, 129, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f1f1a 50%, #0a0a0a 100%);
}

/* Animated background elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-profile {
    position: relative;
    margin-bottom: 2rem;
    animation: slideInDown 0.8s ease;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #10b981;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.5);
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.3);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #f5f5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.1;
    animation: slideInDown 0.8s ease;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #c0c0c0;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: slideInUp 0.8s ease 0.2s both;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #0a0a0a;
    border: 2px solid transparent;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #34d399;
    border: 2px solid #34d399;
    font-weight: 700;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #0a0a0a;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

/* ===== SECTIONS ===== */
section {
    padding: 6rem 0;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #10b981;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: #0f0f0f;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text  {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0c0c0;
    margin-bottom: 1.5rem;
}

.about-text p:first-of-type::first-letter {
  /* seus estilos aqui */
  font-size: 2rem;
  color: #10b981;
  margin-right: 0.1rem;
}
    


/* ===== SKILLS SECTION ===== */
.skills {
    background-color: #0a0a0a;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.skill-card h3 {
    margin-bottom: 0.5rem;
    color: #f5f5f5;
}

.skill-level {
    font-size: 0.9rem;
    color: #10b981;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: #2a2a2a;
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background-color: #0f0f0f;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.project-content {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    pointer-events: none;
    z-index: 3;
}

.overlay-content {
    text-align: center;
    color: #f5f5f5;
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #34d399;
    font-weight: 700;
}

.overlay-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #d4d4d4;
}

.overlay-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.overlay-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.overlay-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.project-card:hover {
    border-color: #10b981;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
    transform: translateY(-8px);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.project-card:hover .project-content {
    opacity: 0.3;
    transform: scale(0.95);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    margin: 0;
    flex: 1;
}

.project-date {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.project-description {
    flex-grow: 1;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.project-link:hover {
    color: #34d399;
    transform: translateX(5px);
}

.projects-note {
    background-color: rgba(16, 185, 129, 0.05);
    border-left: 3px solid #10b981;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 3rem;
}

.projects-note p {
    margin: 0;
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: #0a0a0a;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    text-decoration: none;
    color: #f5f5f5;
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.contact-link:hover {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-link span:last-child {
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background-color: #1a1a1a;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #707070;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0f0f0f;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: #707070;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-40px) translateX(0px);
    }
    75% {
        transform: translateY(-20px) translateX(-10px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .profile-image {
        width: 140px;
        height: 140px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    section {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ===== SCROLL BEHAVIOR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* ===== NOVAS SEÇÕES DE PROJETOS ===== */
.subsection-title {
    font-size: 1.8rem;
    color: #10b981;
    margin: 3rem 0 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.badge-soon {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 1rem;
}

.project-complex {
    opacity: 0.85;
    border-style: dashed;
}

.project-complex:hover {
    opacity: 1;
}

.project-link-placeholder {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

.btn-disabled {
    background: #4b5563;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}
