:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #d1d1d1;
    --secondary-bg: #1a1a1a;
    --card-bg: #121212;
    --about-text: #ffffff;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
header {
    display: flex;
    justify-self: space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0px;
    transition: var(--transition-smooth);
    background: transparent;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
}

.logo span {
    font-weight: 300;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-color);
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transition: none;
    display: block;
}

picture {
    width: 100%;
    height: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--accent-color);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* Sections */
.section {
    padding: 10rem 0;
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4rem;
    letter-spacing: -2px;
    text-align: center;
}

/* Sobre mim*/
.about-me-section {
    background-color: var(--bg-color);
    color: var(--about-text);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.132);
    box-shadow: 0 -50px 100px rgba(0, 0, 0, 0.9);
}

.about-me-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-me-section .section-title {
    color: var(--about-text);
    margin-bottom: 4rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}

.about-me-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-me-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-me-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    font-weight: 400;
}

.about-me-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-left: 3px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.about-me-highlight:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-left-color: #fff;
    transform: translateX(10px);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-me-highlight p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--accent-color);
    margin: 0;
}

.about-me-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skills-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skill-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.8rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.skill-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.5s ease;
}

.skill-card:hover .skill-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: scale(1.2) rotate(15deg);
}

.skill-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.skill-card p {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin: 0;
    line-height: 1.5;
}

/* Tecnoogias */
.section-overlap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.132);
}

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

.tech-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #222;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease, background 0.6s ease, box-shadow 0.6s ease;
    position: relative;
    overflow: hidden;
}

.tech-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--accent-color);
}

.tech-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.tech-card:hover i {
    transform: scale(1.2) rotate(-10deg);
    color: #fff;
}

.tech-card:hover h3 {
    color: #fff;
}

/* Efeito de brilho sutil no hover */
.tech-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.tech-card:hover::after {
    opacity: 1;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid #222;
    position: relative;
    height: 380px;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #555;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    padding: 2rem;
}

.project-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-overlay-content p {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-project {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: 1px solid var(--text-color);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
    border-radius: 4px;
    font-weight: 600;
}

.btn-project:hover {
    /* background: var(--text-color);
    color: var(--bg-color); */
    background-color: #fff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.project-card:hover {
    border-color: #555;
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}

.project-card:hover .project-img-placeholder {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

/* Seção de Contato */
.contact-section {
    padding: 100px 50px;
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.132);
}

.container-iniciar-geral {
    margin-bottom: 80px;
}

.container-iniciar {
    background: #000;
    color: white;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    border: 1px solid #444;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.container-iniciar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 155, 155, 0.237) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.text-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.iniciar-h2 {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
}

.iniciar-p {
    flex: 1;
    text-align: center;
    line-height: 1.6;
}

.button-iniciar {
    font-family: "Work Sans", sans-serif;
    border-radius: 40px;
    font-size: 1.2rem;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button-iniciar:hover {
    background-color: #fff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}


/* Footer */
.logo-lipe {
    padding-bottom: 15px;
}

footer {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

footer p {
    font-size: 0.8rem;
    color: #555;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

/* Responsividade */
@media (max-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-img {
        object-fit: cover;
        background-color: #000;
    }
    
    .section {
        padding: 5rem 0;
    }

    .about-me-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-me-section {
        margin-top: 0;
        padding-top: 5rem;
        background-color: var(--bg-color);
    }

    .intro-text {
        font-size: 1rem;
    }

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

    .skills-title {
        font-size: 1.3rem;
    }

    .tech-card {
        padding: 2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .project-card {
        height: 350px;
    }

    .project-overlay-content h3 {
        font-size: 1.5rem;
    }

    .project-overlay-content p {
        font-size: 0.85rem;
    }

    .text-card{
        text-align: center;
    }
    .btn-contact {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

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

    .logo {
        font-size: 1.2rem;
    }

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

    .about-me-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .skill-card {
        padding: 1.5rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .tech-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .project-info h3 {
        font-size: 1.2rem;
    }

    .project-info p {
        font-size: 0.8rem;
    }

    .btn-project {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }

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

    .project-card {
        height: 300px;
    }

    .project-overlay-content h3 {
        font-size: 1.3rem;
    }

    .project-overlay-content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .btn-project {
        padding: 0.7rem 1.2rem;
        font-size: 0.75rem;
    }

    .contact-section{
        margin: auto;
    }

    .text-card{
        align-items: center;
        text-align: center;
        justify-content: space-evenly;
    }

    .social-icons a {
        font-size: 1.2rem;
    }

    footer p {
        font-size: 0.7rem;
    }
}
