:root {
    --primary-color: #0d30ad;
    --secondary-color: #3232ea;
    --background-color: #121212;
    --text-color: #ffffff;
    --card-background: #1e1e1e;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

main {
    padding-top: 60px;
    /* Compensa a altura do header fixo */
}

section {
    padding: 4rem 2rem;
    text-align: center;
}

footer {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--card-background);
}


header {
    background-color: var(--background-color);
    padding: 0rem 0rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Botão (CTA) */
.cta-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* Card (Base) - Usado em Serviços e Loja */
.card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    width: 300px;

    /* Animação */
    opacity: 0;
    transform: translateY(20px);

    /* Organização: Combinei todas as transições
    */
    transition: opacity 1.5s ease-out,
        transform 1.5s ease-out,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Seção Hero */
#hero {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('images/Logo.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Seção de Serviços */
.service-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Seção de Contato */
#contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

#contact input,
#contact textarea {
    padding: 0.8rem;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    background-color: var(--card-background);
    color: var(--text-color);
}


/* Loja */

#loja {
    padding-top: 4rem;
    padding-bottom: 4rem;
    text-align: center;
}

#loja h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#loja p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #ccc;
}

/* Componentes Específicos da Loja */
.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 1.5rem;
}

.product-price {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 1rem 0;
}

/* Modificador do Card para a Loja */
.product-grid .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Modificador do Botão para a Loja */
.product-button {
    width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
}


/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

}