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

@font-face {
    font-family: 'Tropikal';
    src: url('font/Tropikal-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Tropikal', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: bold;
    background: #f8f9fa;
}

/* GLASS */
.glass {
    background: #293a58;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

/* CABECALHO */
header {
    position: relative;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 2500px;
    z-index: 1000;
    padding: 5px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NAVEGACAO */

.navegacao{
    justify-content: center;
    text-align: center;
    justify-items: center;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.access {
    background-color: rgba(255, 255, 255, 0.151);
    cursor: pointer;
    border-radius: 12px;
}

nav a {
    display: block;
    padding: 12px 24px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.082);
    transform: translateY(-2px);
}

/* DROPDOWN COM CLIQUE */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: block;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 14px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 350px;
    justify-content: center;
    background: rgba(41, 58, 88, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
    pointer-events: none;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 28px;
    color: #ffba89;
}
/* CONTEUDO */
main {
    padding: 140px 20px 40px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
    padding: 80px 0;
}

.text-panel {
    background: rgba(41, 58, 88, 0.85);
    backdrop-filter: blur(12px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    height: fit-content;
    position: sticky;
    top: 50px;
    max-width: 600px;
}

.text-panel h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #ffcda9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.4rem;
    color: #ffba89;
    margin-bottom: 24px;
    font-weight: 600;
    opacity: 0.9;
}

.project-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

/* PAINEL GALERIA */
.gallery-panel {
    display: flex;
    justify-content: flex-end;
}

.gallery {
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(8, 80px);
    gap: 18px;
    padding: 0;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ITENS GALERIA */
.gallery-item.large-vertical {
    grid-column: span 10;
    grid-row: span 6;
}

.gallery-item.wide-horizontal {
    grid-column: span 10;
    grid-row: span 5;
}

.gallery-item.standard {
    grid-column: span 5;
    grid-row: span 10;
}

.gallery-item.tall {
    grid-column: span 5;
    grid-row: span 5;
}

.gallery-item.compact {
    grid-column: span 5;
    grid-row: span 8;
}

.gallery-item.small {
    grid-column: span 5;
    grid-row: span 18;
}

.intro-text{
    color: white;
    font-size: 20px;
}

.contact{
    padding: 30px 0px;
    color: white;
    font-size: 18px;
}

.email{
    background-color: rgba(255, 255, 255, 0.11);
    padding: 14px;
    border-radius: 20px;
    font-size: 22px;
    color: white;
    
}


/* RESPONSIVE */

/* Tablet */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .text-panel {
        position: static;
        max-width: 100%;
        padding: 40px 30px;
    }

    .gallery-panel {
        justify-content: center;
    }

    .gallery {
        grid-template-columns: repeat(8, 1fr);
        max-width: 700px;
    }

    .gallery-item.wide-horizontal {
        grid-column: span 8;
    }
}

/* Mobile */
@media (max-width: 768px) {
    header {
        top: 10px;
        width: calc(100% - 20px);
        padding: 15px 20px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 100px 20px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    nav a {
        width: 100%;
        text-align: center;
        color: white;
    }

    .main-layout {
        padding: 60px 0;
    }

    .text-panel {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .text-panel h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(15, 100px);
        gap: 12px;
        max-width: 100%;
    }

    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 3 !important;
    }

    .gallery-item.wide-horizontal {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
    }
}