@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #fff;
    overflow-x: hidden;
}
.parallax-283 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('kaio fotos/fundoestadual2.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    transform: translateZ(0);
}
.parallax-659 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('kaio fotos/2024grindtop.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    transform: translateZ(0);
}
.parallax-930 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('kaio fotos/amamazing.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    transform: translateZ(0);
}
.parallax-324 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('kaio fotos/brasileiro.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    transform: translateZ(0);
}
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('kaio fotos/foto kaio.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    transform: translateZ(0);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0;
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0;
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
    cursor: pointer;
    border: none;
    animation: pulse 2s infinite;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@font-face {
    font-family: 'Cinzel';
    src: url('./fonts/Cinzel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cinzel';
    src: url('./fonts/Cinzel-Bold.ttf') format('truetype');
    font-weight: bold;
}

.project:hover {
    transform: scale(1.05);
}

.project:nth-child(1) {
    background: url('kaio fotos/video part barra.jpg') no-repeat center center;
    background-size: cover;
}

#Patrocinadores:nth-child(1) {
    background: url("kaio fotos/CBGANG.png") no-repeat center center;
    background-size: cover;
}

#Patrocinadores1:nth-child(2) {
    background: url("kaio fotos/otter.png") no-repeat center center;
    background-size: cover;
}

#Patrocinadores2:nth-child(3) {
    background: url("kaio fotos/747wheels.png") no-repeat center center;
    background-size: cover;
}
#Patrocinadores3:nth-child(4) {
    background: url("kaio fotos/barra.png") no-repeat center center;
    background-size: cover;
}


.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.project h3, .project p {
    position: relative;
    z-index: 2;
}

.project-campeonato {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.project1 {
    flex: 0 0 300px;
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    color: #fff;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer; /* Adicionado para indicar que é clicável */
}

.project1:hover {
    transform: scale(1.05);
}

.project1:nth-child(1) {
    background: url('kaio fotos/jam suzano.png') no-repeat center center;
    background-size: cover;
}

.project1:nth-child(2) {
    background: url('kaio fotos/brasileirotop.jpg') no-repeat center center;
    background-size: cover;
}

.project1:nth-child(3) {
    background: url('kaio fotos/amamazing.png') no-repeat center center;
    background-size: cover;
}

.project1:nth-child(4) {
    background: url('kaio fotos/2024grind.png') no-repeat center center;
    background-size: cover;
}

.project1:nth-child(5) {
    background: url('kaio fotos/taildeback.jpg') no-repeat center center;
    background-size: cover;
}

#projectjam:nth-child(1) {
    background: url('kaio fotos/2023jam.png') no-repeat center center;
    background-size: cover;
}
#jamsuzano:nth-child(1) {
    background: url('kaio fotos/2024jam.jpg') no-repeat center center;
    background-size: cover;
}
#projectjam2:nth-child(3) {
    background: url('kaio fotos/jam\ suzano.png') no-repeat center center;
    background-size: cover;
}

#projectbrasileiro:nth-child(1) {
    background: url('kaio fotos/brasileirotop.jpg') no-repeat center center;
    background-size: cover;
}
#projectbrasileiro1:nth-child(1) {
    background: url('kaio fotos/trofeubrasileiro.jpg') no-repeat center center;
    background-size: cover;
}
#projectammazing:nth-child(1) {
    background: url('kaio fotos/amamazing.png') no-repeat center center;
    background-size: cover;
}
#projectgrindopen:nth-child(1) {
    background: url('kaio fotos/2024grindtop.png') no-repeat center center;
    background-size: cover;
}
#projectgrindopen2:nth-child(1) {
    background: url('kaio fotos/2024grind.png') no-repeat center center;
    background-size: cover;
}
#projectestadual:nth-child(1) {
    background: url('kaio fotos/fundoestadual.png') no-repeat center center;
    background-size: cover;
}
#projectestadual785454 {
    background: url('kaio fotos/taildeback.jpg') no-repeat center center;
    background-size: cover;
}

#titulobarra {
    font-family: 'Cinzel', serif;
}

#titulokaiocarvalho {
    font-family: 'Cinzel', serif;
}

.project1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.project1 h3, .project1 p {
    position: relative;
    z-index: 2;
}

/* Estilos para links dentro de .project1 */
.project1 a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 3; /* Acima do ::before */
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 15% auto;
    padding: 20px;
    border-radius: 20px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    section { padding: 40px 10px; }
    .project-grid { grid-template-columns: 1fr; }
    .project1 { flex: 0 0 250px; }
    .modal-content { width: 90%; margin: 20% auto; }
}

/* Remove a cor roxa dos links visitados */
a,
a:visited,
a:hover,
a:active {
    color: #fff;
    text-decoration: none;
}
