/**
 * Theme Name: Asgard
 * Description: An addon theme to ensure updates don't break the website. Do not delete any themes.
 * Author: Nick
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ==========================================================================
   Homepage Banner
   ========================================================================== */

.homebanner:before {
    mix-blend-mode: multiply;
}

.headasurl a:hover {
    color: #c6783e !important;
}

/* ==========================================================================
   Image Aspect Ratios & Carousel
   ========================================================================== */

.ratio-one img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
}

.ratio-one .elementor-widget-container,
.carouselgallery .jet-listing-grid__item .elementor-widget-container {
    margin-bottom: -8px;
}

.carouselgallery .slick-list.draggable {
    overflow: visible;
}

.circlenavicon .jet-listing-grid__slider-icon.prev-arrow.slick-arrow {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 100px;
}

.circlenavicon .jet-listing-grid__slider-icon.next-arrow.slick-arrow {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 100px;
}

/* ==========================================================================
   Glow Heading Animation
   ========================================================================== */

.thor_heading .elementor-heading-title {
    position: relative;
}

.thor_heading .elementor-heading-title:after {
    animation-delay: 1s !important;
}

.thor_heading .elementor-heading-title:before {
    animation-delay: 0.1s !important;
}

.thor_heading .elementor-heading-title:after,
.thor_heading .elementor-heading-title:before {
    position: absolute;
    top: 50%;
    left: -25px;
    content: "";
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 50%;
    background-color: #c6783e;
    opacity: 0;
    animation: growandfade 3s infinite ease-out;
}

@keyframes growandfade {
    0% {
        opacity: 0.5;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* ==========================================================================
   Gravity Forms
   ========================================================================== */

.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
    background-color: #146D03 !important;
    border-color: #146D03 !important;
}

.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
    margin-bottom: 40px !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footerform input#form-field-email {
    padding-left: 0px;
}

.footerform span.elementor-button-text:hover {
    transform: scale(1.1);
    transition: transform 1s;
}

.footerform span.elementor-button-text {
    transform: scale(1);
    transition: transform 1s;
}

.footericon li.elementor-icon-list-item a {
    width: 40px !important;
    height: 40px;
    border: solid 1px #aaaaaa;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
}

.textlink a {
    color: #c6783e;
}

.textlink a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Testimonial Image
   ========================================================================== */

.testimonialimage .elementor-element-31998a7 .elementor-widget-container {
    margin-bottom: -10px;
}

/* ==========================================================================
   Ripple Circle Animation
   ========================================================================== */

.thor-ripple-circle div {
    background-color: #ffffff;
}

