/*
Theme Name: BR SKATEPARKS THEME
Author: CLAUDIO PEDRERO
Version: 1.0
*/
html {
  scroll-behavior: smooth;
}
body { background-color: #131313; color: #ffffff; overflow-x: hidden; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #d40000; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
#wpadminbar{
    display:none;
}
/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
        opacity: 0;
transform: translateY(30px);
}

 .bg-grid-pattern {
        background-image: radial-gradient(circle, #2a2a2a 1px, transparent 1px);
        background-size: 32px 32px;
      }
      .brutalist-border {
        box-shadow: 4px 4px 0px 0px #d40000;
      }
      
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .animate-on-scroll {
        opacity: 0;
      }

      .animate-on-scroll.visible {
        animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      }

.industrial-grid {
        background-size: 40px 40px;
        background-image: radial-gradient(circle, #2a2a2a 1px, transparent 1px);
      }

 .technical-grid-overlay {
    background-image: radial-gradient(#d40000 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.05
}



/* Premium Button Hover Effect */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}
.btn-premium:hover {
    color: #000000 !important;
    transform: scale(1.05) translateY(-2px);
}
.btn-premium:hover::before {
    left: 0;
}

.btn-premium-dark::before {
    background: #000000;
}
.btn-premium-dark:hover {
    color: #ffffff !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Image Hover Zoom */
.img-container {
    overflow: hidden;
}
.img-container img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-container:hover img {
    transform: scale(1.1);
}

.hover-zoom img {
transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-zoom:hover img {
transform: scale(1.08);
}

.zoom-img-container {
overflow: hidden;
}
.zoom-img {
transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.zoom-img-container:hover .zoom-img {
transform: scale(1.05);
}
.img-zoom-container {
        overflow: hidden;
  }
  .img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .img-zoom-container:hover img {
    transform: scale(1.05);
  }
  
.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}


/* Vertical Text for industrial feel */
.vertical-rl { writing-mode: vertical-rl; }

.grecaptcha-badge{display:none;}


/* PROYECTOS */

/* estado inicial */
#projects-grid > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

/* delay escalonado */
#projects-grid > *:nth-child(1) { animation-delay: 0.05s; }
#projects-grid > *:nth-child(2) { animation-delay: 0.1s; }
#projects-grid > *:nth-child(3) { animation-delay: 0.15s; }
#projects-grid > *:nth-child(4) { animation-delay: 0.2s; }
#projects-grid > *:nth-child(5) { animation-delay: 0.25s; }
#projects-grid > *:nth-child(6) { animation-delay: 0.3s; }

/* animación */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* contact form */
/* Quitar estilos por defecto de CF7 */
.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13px;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34,197,94,.08);
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #e11d1d;
  color: #e11d1d;
  background: rgba(225,29,29,.08);
}

/* Eliminar outline raro de CF7 en focus */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Spinner de carga */
.wpcf7 .wpcf7-spinner {
  display: none;
}

/* MArquee */

.brsk-marquee-track {
  display: flex;
  width: max-content;
  animation: brsk-scroll 18s linear infinite;
  filter: grayscale(1) brightness(1.5);
}

.brsk-marquee-content {
  display: flex;
  gap: 6rem; /* equivale a gap-24 de Tailwind */
  padding-right: 6rem;
  white-space: nowrap;
}

.brsk-marquee-content span{
    color:#fff!important;
}

@keyframes brsk-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.noise {
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .1;
}

.zoom-container img {
  width: 100%;
  animation: zoomInOut 9s infinite alternate;
}

@keyframes zoomInOut {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.bg-surface-container-lowest {
    --tw-bg-opacity: 1;
    background-color: rgb(45 45 45)!important;
}