/**
 * Triply Theme - Additional Styles
 * Domain: localhost
 */

/* =============================================
   PAGE TRANSITION
============================================= */
body { opacity: 0; transition: opacity .4s ease; }
body.page-loaded { opacity: 1; }

/* =============================================
   STICKY HEADER
============================================= */
.elementor-location-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: box-shadow .3s ease, background .3s ease;
}
.elementor-location-header.sticky {
    box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

/* =============================================
   SCROLL TO TOP
============================================= */
.scrollup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #F59F26;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, transform .3s;
    z-index: 9990;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.scrollup.show {
    opacity: 1;
    visibility: visible;
}
.scrollup:hover {
    background: #956506;
    transform: translateY(-3px);
    color: #fff;
}

/* =============================================
   MOBILE NAVIGATION DRAWER
============================================= */
.triply-mobile-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    overflow-y: auto;
    transition: left .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
    padding: 20px 0;
}
.triply-mobile-nav.active { left: 0; }

.mobile-nav-close {
    display: block;
    text-align: right;
    padding: 10px 20px;
    font-size: 22px;
    color: #333;
    text-decoration: none;
}

.triply-mobile-nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.triply-mobile-nav .menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.triply-mobile-nav .menu li a:hover { color: #F59F26; }

.triply-mobile-nav .sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
}
.triply-mobile-nav .sub-menu a {
    padding-left: 36px;
    font-size: 14px;
    font-weight: 400;
}
.triply-mobile-nav .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform .25s;
}
.triply-mobile-nav .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

/* Overlay */
.triply-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
}
.triply-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   WHATSAPP FLOAT
============================================= */
.ht-ctc-chat { display: none; }


/* =============================================
   HERO SLIDER — KEN BURNS ZOOM EFFECT
============================================= */

/* Keyframe: zoom IN (1.0 → 1.15) */
@keyframes kenburns-in {
    0%   { transform: scale(1.0);  transform-origin: center center; }
    100% { transform: scale(1.1); transform-origin: center center; }
}

/* Keyframe: zoom OUT (1.15 → 1.0) */
@keyframes kenburns-out {
    0%   { transform: scale(1.1); transform-origin: 60% 40%; }
    100% { transform: scale(1.0);  transform-origin: 60% 40%; }
}

/* Text slide-up fade in */
@keyframes hero-text-in {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: -80px; /* adjust to your header height */
    padding-top: 80px;
}

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

/* Each slide: stack bg + overlay + content */
.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* The background image layer — this is what zooms */
.hero-bg {
  position: absolute;
  inset: 0;                     /* cover exactly the slide */
  background-size: cover;
  background-position: center;
  transform: scale(1.0);
  will-change: transform;
  z-index: 0;
}

/* Dark overlay above bg, below text */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.25) 60%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

/* Activate zoom-IN animation on the bg */
.hero-slide.is-active .hero-bg[data-zoom="in"],
.swiper-slide-active .hero-bg[data-zoom="in"] {
    animation: kenburns-in 7s ease-in-out forwards;
}

/* Activate zoom-OUT animation on the bg */
.hero-slide.is-active .hero-bg[data-zoom="out"],
.swiper-slide-active .hero-bg[data-zoom="out"] {
    animation: kenburns-out 7s ease-in-out forwards;
}

/* Text content above everything */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    max-width: 700px;
}


/* Animate text in when slide becomes active */
.swiper-slide-active .hero-heading,
.swiper-slide-active .hero-description,
.swiper-slide-active .hero-btn {
    animation: hero-text-in 0.9s ease forwards;
}
.swiper-slide-active .hero-description { animation-delay: 0.15s; opacity: 0; }
.swiper-slide-active .hero-btn         { animation-delay: 0.30s; opacity: 0; }

