/* Impact Journey - Main Stylesheet - Dark Theme */

:root {
    --bs-primary: #1b6bae;
    --bs-primary-rgb: 27, 106, 174;
    --primary-dark: #005a99;
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-surface-2: #2a2a2a;
    --dark-text: #ffffff;
    --dark-text-muted: #b0b0b0;
    --dark-border: #333333;
    --bs-btn-active-color: #fff;
    --bs-btn-hover-bg: #1b6bae;
    --bs-btn-active-bg: #1b6bae;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: var(--dark-text);
    overflow-x: hidden;
    max-width: 100vw;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    max-width: 100vw;
    overflow: hidden;
}
/* Custom Header */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    background: #000;
    background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=0);
}

.company-name {
    color: var(--bs-primary);
}

.navbar-brand {
    padding: 0.5rem 0 !important;
}
.navbar{
    pointer-events: none;
}
.wraplogos{
    pointer-events: all;
    position:relative;
    margin-bottom: 20px;
    margin-top: 10px;
}

.logo {
    height: 50px;
    width: auto;
    position: absolute;
    left: 0;
    top:0;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.logo-text-wrapper {
    height: 50px; 
    overflow:visible;
}

.logo-text{
    height: 72px; /* Match the icon logo height */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 70vh;
    min-height: 500px; 
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}

.hero-text {
    padding-top: 8%;
}
.hero-text h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
 

/* Hero Slider with Swiper */
.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-slide.default-slide {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
}


.swiper-button-next,
.swiper-button-prev {
    background: var(--bs-primary);
    color: white;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    transition: all 0.2s ease;
}
.swiper-button-prev{
    border-radius: 50% 0 50% 50%;
    left: 0px;
}
.swiper-button-next{
    border-radius: 0 50% 50% 50%;
    right: 0px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: 500;
}
 

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-dark); 
}
 


.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    display:none;
}
 
.hero-swiper .swiper-pagination {
    bottom: 30px;
}

.hero-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 16px;
    height: 16px;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}
 
/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--dark-surface-2);
    box-shadow: 0 8px 25px rgba(0, 122, 204, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
}

/* Projetos Section */
.projetos-nav-btn {
    background: var(--bs-primary);
    width: 50px;
    height: 50px; 
    transition: all 0.3s ease;
    border-radius: 0;
}

.round .projetos-nav-btn {
    border-radius: 50%;
}

.projetos-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.job-indicator {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    transition: all 0.3s ease;
    border-radius: 0;
    background: transparent;
}
.round .job-indicator {
    border-radius: 50%;
}

.job-indicator.active,
.job-indicator:hover {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

    .swiper-button-next,
    .swiper-button-prev {
        left: 0;
        z-index: 10;
        background: rgba(0, 122, 204, 0.95); 
        width: 42px;
        height: 42px;
        margin-top: -20px;
        border-radius: 50% 0 50% 50%;
    }
    
    .swiper-button-next {
        left:auto; right: 0;
        border-radius: 0 50% 50% 50%;
    }
     
     
    .gallery-swiper {
        padding-bottom: 50px;
    }

    .gallery-swiper .swiper-pagination {
        bottom: 10px;
    }

.job-slide {
    width: 100%;
    min-height: 500px;
}

.job-slides {
    position: relative;
    min-height: 500px;
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
 

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.polaroid-image {
    height: 250px;
    object-fit: cover;
}

/* Contact & Footer Wrapper */
.contact-footer-wrapper {
    background:  url('../imgs/background.svg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
.contact-footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.55); 
}

/* Contact Section */
.contact-section {
    background: transparent;
    position: relative;
    overflow: hidden;
    
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 40%);
}

.contact-section .container {
    z-index: 2;
    position: relative;
}

.contact-form {
    background: rgba(0, 122, 204, 0.1);
    backdrop-filter: blur(3px);
    border: 1px solid var(--dark-border);
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 204, 0.25);
    background-color: var(--dark-surface);
    color: var(--dark-text);
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--bs-primary);
    transform: translateY(-3px);
}