.thor-ripple-circle div {
    animation: growAndFade 5s infinite ease-out;
    background-color: #fff;
    border-radius: 50%;
    height: 100%;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.thor-ripple-circle .circle1 {
    animation-delay: 1.5s;
}

.thor-ripple-circle .circle2 {
    animation-delay: 2.5s;
}

.thor-ripple-circle .circle3 {
    animation-delay: 4s;
}

@keyframes growAndFade {
    0% {
        opacity: 0.25;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.rippletopcon .ripplehtmlwidget {
    opacity: 0;
}

.rippletopcon:hover .ripplehtmlwidget {
    opacity: 1 !important;
}

.widfullheight {
    height: 100%;
}

/* ==========================================================================
   Testimonial Slider Icons (Dark)
   ========================================================================== */

.customersaylist .jet-listing-grid__slider-icon.prev-arrow.slick-arrow:after {
    width: 36px;
    height: 30px;
    left: 30px;
    background-color: #00000000 !important;
    content: 'Pre';
    position: absolute;
    font-size: 16px;
    color: #555555;
}

.customersaylist .jet-listing-grid__slider-icon.prev-arrow.slick-arrow:before {
    width: 14px;
    height: 15px;
    left: 10px;
    content: '';
    position: absolute;
    background-size: 14px !important;
    background: url("/wp-content/uploads/2024/12/left-arrow.svg");
}

.customersaylist .jet-listing-grid__slider-icon.next-arrow.slick-arrow:after {
    width: 36px;
    height: 30px;
    left: 40px;
    background-color: #00000000 !important;
    content: 'Next';
    position: absolute;
    font-size: 16px;
    transform: scaleX(-1);
    color: #555555;
}

.customersaylist .jet-listing-grid__slider-icon.next-arrow.slick-arrow:before {
    width: 14px;
    height: 15px;
    left: 10px;
    content: '';
    position: absolute;
    background-size: 14px !important;
    background: url("/wp-content/uploads/2024/12/left-arrow.svg");
}

/* ==========================================================================
   Testimonial Slider Icons (White)
   ========================================================================== */

.whitetestimonial .jet-listing-grid__slider-icon.prev-arrow.slick-arrow:after {
    width: 36px;
    height: 30px;
    left: 30px;
    background-color: #00000000 !important;
    content: 'Pre';
    position: absolute;
    font-size: 16px;
    color: #ffffff;
}

.whitetestimonial .jet-listing-grid__slider-icon.prev-arrow.slick-arrow:before {
    width: 14px;
    height: 15px;
    left: 10px;
    content: '';
    position: absolute;
    background-size: 14px !important;
    background: url("/wp-content/uploads/2024/12/left-arrow-1.svg");
}

.whitetestimonial .jet-listing-grid__slider-icon.next-arrow.slick-arrow:after {
    width: 36px;
    height: 30px;
    left: 40px;
    background-color: #00000000 !important;
    content: 'Next';
    position: absolute;
    font-size: 16px;
    transform: scaleX(-1);
    color: #ffffff;
}

.whitetestimonial .jet-listing-grid__slider-icon.next-arrow.slick-arrow:before {
    width: 14px;
    height: 15px;
    left: 10px;
    content: '';
    position: absolute;
    background-size: 14px !important;
    background: url("/wp-content/uploads/2024/12/left-arrow-1.svg");
}

.whitetestimonial .testimonialcont .elementor-heading-title {
    color: #ffffff !important;
}

/* ==========================================================================
   Hover & Animation Effects
   ========================================================================== */

.scaleupanimation:hover .scaleupimg img {
    transform: scale(1.1) !important;
}

.aeroplaneicon {
    opacity: 0.2;
}

.aeroplaneicon:hover {
    opacity: 1;
}

/* ==========================================================================
   Button Ripple Animation
   ========================================================================== */

.ripplebtn a {
    overflow: hidden;
}

.ripplebtn .elementor-button:after,
.ripplebtn .elementor-button:before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    width: 150px;
    height: 150px;
    margin-top: -75px;
    margin-left: -75px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0;
}

.ripplebtn .elementor-button:hover:before {
    animation-delay: 0.1s !important;
}

.ripplebtn .elementor-button:hover:after {
    animation-delay: 1s !important;
}

.ripplebtn .elementor-button:hover:after,
.ripplebtn .elementor-button:hover:before {
    animation: tz_growAndFade 5s infinite ease-out;
    opacity: 0;
}

@keyframes tz_growAndFade {
    0% {
        opacity: 0.15;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* ==========================================================================
   Responsive: Tablet (768px - 1024px)
   ========================================================================== */

@media screen and (max-width: 1024px) and (min-width: 768px) {
    .customersaylist .jet-listing-grid__slider-icon.prev-arrow.slick-arrow,
    .whitetestimonial .jet-listing-grid__slider-icon.prev-arrow.slick-arrow {
        left: calc(50% - 110px) !important;
    }

    .customersaylist .jet-listing-grid__slider-icon.next-arrow.slick-arrow,
    .whitetestimonial .jet-listing-grid__slider-icon.next-arrow.slick-arrow {
        right: calc(50% - 125px) !important;
    }
}

/* ==========================================================================
   Responsive: Mobile (< 767px)
   ========================================================================== */

@media screen and (max-width: 767px) {
    .customersaylist .jet-listing-grid__slider-icon.prev-arrow.slick-arrow,
    .whitetestimonial .jet-listing-grid__slider-icon.prev-arrow.slick-arrow {
        left: calc(50% - 135px) !important;
    }

    .customersaylist .jet-listing-grid__slider-icon.next-arrow.slick-arrow,
    .whitetestimonial .jet-listing-grid__slider-icon.next-arrow.slick-arrow {
        right: calc(50% - 135px) !important;
    }

    .footerform .elementor-form-fields-wrapper.elementor-labels- {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .elementor-field-type-email.elementor-field-group-email {
        width: 75% !important;
    }

    .elementor-field-type-submit.elementor-col-25.e-form__buttons {
        width: 25% !important;
    }

    body.single-post .e-con-inner {
        width: 100% !important;
    }

    /* Elementor content pages mobile improvements */
    .elementor-page .elementor-heading-title {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    .single-itineraries .elementor[data-elementor-type="wp-post"] .e-con-boxed,
    .single-destinations .elementor[data-elementor-type="wp-post"] .e-con-boxed {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .single-itineraries .elementor[data-elementor-type="wp-post"] .e-con-inner > .e-con.e-child,
    .single-destinations .elementor[data-elementor-type="wp-post"] .e-con-inner > .e-con.e-child {
        width: 100% !important;
        flex-basis: 100% !important;
    }

    .single-itineraries .elementor[data-elementor-type="wp-post"] .elementor-widget-image img,
    .single-destinations .elementor[data-elementor-type="wp-post"] .elementor-widget-image img {
        width: 100% !important;
    }
}

/* ==========================================================================
   Search Results
   ========================================================================== */

.ll-search-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ll-search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/wp-content/uploads/2024/12/bg-banner.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.ll-search-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.ll-search-breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.ll-search-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.ll-search-breadcrumb a:hover {
    color: #146D03;
}

.ll-search-breadcrumb .ll-sep {
    margin: 0 8px;
}

.ll-search-title {
    font-size: 36px;
    color: #ffffff;
    font-weight: 300;
    margin: 0 0 24px;
}

.ll-search-title span {
    color: #146D03;
    font-weight: 600;
}

.ll-search-form-wrap {
    max-width: 500px;
    margin: 0 auto;
}

.ll-search-form-wrap .ct-search-form {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}

.ll-search-form-wrap .ct-search-form input[type="search"] {
    color: #ffffff;
}

.ll-search-form-wrap .ct-search-form input[type="search"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.ll-search-form-wrap .ct-search-form button[type="submit"] {
    background-color: #146D03;
    color: #ffffff;
}

.ll-search-form-wrap .ct-search-form button[type="submit"] svg {
    fill: #ffffff;
    color: #ffffff;
}

.ll-search-results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.ll-search-count {
    font-size: 15px;
    color: #888;
    margin: 0 0 30px;
}

.ll-search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ll-search-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ll-search-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ll-search-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ll-search-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.ll-search-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ll-search-card:hover .ll-search-card-image img {
    transform: scale(1.08);
}

.ll-search-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.ll-search-card-content {
    padding: 20px;
}

.ll-search-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #999;
}

.ll-search-card-type {
    background: #146D03;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ll-search-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ll-search-card:hover .ll-search-card-title {
    color: #146D03;
}

.ll-search-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.ll-search-pagination {
    margin-top: 50px;
    text-align: center;
}

.ll-search-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ll-search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ll-search-pagination .page-numbers:hover {
    background: #146D03;
    color: #fff;
}

.ll-search-pagination .page-numbers.current {
    background: #146D03;
    color: #fff;
}

.ll-search-no-results {
    text-align: center;
    padding: 60px 20px;
}

.ll-search-no-results h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.ll-search-no-results p {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px;
}

.ll-search-no-results .ll-search-form-wrap {
    max-width: 500px;
    margin: 0 auto;
}

.ll-search-no-results .ct-search-form {
    border: 1px solid #ddd;
    border-radius: 50px;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
    .ll-search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 767px) {
    .ll-search-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ll-search-hero {
        padding: 40px 16px 36px;
    }

    .ll-search-title {
        font-size: 24px;
    }

    .ll-search-results-container {
        padding: 30px 16px 60px;
    }
}

/* Inner page header: burger left, logo centred (tablet + mobile) */
@media screen and (max-width: 1024px) {
    [data-elementor-id="607"] .e-con-inner {
        position: relative !important;
    }

    [data-elementor-id="607"] .e-con-inner > .elementor-widget-icon {
        position: absolute !important;
        left: 0 !important;
    }
}

/* ==========================================================================
   Responsive Menu
   ========================================================================== */

.responsive-menu a.highlighted span.sub-arrow svg,
.responsive-menu a.elementor-item-active span.sub-arrow svg {
    fill: #C6783E;
}

/* Mobile menu dropdown toggle */
.mobile-menu-active .menu-item-has-children > .sub-menu {
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding-left: 15px !important;
    border: none !important;
    min-width: 0 !important;
    max-width: none !important;
}

.mobile-menu-active .menu-item-has-children.mobile-submenu-open > .sub-menu {
    display: block !important;
}

/* Make the sub-arrow a tappable toggle */
.mobile-menu-active .sub-arrow {
    cursor: pointer;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.mobile-menu-active .sub-arrow svg {
    width: 12px;
    height: 12px;
}

.mobile-menu-active .mobile-submenu-open > a > .sub-arrow {
    transform: rotate(180deg);
}
