@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-brown: #8c4a00;
    --accent-teal: #6fb09e;
    --footer-bg: #6fb09e;
    --terra-brown: #a66d3b; /* Color for the form box */
    --bg-light: #fefcf9;
    --text-dark: #2c2c2c;
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text, .nav-links li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
}

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

.container-fluid {
    width: 100%;
}

/* Navbar */
#navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0.6;
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(0,0,0,0.05);
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--accent-teal);
    background: rgba(111, 176, 158, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-brown);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--accent-teal);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary-brown);
    margin: 3px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
}

.carousel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-carousel img, .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s infinite alternate linear;
    transform-origin: center center;
}

@keyframes zoomIn {
    0% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 0;
    background: white;
}

.about-split {
    display: flex;
    min-height: 80vh; /* Reduced height for better flow */
}

.about-text-container {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.about-header h1 {
    font-size: 2.8rem;
    color: var(--primary-brown); /* Revertido para marrom */
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px; /* Espaçamento reduzido */
}

.about-section-icon, .work-section-icon {
    font-size: 2.5rem; /* Slightly smaller for elegance */
    color: var(--primary-brown); /* Revertido para marrom */
    margin-bottom: 5px;
    display: block;
}

.about-body {
    max-width: 500px;
    margin: 0 auto;
}

.about-body p {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--footer-bg); /* Verde tom do rodapé solicitado */
}

.about-body p.emphasized {
    color: var(--footer-bg); /* Changed to green */
}

.about-image-full {
    flex: 1;
}

.about-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title-centered {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Our Work Section (Fidelity to Screenshot 229) */
.work {
    padding: 100px 0;
    background: #fdfdfd;
}

.work .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Separator icon was replaced by bi-truck */

.work h2 {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 0px; /* Reduced to bring subtitle closer */
    letter-spacing: 1px; /* Espaçamento reduzido */
}

.work-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem; /* Increased from 1.1rem */
    color: var(--primary-brown);
    font-style: italic;
    margin-top: -10px; /* Aproxima do título */
    margin-bottom: 40px;
    line-height: 1.2; /* Tighter line height between title and subtitle */
}

.work-content {
    max-width: 900px;
    margin: 0 auto;
}

.work-content p {
    font-size: 1.05rem;
    color: #6a9; /* Soft tealish gray from print */
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Creations Section */
.creations {
    padding: 80px 0 0 0;
    background: white;
    text-align: center;
}

.creations .section-title {
    font-size: 2.22rem;
    color: var(--primary-brown);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px; /* Espaçamento reduzido */
}

.creations-gallery {
    display: flex;
    width: 100%;
}

.gallery-item {
    flex: 1;
    position: relative;
    height: 70vh;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-image {
    flex: 7;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-banner {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
}

/* Alternating colors for banners matching footer teal and a lighter sage-green */
.gallery-banner.b1, .gallery-banner.b3 { background-color: #8cc4b0; } /* Lighter sage */
.gallery-banner.b2, .gallery-banner.b4 { background-color: #6fb09e; } /* Footer Teal */

.gallery-banner span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.btn-view-more {
    margin-top: 15px;
    background: rgba(255,255,255,0.3);
    border: 1px solid white;
    color: white;
    padding: 10px 25px;
    cursor: pointer;
    font-size: 0.7rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-view-more:hover {
    background: white;
    color: var(--accent-teal);
}

/* Footer & Contact Reconstruction */
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 40px 0;
}

.footer .container {
    max-width: 1000px;
}

.footer-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-brown); /* Cor padronizada */
}

.footer-header h2 {
    font-size: 2.5rem;
    letter-spacing: 1px; /* Espaçamento reduzido de 4px para 1px */
}

.footer-content-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 120px; /* Increased gap for better balance */
    margin-bottom: 50px;
}

.footer-contact-info {
    flex: 1;
}

.info-block {
    margin-bottom: 30px;
}

.info-block p.brand {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2px;
    line-height: 1.2;
}

.info-block p.tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact-info p {
    font-size: 0.9rem;
    margin-bottom: 2px;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
}

.footer-logo-circular {
    margin-top: 30px;
    width: 200px;
}

.footer-logo-circular img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.footer-form-wrapper {
    flex: 1.2;
}

.brown-form {
    background-color: var(--terra-brown);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.brown-form .input-row {
    display: flex;
    gap: 30px;
}

.brown-form input, .brown-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.7);
    color: white;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    width: 100%;
}

.brown-form input::placeholder, .brown-form textarea::placeholder {
    color: rgba(255,255,255,0.8);
}

.brown-form .btn-send {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 12px 60px;
    align-self: flex-start;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition);
    margin-top: 10px;
}

