/*
Theme Name: Jengjavilla
Theme URI: https://jengjavilla.com
Author: Jengjavilla Team
Author URI: https://jengjavilla.com
Description: A modern WordPress theme with Elementor support, featuring parallax hero header and custom slider
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jengjavilla
Tags: elementor, parallax, slider, custom-header, custom-logo, responsive
*/

/* Plus Jakarta Sans Font */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta/PlusJakartaSans-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* Font Awesome */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('assets/fonts/fontawesome/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('assets/fonts/fontawesome/fa-regular-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('assets/fonts/fontawesome/fa-brands-400.woff2') format('woff2');
}

.fa, .fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.far {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.fab {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
}

.fa, .fas, .far, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Icon content mapping */
.fa-phone:before { content: "\f095"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-map-marker-alt:before { content: "\f3c5"; }
.fa-instagram:before { content: "\f16d"; }
.fa-facebook:before { content: "\f09a"; }
.fa-twitter:before { content: "\f099"; }
.fa-linkedin:before { content: "\f08c"; }
.fa-whatsapp:before { content: "\f232"; }

/* CSS Custom Properties */
:root {
    --hero-title-font-size: 48px;
    --hero-title-line-height: 1.2;
    --hero-title-letter-spacing: 0px;
    --hero-text-font-size: 60px;
    --hero-text-line-height: 1.6;
    --hero-text-letter-spacing: 0px;
    --hero-content-margin-bottom: 42px;
    --hero-content-max-width: 900px;
    --hero-content-padding-top: 60px;
    --hero-content-padding-bottom: 60px;
    --hero-content-padding-left: 40px;
    --hero-content-padding-right: 40px;
    --footer-partner-logo-size: 80px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Section Scroll Offset for Fixed Header */
section,
.elementor-section {
    scroll-margin-top: 90px;
}

/* Main Header Navigation */
.site-header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.site-header-main.scrolled {
    background: rgba(27, 58, 66, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding img {
    height: 60px;
    width: auto;
}

.site-logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #1B3A42;
}

.site-logo-text {
    text-decoration: none;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.site-header-main.scrolled .main-navigation a {
    /* color: #fff; */
    text-shadow: none;
}

.main-navigation a:hover {
    color: #fff;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a.active {
    color: #fff;
}

.main-navigation a.active::after {
    width: 100%;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    position: relative;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
}

.mobile-menu-toggle .bar:nth-child(1) {
    top: 10px;
}

.mobile-menu-toggle .bar:nth-child(2) {
    top: 18px;
}

.mobile-menu-toggle .bar:nth-child(3) {
    top: 26px;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    top: 18px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    top: 18px;
    transform: rotate(-45deg);
}

.site-header-main.scrolled .mobile-menu-toggle .bar {
    background: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.7s ease-out;
    will-change: opacity, transform;
    pointer-events: none;
}

/* Simple slider - all slides hidden by default */
.slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1000ms ease-in-out;
    pointer-events: none;
}

/* Active slide visible */
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* Overlay backdrop for better text readability */
.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Slide Content Overlay */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: var(--hero-content-max-width);
    padding: 0 20px;
    margin-bottom: var(--hero-content-margin-bottom);
}

.slide-content-inner {
    /* background: rgba(0, 0, 0, 0.25); */
    padding-top: var(--hero-content-padding-top);
    padding-bottom: var(--hero-content-padding-bottom);
    padding-left: var(--hero-content-padding-left);
    padding-right: var(--hero-content-padding-right);
    border-radius: 10px;
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
}

.slide-title {
    font-size: var(--hero-title-font-size);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: var(--hero-title-line-height);
    letter-spacing: var(--hero-title-letter-spacing);
}

.slide-text {
    font-size: var(--hero-text-font-size);
    /* margin-bottom: 30px; */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    line-height: var(--hero-text-line-height);
    letter-spacing: var(--hero-text-letter-spacing);
}

.slide-button {
    display: inline-block;
    padding: 15px 40px;
    background: #142C33;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Main Content */
.main-content {
    position: relative;
    background: #fff;
    z-index: 10;
    padding: 0;
}

.main-content .container {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Styles */
.site-footer {
    background: #1B3A42;
    padding: 0;
    color: #fff;
    position: relative;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 60px 30px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-family: 'Georgia', serif;
    margin-bottom: 10px;
}

.footer-logo-image {
    height: 80px;
    width: auto;
}

.footer-logo h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
    font-style: italic;
}

.footer-logo .subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -5px;
}

.partner-logo img {
    height: var(--footer-partner-logo-size);
    width: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-item i {
    margin-top: 3px;
    font-size: 1.1rem;
    color: #ffffff;
    min-width: 18px;
    flex-shrink: 0;
}

.footer-right {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: flex-end;
}

.footer-support {
    text-align: right;
    margin-top: auto;
}

.footer-support p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-management {
    text-align: right;
    margin-top: 30px;
}

.footer-management p {
    font-size: 0.9rem;
    /* margin-bottom: 15px; */
}

.footer-logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-logos img {
    height: 80px;
    width: auto;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
}

.footer-bottom-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 1.3rem;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-copyright {
    text-align: right;
    font-size: 0.85rem;
}

/* WPForms Contact Form Styling */
.contact-form .wpforms-container,
.contact-form .wpforms-form input,
.contact-form .wpforms-form textarea,
.contact-form .wpforms-form button,
.contact-form .wpforms-field-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-form .wpforms-submit-container {
    width: 100%;
}

.contact-form .wpforms-submit-container button[type="submit"],
.contact-form .wpforms-submit-container .wpforms-submit {
    width: 100%;
    display: block;
}

/* Responsive */
@media (max-width: 968px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 0px;
        padding: 40px 30px 20px 30px;
    }

    .footer-right {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .footer-support,
    .footer-management {
        text-align: left;
    }

    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding: 0 30px;
    }

    .footer-copyright {
        text-align: left;
    }
}

@media (max-width: 968px) {
    /* Mobile navbar - transparent at top */
    .site-header-main {
        background: transparent;
    }

    /* Mobile navbar - dark backdrop when scrolled */
    .site-header-main.scrolled {
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* Hamburger icon - white color */
    .mobile-menu-toggle .bar {
        background: #ffffff;
    }

    .site-header-main.scrolled .mobile-menu-toggle .bar {
        background: #ffffff;
    }

    /* Mobile menu navigation - slide from right */
    .main-navigation {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 100%;
        /* max-width: 400px; */
        height: calc(100vh - 85px);
        background: #142C33;
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        transition: right 0.3s ease;
        /* box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3); */
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    /* Mobile menu links - white color for dark backdrop */
    .main-navigation a {
        font-size: 1.2rem;
        color: #ffffff;
        text-shadow: none;
    }

    .site-header-main.scrolled .main-navigation a {
        color: #ffffff;
    }

    .main-navigation a:hover {
        color: #142C33;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .header-container {
        padding: 15px 20px;
    }

    .header-container{
        background: #142C33;
    }

    /* Logo color for mobile */
    .site-logo-text h1 {
        color: #000000;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }

    .slide-content{
        width: 100%;
    }

    .slide-image {
        height: 100%;
        background-size: cover;
        background-position: center center;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-text {
        font-size: 30px;
    }

    .slide-content-inner {
        padding: 40px 30px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }

    .footer-wrapper {
        padding: 30px 20px;
    }

    .footer-logo h2 {
        font-size: 2rem;
    }

    .slide-content{
        bottom: 30% !important;
    }
}

@media (max-width: 480px) {
    .site-branding img {
        height: 50px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-text {
        font-size: 30px;
        width: 100%;
    }

    .slide-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .slide-content-inner {
        padding: 30px 20px;
    }

    .slider-nav {
        bottom: 20px;
    }

    .footer-logos {
        flex-direction: row;
        gap: 15px;
    }
}

/* ========================================
   Elementor Custom Styles
   ======================================== */

/* Caption Inside Image (Overlay Style)
   Usage: Add custom class "caption-inside" to Image widget in Advanced > CSS Classes
*/
.caption-inside .elementor-image {
    position: relative;
    overflow: hidden;
}

.caption-inside .elementor-image img {
    display: block;
    width: 100%;
    height: auto;
}

.caption-inside .elementor-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: #ffffff;
    padding: 40px 20px 20px 20px;
    margin: 0;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Optional: Hide caption on hover */
.caption-inside .elementor-image:hover figcaption {
    transform: translateY(100%);
}

/* Caption Inside - Centered Version
   Usage: Add custom class "caption-inside-center" to Image widget
*/
.caption-inside-center .elementor-image {
    position: relative;
    overflow: hidden;
}

.caption-inside-center .elementor-image img {
    display: block;
    width: 100%;
    height: auto;
}

.caption-inside-center .elementor-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 20px;
    margin: 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Caption Inside - Full Overlay Version
   Usage: Add custom class "caption-overlay-full" to Image widget
*/
.caption-overlay-full .elementor-image {
    position: relative;
    overflow: hidden;
}

.caption-overlay-full .elementor-image img {
    display: block;
    width: 100%;
    height: auto;
}

.caption-overlay-full .elementor-image figcaption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.caption-overlay-full .elementor-image:hover figcaption {
    opacity: 1;
}

/* Caption Outside (Default Elementor Style - Enhanced)
   Usage: Add custom class "caption-outside" to Image widget
*/
.caption-outside .elementor-image figcaption {
    position: static;
    background: transparent;
    color: inherit;
    padding: 15px 0 0 0;
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    color: #666;
}

/* ==========================================================================
   Villa Modal Z-Index Override
   ========================================================================== */
.villa-modal {
    z-index: 99999 !important;
}

.villa-modal.active {
    z-index: 99999 !important;
}

body.villa-modal-open .site-header-main,
body.villa-modal-open .header-container {
    z-index: 99 !important;
}


/* custom itl */
.iti__flag-box{
    display: none !important;
}

.iti__country-list{
    padding: 0 10px !important;
}
/* Image Carousel Grid Layout */

/* Image Carousel Grid Layout for slider-ccontent */
.slider-ccontent .elementor-image-carousel-wrapper,
.slider-ccontent .elementor-image-carousel {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 10px !important;
}

.slider-ccontent .swiper-container,
.slider-ccontent .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 10px !important;
}

.slider-ccontent img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin: 0;
    line-height: 1;
}

/* ==========================================================================
   Scroll Animation
   ========================================================================== */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
}

.scroll-animate.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Skip animation for hero and header */
.hero-slider .scroll-animate,
.site-header-main .scroll-animate {
    opacity: 1;
    transform: none;
    transition: none;
}

.contact-item a {
  color: #fff; /* gunakan warna teks asli */
  text-decoration: none; /* hilangkan underline */
  -webkit-tap-highlight-color: transparent; /* hilangkan highlight biru di mobile */
}

.contact-item a:focus,
.contact-item a:active,
.contact-item a:visited {
  color: #fff;
  text-decoration: none;
  outline: none;
}