/* Enhance text readability over the animated background */
.contact-section .parallax-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.contact-section { 
    
    backdrop-filter: blur(1px); 
}
.contact-section .contact-info { 
    border-radius: 20px;
    padding: 2rem;
}

/* Additional utility classes for inline styles */
.hero-shapes {
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

/* Swiper Slider Customizations */

/* Job Indicators Slider */
.job-indicators-container {
    width: 100%;
}
.job-indicators-container .wrapper-container{ 
    overflow:visible;
}
.job-indicators-container .swiper-slide{
    margin:0;
    padding: 0;
} 

.job-indicators-swiper {  
    width: calc(100% - (50px * 2)) !important;
    max-width: calc(800px - (50px * 2)) !important; 
    overflow:hidden!important;
    margin: 0 auto;
}
 
 .job-indicators-container .swiper.wrapper-container{
    max-width: 900px;
    margin: 0 auto;
 }
 
 
 
.gallery-swiper .swiper-pagination {
    bottom: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.gallery-swiper .swiper-pagination-bullet {
    background: var(--bs-primary);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--primary-dark);
    opacity: 1;
}
 
/* Gallery slide styling */
.gallery-slide { 
}

.gallery-slide .gallery-item { 
}

.gallery-slide .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 15px 15px 15px;
    position: relative;
}

.gallery-slide .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(240,240,240,0.9) 100%);
    border-radius: 8px;
    z-index: -1;
}

.gallery-slide .card:hover {
    transform: translateY(-8px); 
}

.gallery-slide .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

/* Polaroid image styling */
.gallery-swiper .polaroid-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Polaroid text styling */
.gallery-slide .text-muted {
    color: #333 !important;
    font-size: 14px;
    margin-top: 5px;
    padding: 0 8px;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}
 
/* Disabled swiper button states */
.swiper-button-disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.gallery-swiper .swiper-button-disabled {
    background: rgba(0, 122, 204, 0.3) !important;
}

.job-indicators-container .swiper-button-disabled {
    background: rgba(0, 122, 204, 0.3) !important;
}
 
    .job-indicator { 
        white-space: nowrap;
        overflow: hidden; 
        border: 2px solid var(--bs-primary) !important;
        margin: 0;
    }
    
    .job-indicator-slide {
        padding: 0 2px;
    }

    .lb-caption{
        font-weight: 500!important;
    }