.brown-form .btn-send:hover {
    background: white;
    color: var(--terra-brown);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons img {
    width: 20px;
    height: 20px;
}

/* Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animations Classes */
.animate-fade-in {
    opacity: 0;
    animation: fade-in 2s forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-up 1.5s 0.5s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white; /* Ensure solid background for legibility */
    max-width: 500px;
    width: 90%;
    position: relative;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-content h2 {
    font-size: 1.8rem;
    color: var(--primary-brown);
    margin-bottom: 20px;
}

.modal-content p {
    color: #444;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-brown);
}

/* Feedback Modal Styles */
.feedback-content {
    text-align: center;
    padding: 20px 0;
}

.feedback-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feedback-icon.success {
    color: var(--accent-teal);
}

.feedback-icon.error {
    color: #d9534f;
}

.feedback-content h2 {
    margin-bottom: 15px;
    color: var(--primary-brown);
}

.feedback-content p {
    margin-bottom: 30px;
    color: #666;
}

.btn-close-modal {
    background: transparent;
    border: 1px solid var(--primary-brown);
    color: var(--primary-brown);
    padding: 10px 40px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background: var(--primary-brown);
    color: white;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .about-split {
        flex-direction: column;
    }
    .about-image-full {
        height: 50vh;
    }
    .creations-gallery {
        flex-wrap: wrap;
    }
    .gallery-item {
        flex: 0 0 50%;
        height: 40vh;
    }
}
@media (max-width: 768px) {
    .navbar-wrapper {
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .logo {
        max-width: 140px;
    }
    .menu-toggle {
        display: flex;
        z-index: 1001;
        margin-left: auto; /* Correctly pushes to the far right */
    }
    nav {
        display: block; /* Ensure container is visible to show active links */
        width: 0; /* Keeps it from taking space in the flex header */
        margin: 0;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 100px 20px;
        z-index: 1000;
        justify-content: flex-start;
        align-items: center;
    }
    .nav-links.active {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }
    .nav-links li {
        margin: 20px 0 !important;
        width: 100%;
        text-align: center;
        opacity: 1;
        visibility: visible;
    }
    .nav-links a {
        font-size: 1.5rem !important;
        color: var(--primary-brown) !important;
        display: block;
        width: 100%;
    }
    .hero {
        height: 40vh; /* Altura reduzida conforme solicitado */
        min-height: 300px;
        overflow: hidden;
        background: black; /* Fundo preto para evitar cinza se algo falhar */
    }
    .carousel, .carousel-item {
        width: 100%;
        height: 100%;
    }
    .carousel-item img {
        transform: scale(2.2); /* Zoom bem maior conforme solicitado */
        object-fit: cover;
        width: 100%;
        height: 100%;
        object-position: center center;
    }
    .hero-content {
        margin-top: 80px; /* Desloca o conteúdo para baixo */
    }
    .hero-logo {
        max-width: 180px;
        margin-bottom: 20px;
    }
    .hero-content h2 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    .gallery-item {
        flex: 0 0 100%;
        height: 50vh;
    }
    .footer-content-grid {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
        padding: 0 40px;
    }
    .footer-contact-info {
        text-align: left;
    }
    .footer-logo-circular {
        margin: 15px 0 0 0;
    }
    .footer-logo img {
        height: 150px;
        margin-bottom: 30px;
    }
    .brown-form {
        padding: 30px 20px !important;
        width: 100%;
    }
    .brown-form .input-row {
        flex-direction: column;
        gap: 20px;
    }
    .brown-form .btn-send {
        width: 100%;
        align-self: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
