/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0a;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-text {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-number {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #667eea;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 1px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.language-switcher {
    position: relative;
}

#languageButton {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#languageButton:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #1a1a1a;
    min-width: 180px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    top: 100%;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
    color: #fff;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-switcher:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.6)
    ), url('./fotobrunno.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Hero Info Corners */
.hero-info-left {
    position: absolute;
    top: 120px;
    left: 40px;
    z-index: 3;
    text-align: left;
    animation: fadeInUp 1s ease-out 0.9s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-info-right {
    position: absolute;
    top: 120px;
    right: 40px;
    z-index: 3;
    text-align: right;
    animation: fadeInUp 1s ease-out 1.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.hero-role {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

/* Main Hero Text */
.hero-main {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-greeting {
    font-size: clamp(6rem, 15vw, 20rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.8;
    margin-bottom: 1rem;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.8);
    animation: slideInFromTop 1.2s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-name-section {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-intro {
    font-size: clamp(3rem, 8vw, 12rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.8);
    animation: slideInFromLeft 1.5s ease-out 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 12rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.8);
    border: 4px solid #fff;
    padding: 0.2em 0.5em;
    border-radius: 0.1em;
    animation: slideInFromRight 1.5s ease-out 0.6s, glowPulse 3s ease-in-out 2s infinite;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Animações */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px) rotate(5deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg) scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        border-color: #fff;
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.6), 0 0 80px rgba(102, 126, 234, 0.4);
        border-color: #667eea;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Info */
.hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: end;
    animation: fadeInUp 1s ease-out 1.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-location-info {
    text-align: left;
}

.hero-location-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.hero-availability {
    text-align: right;
}

.hero-availability p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-indicator span:last-child {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeInUp 1s ease-out 1.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite 2.5s;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-arrow:hover {
    color: #667eea;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
.section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
}

.section-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
}

/* About Section */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.content-text {
    max-width: 700px;
}

.large-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
}

.regular-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.stats-container {
    display: grid;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

/* Work Section */
.work-content {
    max-width: 1000px;
}

.work-description {
    margin-bottom: 80px;
}

.work-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.process-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.process-item:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.process-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    text-align: center;
}

.contact-text {
    margin-bottom: 60px;
}

.cta-section {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 200px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Portfolio Section */
.portfolio-section {
    background: #0a0a0a;
    padding: 120px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.portfolio-item {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-image {
    height: 250px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-icon {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}

.portfolio-info {
    padding: 30px;
}

.portfolio-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.portfolio-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Portfolio Item Specific Colors */
.portfolio-item:nth-child(1) .portfolio-placeholder {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.portfolio-item:nth-child(2) .portfolio-placeholder {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.portfolio-item:nth-child(3) .portfolio-placeholder {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.portfolio-item:nth-child(4) .portfolio-placeholder {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
}

.portfolio-item:nth-child(5) .portfolio-placeholder {
    background: linear-gradient(45deg, #48dbfb, #0abde3);
}

.portfolio-item:nth-child(6) .portfolio-placeholder {
    background: linear-gradient(45deg, #1dd1a1, #10ac84);
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .brand-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #1a1a1a;
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-buttons button {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#acceptLanguage {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: #fff;
}

#acceptLanguage:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(72, 187, 120, 0.3);
}

#chooseLanguage {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
}

#chooseLanguage:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.lang-option {
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-option:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .hero-name-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-info-left, .hero-info-right {
        top: 100px;
        left: 20px;
        right: 20px;
    }
    
    .hero-info-right {
        top: 140px;
    }
    
    .hero-bottom {
        left: 20px;
        right: 20px;
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .hero-availability {
        text-align: left;
    }
    
    .status-indicator {
        justify-content: flex-start;
    }
    
    nav {
        padding: 1rem;
    }
    
    .nav-brand .brand-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .large-text {
        font-size: 1.2rem;
    }
    
    .work-process {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 60px;
    }
    
    .portfolio-item {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portfolio-item {
        max-width: 100%;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .portfolio-icon {
        font-size: 2.5rem;
    }
    
    .portfolio-info {
        padding: 20px;
    }
    
    .portfolio-name {
        font-size: 1.3rem;
    }
}

/* Scroll suave para as seções */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Ajuste do offset para o header fixo */
#about, #work, #projects {
    scroll-margin-top: 100px;
}

/* Animação de scroll personalizada */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: auto;
    }
} 