/* Importação das fontes Gotham */
@font-face {
    font-family: 'Gotham-Black';
    src: url('images/fonts/GOTHAM-BLACK.TTF') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-Medium';
    src: url('images/fonts/GOTHAM-MEDIUM.TTF') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
}

/* Header e Logo */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 0 20px;
    position: relative;
    background-color: #000000;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.logo video {
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

/* Flecha para baixo */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-right: 2px solid #ff3232;
    border-bottom: 2px solid #ff3232;
    transform: translateX(-50%) rotate(45deg);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) rotate(45deg) translateY(0);
    }
    40% {
        transform: translateX(-50%) rotate(45deg) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) rotate(45deg) translateY(-5px);
    }
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: #ffffff;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff3232, #ff6b6b);
    border-radius: 2px;
}

/* Grid de Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin-bottom: 0;
}

.project-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

/* Padrões de fundo diferentes para cada card */
.project-card:nth-child(1) .project-image {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23333"/></svg>');
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(45deg, #1a1a1a 0%, #2d2d2d 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(225deg, #1a1a1a 0%, #2d2d2d 100%);
}

.project-card:nth-child(4) .project-image {
    background: linear-gradient(315deg, #1a1a1a 0%, #2d2d2d 100%);
}

.project-card:nth-child(5) .project-image {
    background: radial-gradient(circle at center, #2d2d2d 0%, #1a1a1a 100%);
}

.project-card:nth-child(6) .project-image {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
}

.project-card:nth-child(7) .project-image {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
}

.project-card:nth-child(8) .project-image {
    background: linear-gradient(270deg, #1a1a1a 0%, #2d2d2d 100%);
}

.project-card:nth-child(9) .project-image {
    background: conic-gradient(from 0deg, #1a1a1a, #2d2d2d, #1a1a1a);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: background 0.3s ease;
}

.project-card:hover .project-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.project-content {
    width: 100%;
}

.client-name {
    font-size: 0.8rem;
    font-family: 'Gotham-Medium', sans-serif;
    font-weight: 500;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.project-title {
    font-size: 1.5rem;
    font-family: 'Gotham-Black', sans-serif;
    font-weight: 900;
    color: #ff3232;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: #ff6b6b;
}

.project-button {
    display: inline-block;
    padding: 10px 20px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid #000000;
}

.project-button:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Navegação */
.navigation {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.nav-button {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    border-color: #ff3232;
    background: rgba(255, 68, 68, 0.1);
    transform: scale(1.1);
}

.nav-button:active {
    transform: scale(0.95);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }
    
    .header {
        min-height: 100vh;
        padding: 0 15px;
    }
    
    .logo {
        margin-bottom: 40px;
    }
    
    .logo video {
        max-width: 280px;
    }
    
    .scroll-arrow {
        width: 25px;
        height: 25px;
        bottom: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .project-card {
        height: 300px;
    }
    
    .project-overlay {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .project-card {
        height: 250px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-overlay {
        padding: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }
.project-card:nth-child(9) { animation-delay: 0.9s; }

/* Efeitos especiais */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 1;
}

.project-card:hover::before {
    transform: translateX(100%);
}



/* Carrossel de Clientes */
.clients-section {
    width: 100%;
    background-color: #111111;
    padding: 60px 0;
    margin-top: 40px;
    overflow: hidden;
}

.clients-carousel {
    display: flex;
    animation: scroll 25s linear infinite;
    width: calc(200px * 14); /* 7 logos * 2 para loop infinito */
}

.client-logo {
    flex: 0 0 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
}

.client-logo img {
    max-width: 150px;
    max-height: 60px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Rodapé */
.footer {
    width: 100%;
    background-color: #0a0a0a;
    padding: 60px 0 20px 0;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 40px;
}

.footer-section h3 {
    color: #ff3232;
    font-size: 1.2rem;
    font-family: 'Gotham-Medium', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-family: 'Gotham-Medium', sans-serif;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ff3232;
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.8rem;
}

/* Responsividade para carrossel e rodapé */
@media (max-width: 768px) {
    .clients-section {
        padding: 40px 0;
    }
    
    .client-logo {
        flex: 0 0 150px;
        margin: 0 20px;
    }
    
    .client-logo img {
        max-width: 120px;
        max-height: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer {
        padding: 40px 0 20px 0;
    }
}

@media (max-width: 480px) {
    .clients-section {
        padding: 30px 0;
    }
    
    .client-logo {
        flex: 0 0 120px;
        margin: 0 15px;
    }
    
    .client-logo img {
        max-width: 100px;
        max-height: 40px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
}

