@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500&display=swap');

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

:root {
    --Fundo: #000000;
    --Cards: #1A1A1A;
    --Texto: #EDEDED;
    --Destaque: #0F3D2E; 
    --Hover: #18634a;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--Fundo);
    color: var(--Texto);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

nav {
    margin: 0 auto;
    padding: 2rem 4rem;
}

nav ul {
    display: flex;
    justify-content: space-between; /* ESSENCIAL */
    align-items: center;
    list-style: none;
    font-weight: 400;
    letter-spacing: 0.15em;
}

#cabecalho img {
    width: 70px;
    margin-left: 2rem;
}

#cabecalho {
    display: flex;
    justify-content: center;  
    margin: 1rem;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--Texto);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

a {
    text-decoration: none;
}

nav a {
    color: var(--Texto);
    text-decoration: none; 
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease; 
}

nav a:hover {
    border-bottom: 2px solid var(--Texto); 
}

p, li {
    font-family: "Inter";
    color: var(--Texto);
}

li {
    letter-spacing: 0.03em;
}

.hero {
    position: relative;
    background-image: url(../imagens/hero_image.jpg);
    height: 70vh;
    width: 90%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    margin-left: 5%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

#container-hero {
    position: relative;
    z-index: 1;
    display: flex;
    height: 90vh;
    flex-direction: column;
    justify-content: center;
    margin-left: 15%;
    width: 30%;
}

#container-hero p {
    font-size: 1.25rem;
    margin: 12px 0 24px 0;
}

button {
    background-color: var(--Destaque);
    color: var(--Texto);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 6px;
    width: 300px;
}

button:hover {
    background-color: var(--Hover);
    transform: translateY(-2px)
}

section#features {
    min-height: 80vh;
    margin-top: 20rem;
}

#container-cards {
    display: flex;
    flex-flow: row wrap; 
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
}

.container-img-card {
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
}

.card {
    background-color: var(--Cards);
    max-width: 400px;
    padding: 20px;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    margin: 0 auto;
    border-radius: 6px;
    transition: transform 0.4s ease;
}

.card img:hover {
    transform: scale(1.05);
}

.card h3, .card p {
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: 0.02em
}

.container-img-card {
    margin-bottom: 14px;
}

#title_history {
    text-align: left;
}

#historia {
    padding: 6rem 10%;
}

.container-historia {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.conteudo-historia {
    flex: 1;
}

.conteudo-historia h2 {
    margin-bottom: 1.5rem;
}

.conteudo-historia p {
    max-width: 500px;
    opacity: 0.9;
}

.imagem-historia {
    flex: 1;
    min-height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.imagem-historia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.4s ease;
}

.imagem-historia img:hover {
    transform: scale(1.05);
}

strong {
    font-weight: 800;
    letter-spacing: 0.05em;
}

#modelos {
    padding: 6rem 10%;
    text-align: center;
}

.section-title {
    margin-bottom: 3rem;
}

.modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.modelo-card {
    background-color: var(--Cards);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modelo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modelo-card img:hover {
    transform: scale(1.05);
}

.modelo-card h3 {
    margin: 1rem 0 0.5rem;
}

.modelo-card p {
    padding-bottom: 1.5rem;
    opacity: 0.85;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: transform .4s ease-out,opacity .8s ease-out;
}

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

.reveal_text {
    color: var(--Cards);
    transition: color .8s ease-out;
}

.reveal_text.active_text {
    color: var(--Texto);
}

#galeria {
    padding: 6rem 10%;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.galeria-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.galeria-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--Texto);
}

footer {
    background-color: var(--Cards);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 4rem;
    font-size: 0.9rem;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    nav ul {
        gap: 1.5rem;
        margin-right: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    #container-hero {
        margin-left: 5%;
        width: 90%;
        text-align: center;
    }

    button {
        width: 200px;
        margin: 0 auto;
    }

    .container-historia {
        flex-direction: column;
        text-align: center;
    }

    .conteudo-historia p {
        margin: 0 auto 1rem;
    }

    .imagem-historia img {
        width: 100%;
    }

    nav ul {
    position: absolute;
    top: 80px;
    left: 0;
    background-color: var(--Fundo);
    flex-direction: column;
    align-items: baseline;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    padding-left: 0px;
    transition: max-height 0.4s ease;
    z-index: 2000;
    padding-left: 30px;
    }

    nav ul.active {
        max-height: 300px;
    }

    nav li {
        margin-bottom: 10px;
    }

    .hamburger {
        position: absolute;
        display: flex;
        margin-right: 2rem;
        top: 25px;
        left: 20px;
    }

    #container-hero {
        margin-left: 5%;
        width: 90%;
        text-align: center;
    }

    #cabecalho img {
        margin-left: 0;
}
}