/* ---- Configurações Gerais e Variáveis ---- */
:root {
    --purple-dark: #3c1e5a;
    --purple-light: #4c2872;
    --gold: #e4a83a;
    --white: #ffffff;
    --off-white: #f4f4f4;
    --dark-bg: #121212;

    --font-logo: 'Poppins', sans-serif;
    --font-title: 'Great Vibes', cursive;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---- Barra de Navegação (Header) ---- */
.navbar {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar nav a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: var(--gold);
}

/* ---- Seção Principal do Produto ---- */
main {
    padding-top: 80px;
    /* Espaço para a navbar fixa */
}

.product-showcase {
    background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
    padding: 4rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.product-showcase .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.product-info {
    flex-basis: 45%;
    max-width: 500px;
    text-align: left;
    animation: slideInLeft 1s ease-out;
}

.brand-name {
    font-family: var(--font-logo);
    font-weight: 900;
    color: var(--gold);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-name {
    font-family: var(--font-title);
    font-size: 6rem;
    color: var(--white);
    line-height: 1;
    margin: 0.5rem 0;
    font-weight: normal;
}

.product-description {
    font-size: 1.1rem;
    color: var(--off-white);
    max-width: 350px;
    margin-bottom: 1.5rem;
}

.price {
    background-color: var(--gold);
    color: var(--purple-dark);
    padding: 0.8rem 1.5rem;
    font-size: 2.2rem;
    font-weight: 900;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.price:hover {
    transform: rotate(0deg) scale(1.05);
}

.buy-button {
    display: block;
    width: 200px;
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.8rem 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.buy-button:hover {
    background-color: var(--gold);
    color: var(--purple-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(228, 168, 58, 0.4);
}


.product-image {
    flex-basis: 45%;
    max-width: 500px;
    animation: fadeIn 1.5s ease-out;
    transform: translateX(50px);
}

.product-image img {
    width: 250px;
    /* Defina uma largura */
    height: 250px;
    /* Defina uma altura igual à largura */
    border-radius: 50%;
    /* Cria o formato circular */
    object-fit: cover;
    /* Garante que a imagem cubra o círculo */
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.product-image img:hover {
    transform: scale(1.03);
}

/* ---- Rodapé ---- */
.footer {
    background-color: var(--dark-bg);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Animações e Responsividade ---- */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Para telas menores (celulares) */
@media (max-width: 768px) {
    .product-showcase .container {
        flex-direction: column;
        text-align: center;
    }

    .product-info {
        text-align: center;
        order: 2;
        /* Coloca o texto depois da imagem */
    }

    .product-image {
        order: 1;
        /* Coloca a imagem antes do texto */
        margin-bottom: 2rem;
    }

    .product-name {
        font-size: 4rem;
    }

    .product-description {
        margin-left: auto;
        margin-right: auto;
    }

    .buy-button {
        margin: 0 auto;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
}