/* Responsive adjustments for sliders */
@media (max-width: 768px) {
    /* Fix slider positioning for mobile */
    .job-indicators-container { 
        margin-bottom: 2rem !important;
    }
     
     
     
      
    
    .gallery-swiper .swiper-wrapper {
        padding: 0; /* Remove wrapper padding on mobile too */
    }
    
    .gallery-swiper .swiper-slide {
        padding: 0 8px; /* Slightly more padding on mobile since we start with 3 slides */
    }
    
    

    
    /* Project slider container adjustments */
    .projetos-slider {
        padding: 1rem !important;
        margin: 0;
    }
    
    /* Job indicator mobile styling */
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none !important;
    }
    
    

    /* Logo mobile constraints - fix vertical alignment */
    .wraplogos { 
        margin-bottom: 10px;
    }
    
    .logo {
        height: 43px;
        position: absolute; 
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo-text {
        height: 63px;
    }
    
    .logo-text-wrapper {
        height: 43px; 
    }
    
    /* Specific section padding - 25px margins */
    .services-section .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Projects section outer div */
    section[style*="var(--dark-bg)"] .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Contact section - make sure it gets the padding */
    .contact-section .container,
    section.contact-section .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Footer */
    footer .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Reset general containers to default */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .hero-text {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Header container adjustments */
    .header .container,
    .header .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .display-1 {
        font-size: 3rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-text h3 {
        font-size: 2.5rem !important;
    }
     
    
    .contact-info .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info .d-flex span {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem !important;
    }
}

/* Mobile-first responsive fixes */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow: hidden;
}

.header {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    pointer-events:none;
}

.contact-section .contact-info { 
    margin: 1rem;
    padding: 1.5rem;
}

/* Extra small screens */
@media (max-width: 480px) {
    /* Logo mobile constraints for small screens */
    .wraplogos { 
        margin-bottom: 10px;
        
    }
    
    .logo {
        height: 34px;
        position: absolute; 
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo-text {
        height: 50px; 
    }
    
    .logo-text-wrapper {
        height: 34px; 
    }
    
.lines-section-wrapper::before {  
    background: url(../imgs/lines.svg) center center /cover no-repeat;
}
    /* Specific section padding - 25px margins */
    .services-section .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Projects section outer div */
    section[style*="var(--dark-bg)"] .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Contact section */
    .contact-section .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Footer */
    footer .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Reset general containers to default */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .hero-text {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    .hero-text h3 {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
     
    
    .card-body {
        padding: 1rem !important;
    }
    
    /* Extra small screen project adjustments */
    .job-indicator {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        max-width: 120px;
    }
    
    .projetos-slider {
        padding: 0.5rem !important;
        margin: 0;
    }
    

}

/* Sobre Nós Section Styling */
.about-us-section {
    position: relative;
    overflow: hidden;
}
.lines-section-wrapper{
    position:relative;
    width: 100%;

}
.lines-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../imgs/lines.svg) right center /cover no-repeat;
}
.about-us-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

.about-us-section .container {
    position: relative;
    z-index: 2;
}
 
.services-section ,
.services-section .container{
    position:relative;
}
.services-section::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1ae0;
    backdrop-filter: blur(2.4px);
    -webkit-backdrop-filter: blur(2.4px); 
    z-index: 0;

}

.stat-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.stat-card h3 {
    margin-bottom: 8px;
}

.stat-card p {
    margin: 0;
    opacity: 0.9;
}

/* Additional Swiper customizations */
.swiper {
    width: 100%;
    overflow: hidden;
}
 

.swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}
/* Gallery swiper specific fixes */

.gallery-swiper .gallery-item {
    height: 100%; 
}

.gallery-swiper .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-swiper .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hero swiper specific */
.hero-swiper .swiper-slide {
    display: block;
}

/* Ensure swiper navigation buttons are properly positioned */
.swiper-button-next,
.swiper-button-prev {
    z-index: 10;
}

/* Custom pagination styling */
.swiper-pagination-bullet {
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    transform: scale(1.2);
}

/* Footer */
footer {
    background: transparent;
    position: relative;
    overflow: hidden;
}
 
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

footer .container {
    position: relative;
    z-index: 2;
}

.contact-icon {
    width: 20px;
}

.swiper{
    width: 100%;
} 
/* Ensure job slide content is full height */
.job-slide {
    min-height: 500px;
    width: 100%;
}

/* Jobs Slider (Master slider for job transitions) */
.job-slides.swiper {
    overflow: hidden;
    position: relative;
}

.job-indicator-slide{
    width: auto!important;
}

.job-slides .swiper-slide {
    width: 100%; 
    height: auto;
    display: flex;
    flex-direction: column;
}


/* Job slides container */
.job-slides .swiper {
    width: 100%;
    height: 100%;
}

/* Fix for project descriptions visibility on dark backgrounds */
section[style*="var(--dark-bg)"] .text-muted,
section[style*="#0a0a0a"] .text-muted {
    color: var(--dark-text-muted) !important;
}

/* Ensure project descriptions are readable */
.text-muted.fs-5 {
    color: #b0b0b0 !important;
}

/* Project icon styling */
.project-icon {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.project-icon:hover {
    transform: scale(1.05);
}

/* Footer logo styling */
.footer-logo {
    transition: opacity 0.3s ease;
    max-width:100%;
}

.footer-logo:hover {
    opacity: 1 !important;
}