.hero-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    padding: 20px 0;
    margin: 20px 0 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    opacity: 0; /* starts hidden, animated in */
}
.hero-heading span { color: #F59F26; }

.hero-description {
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 550px;
    opacity: 0;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #F59F26;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245,159,38,0.45);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    opacity: 0;
}
.hero-btn:hover {
    background: #956506;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245,159,38,0.55);
    color: #fff;
}

/* Swiper nav colours */
.swiper-button-next,
.swiper-button-prev {
    color: #F59F26 !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    size: 1px;
}
.swiper-pagination-bullet-active { background: #F59F26 !important; }

/* =============================================
   TOUR CARDS
============================================= */
.babe_all_items_item_inner {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
}
.babe_all_items_item_inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.item_img { overflow: hidden; }
.item_img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .5s;
}
.item_img:hover img { transform: scale(1.06); }

.item_text { padding: 16px; }

.item-location {
    font-size: 13px;
    color: #888;
    margin: 6px 0 10px;
}
.item-location i { color: #F59F26; margin-right: 4px; }

.item_title a {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}
.item_title a:hover { color: #F59F26; }

.item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}
.item_info_price label { font-size: 12px; color: #999; }
.currency_amount { font-size: 18px; font-weight: 700; color: #F59F26; }

.read-more-item {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}
.read-more-item:hover { color: #F59F26; }
.read-more-item i { margin-left: 4px; }

/* =============================================
   FOOTER
============================================= */
.elementor-location-footer {
    background: #1a1a2e;
    color: #ccc;
}

/* =============================================
   ARCHIVE & BLOG
============================================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 1024px) { .posts-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 767px)  { .posts-grid { grid-template-columns: 1fr; } }

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .3s;
}
.blog-card:hover { transform: translateY(-4px); }

.card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s;
}
.card-thumb:hover img { transform: scale(1.05); }

.card-body { padding: 20px; }
.card-meta { font-size: 13px; color: #999; margin-bottom: 10px; }
.card-meta a { color: #F59F26; text-decoration: none; margin-right: 10px; }
.card-title { font-size: 18px; margin-bottom: 10px; }
.card-title a { color: #333; text-decoration: none; }
.card-title a:hover { color: #F59F26; }
.card-excerpt { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 14px; }
.read-more { font-size: 14px; font-weight: 600; color: #F59F26; text-decoration: none; }
.read-more i { margin-left: 4px; }

/* =============================================
   PAGINATION
============================================= */
.triply-pagination { text-align: center; margin: 40px 0; }
.triply-pagination a,
.triply-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 3px;
    text-decoration: none;
    color: #333;
    transition: all .25s;
}
.triply-pagination a:hover,
.triply-pagination .current {
    background: #F59F26;
    border-color: #F59F26;
    color: #fff;
}

/* =============================================
   SINGLE POST
============================================= */
.single-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}
.entry-header { margin-bottom: 30px; }
.entry-header h1 { font-size: clamp(24px, 4vw, 38px); }
.entry-meta { font-size: 13px; color: #999; margin-top: 10px; }
.entry-meta a { color: #F59F26; text-decoration: none; }
.entry-content img { max-width: 100%; border-radius: 6px; }

/* =============================================
   CONTACT FORM
============================================= */
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color .25s;
}
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-color: #F59F26;
    outline: none;
}

/* =============================================
   PAGE HERO BANNER
============================================= */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 10px; }

/* =============================================
   SAFARI CARDS
============================================= */
.elementor-cta {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
}
.elementor-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .5s;
}
.elementor-cta:hover .elementor-cta__bg { transform: scale(1.05); }
.elementor-cta__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
}
.elementor-cta__content {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: #fff;
}
.elementor-cta__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.elementor-cta__description { font-size: 14px; opacity: .85; margin-bottom: 16px; }
.elementor-cta__button {
    display: inline-block;
    padding: 10px 22px;
    background: #F59F26;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background .3s;
}
.elementor-cta__button:hover { background: #956506; color: #fff; }

/* =============================================
   RESPONSIVE UTILITIES
============================================= */
@media (max-width: 767px) {
    .hero-slide-content { padding: 0 24px; }
    .hero-content        { padding: 0 24px; }
    .page-hero { padding: 80px 20px 40px; }
}
