/* Componentes */
@import url('components/header.css');
@import url('components/hero.css');
@import url('components/sections.css');
@import url('components/services.css');
@import url('components/index-projects.css');
@import url('components/footer.css');
@import url('components/contact.css');

/* Páginas */
@import url('pages/projects.css');
@import url('pages/about.css');
@import url('pages/services.css');

:root {
    --primary-color: #5a8d64;
    --secondary-color: #445948;
    --tertiary-color: #3b3939;
    --light-gray: #e8e8e8;
    --gray-sobre: #a29f9f;
    --white: #FFFFFF;
    --gray: #f5f5f5;
    --gray-100: #f8f9fa;
    --dark-gray: #333333;
    --light-black: #222222;
    --hamburger-gray: #777777;
    --green-hover: #3f5c45;
    --brown-hover: #5e331a;
    --text-color: #333333;
    --text-color-light: #b6b2b2;

    --font-raleway: 'Raleway', Helvetica, Arial, sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-tangerine: 'Tangerine', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-tenor-sans: 'Tenor Sans', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
html {
    scroll-behavior: smooth;
    /* Previne overflow horizontal */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-inter);
    line-height: 1.6;
    color: var(--dark-gray);
    /* Optimize text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Previne overflow horizontal */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Removed GPU acceleration optimizations that were causing layout issues */

/* Garante que todos os containers principais não extravasem */
.about-container,
.services-container,
.projects-container,
.contact-container,
.nav-container,
.hero-content,
.contact-content {
    max-width: 100%;
    box-sizing: border-box;
}

.about-container,
.services-container,
.projects-container,
.contact-container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

body h2 {   
    font-size: 30px;
    text-transform: uppercase;
}

/* Mensagens de Feedback */
.message {
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes slideIn {
    from {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
} 