/**
 * Atlantida DMC - Estilos específicos para o slider
 */

/* Estilos do Hero Slider */
.hero {
    position: relative;
    width: 100%;
    height: 95vh;
    overflow: hidden;
    padding-top: 0;
    margin-top: 70px;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 98%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    z-index: 1;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-content {
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 0;
}

.slide-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: hidden;
    padding: 0;
    height: auto;
    text-align: center;
}

h2 {
    font-size: 120px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #fff;
    
    line-height: 1;
    letter-spacing: 2px;
    font-family: 'General Sans', sans-serif;
   
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.btn-slide {
    display: inline-block;
    background-color: #e31e24;
    color: #fff;
    padding: 10px 25px;
    font-weight: 500;
    font-size: 15px;
    
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    margin: 25px auto;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    text-align: center;
    display: block;
    width: fit-content;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
}

.btn-slide:hover {
    background-color: #d14d23;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.intro-text {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    
    
    margin-bottom: 10px;
    
    text-align: center;
    width: 100%;
    position: relative;
    display: block;
}

.slide-info {
    position: relative;
    background: none;
    color: #fff;
    font-size: 18px;
    padding: 5px 0;
    width: auto;
    margin-top: 20px;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    max-width: 80%;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 18px;
    pointer-events: auto;
    outline: none;
}

.slider-controls button:hover {
    background-color: rgba(215, 25, 33, 0.9);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0px 10px 50px 0px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .slide-content {
        bottom: 20%;
    }
    
    h2 {
        font-size: 80px;
    }
    
    .intro-text {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .btn-slide {
        padding: 10px 25px;
        font-size: 14px;
        margin: 15px auto;
    }
}

@media (max-width: 767px) {
    .hero {
        margin-top: 0 !important; /* Forçar a remoção da margem */
        height: 80vh;
    }
    
    .slide-content {
        width: 100%;
        bottom: 15%;
    }
    
    h2 {
        font-size: 60px;
        line-height: 1.1;
    }
    
    .intro-text {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    
    .btn-slide {
        padding: 8px 20px;
        font-size: 13px;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .slide-content {
        bottom: 10%;
    }
    
    h2 {
        font-size: 40px;
    }
    
    .intro-text {
        font-size: 10px;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }
    
    .btn-slide {
        padding: 6px 15px;
        font-size: 12px;
        margin: 8px auto;
    }
}
