/* ==========================================
   RESET E VARIÁVEIS GLOBAIS
   ========================================== */

:root {
    --primary-bg: #161616;
    --primary-text: #FFFFFF;
    --accent-primary: #006437;
    --accent-secondary: #388E3C;
    --accent-gold: #EFC47D;
    --text-secondary: #CCCCCC;
    --border-color: #333333;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.85);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================
   CONTAINER
   ========================================== */

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

/* ==========================================
   NAVBAR
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

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

.hero-content {
    max-width: 800px;
    animation: slideUp 0.8s ease-out;
}

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

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 30px;
    animation: slideDown 0.8s ease-out;
}

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

.hero-title {
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--accent-primary);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-primary);
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 100, 55, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--accent-primary);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
    padding: 80px 20px;
    position: relative;
}

.section-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-gold);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
}

/* ==========================================
   SOBRE SECTION
   ========================================== */

.sobre {
    background-color: rgba(22, 22, 22, 0.5);
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.sobre-content p {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

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

.sobre-content strong {
    color: var(--accent-primary);
}

/* ==========================================
   ENTREGAS SECTION
   ========================================== */

.entregas {
    background-color: rgba(22, 22, 22, 0.3);
}

.entregas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.entrega-card {
    background-color: rgba(0, 100, 55, 0.1);
    border: 1px solid rgba(0, 100, 55, 0.3);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.entrega-card:hover {
    background-color: rgba(0, 100, 55, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 100, 55, 0.2);
}

.entrega-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.entrega-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-text);
}

.entrega-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */

.portfolio {
    background-color: rgba(22, 22, 22, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.portfolio-item {
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 100, 55, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    border-color: var(--accent-primary);
    background-color: rgba(0, 100, 55, 0.15);
    transform: scale(1.05);
}

.portfolio-logo {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.portfolio-item:hover .portfolio-logo img {
    filter: brightness(1.1);
}

.portfolio-cta {
    text-align: center;
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 600;
}

/* ==========================================
   CONTATO SECTION
   ========================================== */

.contato {
    background-color: rgba(22, 22, 22, 0.3);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-text);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-text);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: rgba(0, 100, 55, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 100, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 14px 32px;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 100, 55, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.form-status {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    min-height: 20px;
    animation: slideDown 0.3s ease-out;
}

.contato-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    background-color: rgba(0, 100, 55, 0.1);
    border: 1px solid rgba(0, 100, 55, 0.3);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background-color: rgba(0, 100, 55, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-text);
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.location-subtitle {
    font-size: 14px;
    color: #999999;
}

.info-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--accent-gold);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(22, 22, 22, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 60px 20px 40px;
    }

    .hero-logo {
        height: 80px;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .contato-info {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 20px;
    }
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
