@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:wght@400;700&display=swap');

/* 
  FONTES:
  - Títulos: 'Anton', sans-serif
  - Corpo: 'Montserrat', sans-serif

  CORES:
  - Fundo: #121212
  - Texto principal: #EAEAEA
  - Destaque: #FFFFFF 
*/

:root{
    --paleta-rosa: #d30f92;
    --paleta-roxo-100: #7d0956;
    --paleta-roxo-200: #3d072b;
}

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

::selection{
    background-color: #EAEAEA;
    color: var(--paleta-roxo-200);
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Fundo preto com textura sutil de couro escuro */
    background-color: #000000; /* Preto puro */
    background-image: url('https://www.transparenttextures.com/patterns/dark-leather.png');
    color: #EAEAEA;
    overflow-x: hidden;
}

a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--paleta-rosa);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-bottom: 1px solid #333;
}

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    /* border-radius: 50%; */
    margin-right: 5px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header nav a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

main {
    padding: 4rem 5%;
}

#hero {
    text-align: center;
    margin-bottom: 6rem;
}

#hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: 6vw; /* Tamanho fluido com base na largura da tela */
    line-height: 1.1;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

#hero h1 strong {
    color: var(--paleta-rosa);
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.grid-item {
    border: 1px solid #333;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: background-color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
}

.grid-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.grid-item:hover {
    background-color: #1a1a1a;
    transform: translateY(-5px);
}

.grid-item h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--paleta-rosa);
}

/* Estilos das novas seções */
section {
    margin-bottom: 8rem;
}

.section-title {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Seção CTA */
#cta {
    background-color: var(--paleta-roxo-100);
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--paleta-roxo-100);
    border-bottom: 1px solid var(--paleta-roxo-100);
    margin-left: -5%;
    margin-right: -5%;
    width: calc(100% + 10%);
}

#cta h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #121212;
    padding: 0.8rem 2.5rem;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 2px solid #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--paleta-roxo-200);
    color: #fff;
}

/* Seção Sobre */
#about .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

#about .about-text h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

#about .about-text p {
    line-height: 1.8;
    font-size: 1.1rem;
}

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

/* Seção Portfólio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

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

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.portfolio-info span {
    color: #ccc;
    font-size: 0.9rem;
}

/* Seção Contato */
#contact {
    text-align: center;
}

#contact p {
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    background-color: #1f1f1f;
    border: 1px solid #333;
    color: #EAEAEA;
    padding: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #888;
}

.contact-form button {
    background-color: #fff;
    color: #121212;
    border: none;
    padding: 1rem;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-form button:hover {
    background-color: #ccc;
}


/* Rodapé Atualizado */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    margin-top: 4rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #888;
    font-size: 1.5rem; /* Aumenta o tamanho do ícone */
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--paleta-rosa);
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 5%;
    }

    #hero h1 {
        font-size: 12vw;
    }

    .section-title {
        font-size: 2.5rem;
    }

    #about .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
    }
}
