/* ============================================
   HERO (Julius Baer – clean, minimal)
   ============================================ */
.hero {
    position: relative;
    background-image: url('../img/hero-bg.jpg');  /* <-- HERE */
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    padding: 220px 0;
    text-align: center;
    border-bottom: 1px solid #F0F0F0;
}

/* Text with semi-transparent background (inline-block) */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1B4D3E;
    max-width: 770px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background: rgba(255, 255, 255, 0.6); /* semi-transparent dark background */
    padding: 0.2em 0.3em;
    border-radius: 4px;
    text-shadow: none;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 10px;
    color: #4A4A4A;
    background: rgba(255, 255, 255, 0.6);
    display: block;
    padding: 0.2em 0.2em;
    border-radius: 4px;
    text-shadow: none;
}

/* Button remains solid (no background needed) */
.hero .btn-primary {
    background-color: #1B4D3E;
    border-color: #1B4D3E;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: block;
    width: fit-content;
    margin: 32px auto 0 auto;
}


.hero .btn-primary:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

/* ============================================
   VERTICAL IMAGE CARROUSEL
   ============================================ */
.carousel-section {
    padding: 60px 0;
    background-color: #FEFEFE;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
    margin: 40px 0;
}

.vertical-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background-color: #F5F5F5;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    background: #FAFAFA;
}

.carousel-slide img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 77, 62, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: #3B9E6A;
    transform: translateY(-50%) scale(1.05);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Dots / indicadores */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #D1D5DB;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background-color: #1B4D3E;
    width: 26px;
    border-radius: 6px;
}

.dot:hover {
    background-color: #3B9E6A;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .carousel-slide {
        min-height: 380px;
    }
    .carousel-slide img {
        max-height: 380px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    .prev {
        left: 12px;
    }
    .next {
        right: 12px;
    }
    .carousel-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        min-height: 280px;
    }
    .carousel-slide img {
        max-height: 280px;
    }
}
