/**
 * ==============================================================================
 * AVENTOUR EXPERIENCE - TEMA DEFAULT
 * Arquitetura Front-end Avançada: Bootstrap 5.3 + CodeIgniter 4
 * Clone Fiel do Layout: Aventour Travel & Tour Booking Platform
 * ==============================================================================
 */

/* ==============================================================================
 * 1. HEADER & NAVBAR (AVENTOUR STYLE)
 * ==============================================================================
 */

.theme-topbar {
    background-color: var(--secondary-color);
    color: var(--cor-fonte-topbar);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-topbar a,
.theme-topbar span {
    color: var(--cor-fonte-topbar);
}

.theme-topbar a:hover {
    color: var(--theme-color);
}

.theme-navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(5, 54, 85, 0.06);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.theme-navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.theme-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--title-color);
}

.theme-navbar .nav-link {
    color: var(--title-color) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.theme-navbar .nav-link:hover,
.theme-navbar .nav-link.active {
    color: #ffffff !important;
    background-color: var(--secondary-color);
}

.theme-navbar .nav-link i {
    color: var(--theme-color);
    transition: color 0.2s ease;
}

.theme-navbar .nav-link:hover i,
.theme-navbar .nav-link.active i {
    color: #ffffff;
}

/* ==============================================================================
 * 2. HERO BANNER COM SLIDER (AVENTOUR BANNER SECTION)
 * ==============================================================================
 */

.banner-section {
    position: relative;
    overflow: hidden;
    background-color: var(--title-color);
}

.banner-carousel {
    position: relative;
    min-height: 580px;
}

.banner-slide-item {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    padding: 100px 0 120px;
}

.banner-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.68);
    transition: transform 6s ease-in-out;
    transform: scale(1.03);
    z-index: 1;
}

.banner-slide-item.active .banner-bg-layer {
    transform: scale(1);
}

.banner-content-box {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.banner-content-box .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 30px;
    font-family: var(--secondary-font);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.banner-content-box .sub-title i {
    color: var(--theme-color);
    font-size: 1.2rem;
}

.banner-content-box h1,
.banner-content-box h2 {
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-content-box p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 680px;
}

.banner-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.banner-chip {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Badge de Preço Flutuante no Banner */
.banner-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 40px;
    padding: 8px 20px 8px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-left: 15px;
    vertical-align: middle;
}

.banner-price-badge .badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-color-1);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.banner-price-badge .badge-text span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1;
}

.banner-price-badge .badge-text strong {
    font-size: 1.1rem;
    color: var(--title-color);
    font-weight: 700;
}

/* Setas e Controles de Slide */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.banner-arrow:hover {
    background: var(--theme-color);
    color: #ffffff;
    border-color: var(--theme-color);
}

.banner-arrow--prev {
    left: 25px;
}

.banner-arrow--next {
    right: 25px;
}

@media (max-width: 768px) {
    .banner-content-box h1,
    .banner-content-box h2 {
        font-size: 2.2rem;
    }
    .banner-slide-item {
        min-height: 480px;
        padding: 60px 0 80px;
    }
}

/* ==============================================================================
 * 3. BARRA HORIZONTAL DE BUSCA E RESERVA (AVENTOUR BOOKING SEARCH BAR)
 * ==============================================================================
 */

.booking-section {
    position: relative;
    z-index: 20;
    margin-top: -55px;
    margin-bottom: 40px;
}

.booking-bar-widget {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 30px;
    box-shadow: 0 16px 45px rgba(5, 54, 85, 0.12);
    border: 1px solid var(--border-color);
    position: relative;
}

.booking-bar-widget .form-group {
    position: relative;
    margin-bottom: 0;
}

.booking-bar-widget .form-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--title-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-bar-widget .form-label i {
    color: var(--theme-color);
    font-size: 0.95rem;
}

.booking-bar-widget .form-control,
.booking-bar-widget .form-select {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #dee5e9;
    padding: 0 16px;
    font-size: 0.95rem;
    color: var(--title-color);
    font-weight: 500;
    background-color: #fafbfc;
    transition: all 0.25s ease;
}

.booking-bar-widget .form-control:focus,
.booking-bar-widget .form-select:focus {
    background-color: #ffffff;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(138, 190, 63, 0.2);
}

.booking-bar-social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
}

.booking-bar-avatars {
    display: flex;
    align-items: center;
}

.booking-bar-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -8px;
    object-fit: cover;
}

.booking-bar-avatars img:first-child {
    margin-left: 0;
}

/* ==============================================================================
 * 4. CATEGORIAS DE EXPERIÊNCIAS (CATEGORIES BLOCK ONE)
 * ==============================================================================
 */

.categories-block-one {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    padding: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.categories-block-one:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--theme-color);
}

.categories-block-one .category-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--bg-color-1);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.categories-block-one:hover .category-icon-box {
    background-color: var(--theme-color);
    color: #ffffff;
}

