/* ========================================
   Custom Styles for Static Site
   ======================================== */

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}


/* Typewriter Cursor Animation */
.Typewriter__cursor {
    -webkit-animation: Typewriter-cursor 1s infinite;
    animation: Typewriter-cursor 1s infinite;
    margin-left: 1px;
}

@-webkit-keyframes Typewriter-cursor {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes Typewriter-cursor {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Parallax Background */
.parallax-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 45px;
    cursor: pointer;
    transition: all 0.3s;
}

#back-to-top:hover {
    background: #333;
    transform: translateY(-5px);
}

/* Sticky Header */
.sticky-on-top {
    background-color: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo invert filter for transparent navbar */
.navbar.bg-transparent .logo img {
    filter: invert(1);
    transition: filter 0.3s ease;
}

/* Remove invert filter when navbar is sticky */
.navbar.sticky-on-top .logo img {
    filter: invert(0);
}


/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 10px;
    background: transparent;
    cursor: pointer;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ff00b3;
    margin: 5px 0;
    transition: all 0.3s;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: rotate(-45deg) translate(-2px, 2px);
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-box:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-details {
    text-align: center;
    padding: 20px;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Filter Items Transition */
.filter-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Video Responsive */
video {
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    #header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        z-index: 999;
    }
    
    #header-nav.collapse:not(.show) {
        display: none;
    }
    
    #header-nav.show {
        display: flex !important;
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .nav-item {
        padding: 10px 0;
    }
}
@media (max-width: 768px) {
  #services .col-3 img {
    width: 60px !important;   /* ou 50px se quiser menor ainda */
  }

  #services .row.g-2 {
    gap: 4px !important;      /* reduz o espaçamento entre os logos */
  }
}



/* Hero Section Fix */
.hero-wrap {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Scroll Down Arrow Animation */
.scroll-down-arrow {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-decoration: none;
}

.scroll-down-arrow .animated {
    animation: bounce 2s infinite;
}

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

/* Logo Fix */
.logo img {
    max-height: 50px;
    width: auto;
}

/* Portfolio Image */
.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-image {
    transition: transform 0.3s;
}

.portfolio-box:hover .portfolio-image {
    transform: scale(1.1);
}

/* Ensure animations work */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible !important;
}
