/* Reset e configurações básicas */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header */


/* Estado inicial: logo e nome centralizados, menu abaixo */

.header.start .nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.header.start .logo {
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
}

.header.start .nav-menu {
    justify-content: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.2;
}

.cube-logo {
    width: 40px;
    height: 40px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 8s infinite linear;
}

.cube-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 8px;
    opacity: 0.8;
}

.cube-logo::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border: 2px solid #00ffff;
    border-radius: 6px;
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #8ae8f7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #00ffff;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}


/* Hero Section */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    opacity: 0.9;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, transparent 45%, rgba(0, 255, 255, 0.1) 50%, transparent 55%), linear-gradient(-45deg, transparent 45%, rgba(255, 0, 255, 0.1) 50%, transparent 55%);
    background-size: 100px 100px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 30px;
}

.highlight {
    background: linear-gradient(45deg, #00f0ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #00ffff;
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #000000;
}

.cta-button:hover::before {
    left: 0;
}

.geometric-shape {
    width: 300px;
    height: 300px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.geometric-shape::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid #00ffff;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent);
}

.geometric-shape::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 150px;
    height: 150px;
    border: 2px solid #ff00ff;
    background: rgba(255, 0, 255, 0.1);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}


/* About Section */

.about {
    padding: 100px 0;
    background: #111111;
}

.about-content {
    display: grid;
    gap: 50px;
}

.profile-section {
    display: flex;
    gap: 40px;
    align-items: center;
}

.profile-image {
    flex-shrink: 0;
}

.cube-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cube-logo-large::after {
    content: '';
    width: 60px;
    height: 60px;
    border: 3px solid #ffffff;
    border-radius: 8px;
    background: transparent;
}

.profile-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.bio h3 {
    color: #00ffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skills-overview {
    background: rgba(0, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #00ffff;
}

.skills-overview h3 {
    color: #00ffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}


/* Projects Section */

.projects {
    padding: 100px 0;
    background: #0a0a0a;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #00ffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background: #1a1a1a;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    transition: left 0.3s ease;
}

.project-card:hover::before {
    left: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.project-visual {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.geometric-icon {
    width: 100%;
    height: 100%;
    border: 3px solid #00ffff;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.geometric-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 40px;
    height: 40px;
    border: 2px solid #ff00ff;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.project-card h3 {
    margin-bottom: 10px;
    color: #ffffff;
    position: relative;
}

.project-card p {
    color: #cccccc;
    position: relative;
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.featured-project {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.featured-project:hover {
    transform: scale(1.05);
}

.featured-project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h4 {
    color: #00ffff;
    margin-bottom: 10px;
}


/* Skills Section */

.skills {
    padding: 100px 0;
    background: #0b0b0b;
}

.skills h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #00ffff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.skill-item {
    text-align: center;
}

.skill-bar {
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    border-radius: 50px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.skill-progress {
    width: 100%;
    background: linear-gradient(to top, #00ffff, #ff00ff);
    border-radius: 50px;
    position: absolute;
    bottom: 0;
    transition: height 2s ease;
    height: 0;
}

.skill-item h3 {
    font-size: 1.1rem;
    color: #ffffff;
}


/* Contact Section */

.contact {
    padding: 100px 0;
    background: #0a0a0a;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #00ffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 30px;
    color: #cccccc;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-links a {
    color: #00ffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-links a:hover {
    color: #ff00ff;
}

.contact-links p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: normal;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    background: #1a1a1a;
    border: 2px solid #333333;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00ffff;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border: none;
    color: #000000;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-form button:hover {
    opacity: 0.9;
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Animação de sucesso do formulário */

.contact-form.form-success {
    animation: formSuccess 0.6s ease;
}

@keyframes formSuccess {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}


/* Footer */

.footer {
    background: #000000;
    padding: 40px 0;
    border-top: 1px solid #333333;
}

.footer-content {
    display: flex;
    justify-content: start;
    align-items: space-around;
}

.footer .logo {
    font-size: 0.8rem;
}

.footer p {
    color: #888888;
    align-items: self-end;
    padding-left: 225px;
    padding-top: 20px;
}


/* ============================================ */


/* ESTILOS PARA NOTIFICAÇÕES DO EMAILJS */


/* ============================================ */

.form-notification {
    position: fixed;
    top: -100px;
    right: 20px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: top 0.3s ease;
    border-left: 4px solid #00ffff;
}

.form-notification.show {
    top: 20px;
}

.form-notification.notification-exit {
    top: -100px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.notification-success {
    border-left-color: #00ff88;
}

.notification-success .notification-icon {
    color: #00ff88;
}

.notification-error {
    border-left-color: #ff4444;
}

.notification-error .notification-icon {
    color: #ff4444;
}

.notification-info {
    border-left-color: #00ffff;
}

.notification-info .notification-icon {
    color: #00ffff;
}

.notification-close {
    background: transparent;
    border: none;
    color: #888888;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #ffffff;
}


/* Animação de confete */

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.confetti {
    pointer-events: none;
}


/* Responsive Design */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }
    .nav-menu.active {
        left: 0;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .geometric-shape {
        width: 200px;
        height: 200px;
    }
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer p {
        padding-left: 0;
        padding-top: 0;
    }
    /* Notificações em mobile */
    .form-notification {
        left: 10px;
        right: 10px;
        min-width: auto;
    }
    .form-notification.show {
        top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-projects {
        grid-template-columns: 1fr;
    }
}

.logo-text {
    font-size: 50px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    color: #00ffff;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #00ffff;
    }
    to {
        text-shadow: 0 0 20px #7ed1eb;
        color: #00f0ff;
    }
}