.categories-block-one .title-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.categories-block-one .lower-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.categories-block-one .tour-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.categories-block-one .arrow-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-color-1);
    color: var(--title-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.categories-block-one:hover .arrow-link {
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* ==============================================================================
 * 5. DESTINOS EM DESTAQUE (DESTINATIONS BLOCK ONE)
 * ==============================================================================
 */

.destinations-block-one {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    height: 100%;
}

.destinations-block-one:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.destinations-block-one .image-box {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.destinations-block-one .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.destinations-block-one:hover .image-box img {
    transform: scale(1.08);
}

.destinations-block-one .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(5,54,85,0.75) 100%);
}

.destinations-block-one .location-badge {
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: #ffffff;
    z-index: 2;
}

.destinations-block-one .location-badge h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.destinations-block-one .lower-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.destinations-block-one .tour-info {
    font-size: 0.88rem;
    color: var(--text-color);
    margin: 0;
}

.destinations-block-one .tour-info strong {
    color: var(--theme-color);
}

/* ==============================================================================
 * 6. CARD DE PASSEIO AVENTOUR (PACKAGE BLOCK ONE / TOUR CARD)
 * ==============================================================================
 */

.package-block-one,
.tour-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-block-one:hover,
.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(1, 82, 133, 0.2);
}

.package-block-one .image-box {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--bg-color-1);
}

.package-block-one .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-block-one:hover .image-box img {
    transform: scale(1.08);
}

.package-block-one .category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--theme-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.package-block-one .wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--title-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.package-block-one .wishlist-btn:hover {
    background: #ffffff;
    color: var(--accent-color);
    transform: scale(1.1);
}

.package-block-one .inner-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.package-block-one .meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.package-block-one .location {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.package-block-one .location i {
    color: var(--theme-color);
}

.package-block-one .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--title-color);
    font-weight: 700;
}

.package-block-one .rating i {
    color: var(--bs-warning);
}

.package-block-one h3.tour-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.package-block-one h3.tour-title a {
    color: var(--title-color);
}

.package-block-one h3.tour-title a:hover {
    color: var(--secondary-color);
}

.package-block-one .tour-desc {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 16px;
}

.package-block-one .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.package-block-one .price-box span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1;
}

.package-block-one .price-box strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.package-block-one .duration-info {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==============================================================================
 * 7. POR QUE ESCOLHER (CHOOSEUS BLOCK ONE)
 * ==============================================================================
 */

.chooseus-block-one {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 26px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    height: 100%;
}

.chooseus-block-one:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--theme-color);
}

.chooseus-block-one .icon-box {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background-color: var(--bg-color-1);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.chooseus-block-one:hover .icon-box {
    background-color: var(--theme-color);
    color: #ffffff;
}

.chooseus-block-one h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.chooseus-block-one p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.65;
    margin: 0;
}

/* ==============================================================================
 * 8. DEPOIMENTOS (TESTIMONIAL BLOCK ONE)
 * ==============================================================================
 */

.testimonial-block-one {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-block-one:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.testimonial-block-one .quote-icon {
    font-size: 2.2rem;
    color: var(--theme-color);
    opacity: 0.6;
    margin-bottom: 16px;
}

.testimonial-block-one p.comment-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-block-one .client-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.testimonial-block-one .client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-block-one .client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-block-one .client-name h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.testimonial-block-one .client-name span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-block-one .client-rating {
    color: var(--bs-warning);
    font-size: 0.95rem;
}

/* ==============================================================================
 * 9. FAQ ACCORDION (FAQ SECTION)
 * ==============================================================================
 */

.faq-accordion .accordion-item {
    background: #ffffff;
    border-radius: 16px !important;
    border: 1px solid var(--border-color);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(5, 54, 85, 0.04);
}

.faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--title-color);
    padding: 20px 24px;
    background: #ffffff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    background-color: var(--bg-color-1);
}

.faq-accordion .accordion-body {
    padding: 20px 24px;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* ==============================================================================
 * 10. RODAPÉ MASTER (MAIN FOOTER AVENTOUR)
 * ==============================================================================
 */

.main-footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding-top: 70px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.main-footer .footer-widget h3.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.main-footer .footer-widget h3.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background-color: var(--theme-color);
    border-radius: 2px;
}

.main-footer .links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer .links-list li {
    margin-bottom: 10px;
}

.main-footer .links-list a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.main-footer .links-list a:hover {
    color: var(--theme-color);
    transform: translateX(4px);
}

.main-footer .single-info-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.main-footer .single-info-box .text-box span {
    display: block;
    font-size: 0.8rem;
    color: var(--theme-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-footer .single-info-box .text-box p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.main-footer .single-info-box .text-box p a {
    color: #ffffff;
}

.main-footer .single-info-box .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--theme-color);
}

.main-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 25px;
    margin-top: 35px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.main-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
}

.main-footer .footer-bottom a:hover {
    color: var(--theme-color);
}

/* Botão Flutuante Voltar ao Topo */
.btn-scroll-top {
    position: fixed;
    bottom: 92px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--title-color, #0f2042);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background: var(--theme-color, #8abe3f);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(138, 190, 63, 0.4);
}

.btn-scroll-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 190, 63, 0.45);
}

@media (max-width: 768px) {
    .btn-scroll-top {
        bottom: 88px;
        right: 25px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}
