/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1B1B23;
}

/* Variáveis de Cores */
:root {
    --primary-color: #F3BC03;
    --background-color: #1B1B23;
    --text-color: #FFFFFF;
    --scrollbar-track: #151520;
}

/* Estilos da Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-color);
}

/* Header */
header {
    background-color: var(--background-color);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    max-width: 200px;
    width: 100%;
}

.studio-text {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

/* Navegação */
.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.menu-button {
    display: none;
    color: var(--text-color);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Seção Principal */
.principal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.principal-content {
    text-align: center;
    max-width: 860px;
    position: relative;
}

.principal-title,
.principal-subtitle {
    color: var(--text-color);
    font-size: 3rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    font-weight: 400;
}

.highlight {
    color: var(--primary-color);
}

.principal-text {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-weight: 300;
    padding: 1rem 0 0.6rem;
}

/* Botão CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.4rem 0.4rem 0.4rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.cta-button:hover {
    background-color: var(--primary-color);
}

.cta-button i {
    background-color: var(--background-color);
    padding: 10px;
    color: var(--primary-color);
    border-radius: 50px;
}

/* Seção Sobre */
.sobre-section {
    color: var(--text-color);
    padding: 16rem 1rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

.sobre-menu-scroll {
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 2rem;
    cursor: grab;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.sobre-menu-scroll::-webkit-scrollbar {
    display: none;
}

.sobre-menu-container {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    min-width: max-content;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-menu-item {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    white-space: nowrap;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    border-radius: 50px;
}

.sobre-menu-item.active {
    background-color: var(--primary-color);
    color: black;
}

.sobre-content-container {
    max-width: 960px;
    min-height: 340px;
    margin: 0 auto;
    line-height: 1.6;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    font-weight: 300;
    font-size: 1.1rem;
}

.sobre-content-item {
    display: none;
}

.sobre-content-item.active {
    display: block;
}

/* Seção Portfolio */
.portfolio-section {
    color: var(--text-color);
    padding: 10rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

.portfolio-menu-scroll {
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 2rem;
    cursor: grab;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.portfolio-menu-scroll::-webkit-scrollbar {
    display: none;
}

.portfolio-menu-container {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    min-width: max-content;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.portfolio-menu-item {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    white-space: nowrap;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    border-radius: 50px;
}

.portfolio-menu-item.active {
    background-color: var(--primary-color);
    color: black;
}

.portfolio-content-container {
    margin: 0 auto;
    line-height: 1.6;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    max-width: 1360px;
}

.portfolio-content-item {
    display: none;
}

.portfolio-content-item.active {
    display: block;
}

/* Galeria */
.gallery-container {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
}

/* Media Queries */
@media (max-width: 960px) {
    .principal-title,
    .principal-subtitle {
        font-size: 2.4rem;
    }
    
    .principal-text {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-top: 1rem;
    }
}

@media (max-width: 768px) {
    .principal {
        padding: 1rem 1rem 1rem;
    }

    .menu-button {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        background-color: var(--background-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .principal-title,
    .principal-subtitle {
        font-size: 1.8rem;
    }

    .principal-text {
        font-size: 1rem;
    }

    .sobre-section {
        padding: 8rem 1rem 6rem;
    }

    .sobre-content-container {
        min-height: 360px;
        font-size: 1rem;
    }

    .sobre-menu-item, .portfolio-menu-item {
        font-size:1rem;
    }

    .portfolio-section {
        padding: 8rem 0 2rem;
    }
}

@media (max-width: 560px) {
    .principal-title,
    .principal-subtitle {
        font-size: 1.4rem;
    }

    .principal-text {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.4rem 0.4rem 0.4rem 1.2rem;
    }
}

@media (max-width: 530px) {
    .logo-container img {
        max-width: 140px;
    }
    
    .studio-text {
        font-size: 1rem;
        margin-left: 0;
    }
}

@media (max-width: 420px) {
    .logo-container img {
        max-width: 100px;
    }
    .principal-title,
    .principal-subtitle {
        font-size: 1.2rem;
    }

    .principal-text {
        font-size: 1rem;
        padding-top:1rem;
    }
}

@media (min-width: 720px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 960px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}