/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00ff00;
    --dark-green: #00cc00;
    --light-green: #33ff33;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--dark-gray);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 255, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h1 {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: bold;
    display: none; /* Oculto por padrão, logo tem prioridade */
}

/* Mostrar texto apenas se imagem falhar ou em telas muito pequenas */
@media (max-width: 480px) {
    .logo h1 {
        display: block;
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 35px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    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-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 0, 0.05) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(0, 255, 0, 0.05) 50%, transparent 100%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-logo-img {
    max-height: 120px;
    width: auto;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-green);
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Sobre Section */
.sobre {
    background-color: var(--dark-gray);
}

.sobre-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-gray);
}

.sobre-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
    border-color: var(--primary-green);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--light-gray);
}

/* Portfolio Section */
.portfolio {
    background-color: var(--black);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background-color: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
    border-color: var(--primary-green);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray) 0%, var(--dark-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    font-size: 4rem;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.portfolio-info p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--gray);
    color: var(--primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-green);
}

/* Areas Section */
.areas {
    background-color: var(--dark-gray);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-card {
    background-color: var(--gray);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
    border-color: var(--primary-green);
}

.area-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.area-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.area-card p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.area-list {
    list-style: none;
    padding-left: 0;
}

.area-list li {
    color: var(--white);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.area-list li::before {
    content: '✓ ';
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Contato Section */
.contato {
    background-color: var(--black);
}

.contato-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.1);
}

.info-icon {
    font-size: 2rem;
}

.info-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--light-gray);
}

.whatsapp-link {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-link:hover {
    color: #25D366;
    text-decoration: underline;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
    color: #25D366;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--dark-gray);
    border: 2px solid var(--gray);
    border-radius: 5px;
    color: var(--white);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contato-form .btn-primary {
    width: 100%;
    cursor: pointer;
    border: 2px solid var(--primary-green);
}

.contato-form .btn-primary:disabled {
    cursor: not-allowed;
}

/* Notificações */
.notificacao {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--dark-gray);
    border: 2px solid var(--gray);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    max-width: 400px;
    transform: translateX(calc(100% + 20px));
    opacity: 0;
    transition: all 0.3s ease;
}

.notificacao.ativa {
    transform: translateX(0);
    opacity: 1;
}

.notificacao-success {
    border-color: var(--primary-green);
}

.notificacao-error {
    border-color: #ff4444;
}

.notificacao-icone {
    font-size: 1.5rem;
}

.notificacao-texto {
    flex: 1;
    color: var(--light-gray);
    font-size: 0.95rem;
}

.notificacao-fechar {
    background: transparent;
    border: none;
    color: var(--light-gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.notificacao-fechar:hover {
    color: var(--white);
}

@media (max-width: 480px) {
    .notificacao {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid var(--primary-green);
}

.footer p {
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-gray);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-logo-img {
        max-height: 80px;
    }
    
    .logo-img {
        height: 35px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .contato-content {
        grid-template-columns: 1fr;
    }
}

/* Banner Ano Novo 2026 */
.new-year-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: 3px solid var(--primary-green);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.new-year-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.new-year-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.new-year-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.new-year-title {
    font-size: 2rem;
    background: linear-gradient(90deg, var(--primary-green), #ffd700, var(--primary-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-year-message {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.new-year-message .highlight {
    color: var(--primary-green);
    font-weight: bold;
}

.new-year-submessage {
    font-size: 0.95rem;
    color: #a0a0a0;
    font-style: italic;
}

.fireworks {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.sparkle {
    font-size: 1.5rem;
    animation: twinkle 1.5s ease-in-out infinite;
}

.sparkle:nth-child(2) {
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.close-banner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--light-gray);
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-banner:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-50%) rotate(90deg);
}

@media (max-width: 768px) {
    .new-year-banner {
        padding: 1rem 0;
    }
    
    .new-year-title {
        font-size: 1.5rem;
    }
    
    .new-year-message {
        font-size: 0.95rem;
    }
    
    .new-year-submessage {
        font-size: 0.85rem;
    }
    
    .close-banner {
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        max-height: 60px;
    }
    
    .logo-img {
        height: 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }
}
