/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Child theme for Hello Elementor theme
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ============================================
   HERO SLIDER - FULL CSS
   ============================================ */

/* Hero Container */
.custom-hero-slider {
    position: relative;
    width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
    overflow: visible;
    z-index: 1;
}

/* Swiper Container - Fixed height */
.custom-hero-slider .hero-swiper-main .swiper-slide-duplicate {
    display: none !important;
}

.hero-swiper {
    width: 100%;
    height: 700px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Black Fade Overlay - Top */
.hero-swiper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Black Fade Overlay - Bottom */
.hero-swiper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Swiper Slides */
.hero-swiper .swiper-wrapper {
    height: 100%;
}

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

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================
   ARROW BUTTON
   ============================================ */

.hero-swiper-button-next {
    position: absolute !important;
    bottom: 40px !important;
    right: 40px !important;
    width: 139px !important;
    height: 139px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100 !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.hero-swiper-button-next:hover {
    transform: scale(1.05) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08)) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

.hero-swiper-button-next svg {
    width: 28px !important;
    height: 28px !important;
    transition: transform 0.3s ease !important;
}

.hero-swiper-button-next:hover svg {
    transform: translateX(3px) !important;
}

/* ============================================
   CTA BUTTONS - MODERN SLIDE EFFECT
   ============================================ */

.hero-cta-buttons {
    position: absolute;
    bottom: 40px;
    left: 140px;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.hero-cta-btn {
    position: relative;
    background: #C7A53E;
    color: #fff;
    text-decoration: none;
    padding: 18px 35px;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    overflow: hidden;
    border: none;
    border-radius: 0 0 15px 0;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Slide Effect - Warna dari kiri */
.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #8B7428;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Hover Effect - Slide masuk dari kiri */
.hero-cta-btn:hover::before {
    left: 0;
}

.hero-cta-btn:hover {
    color: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* Text Wrapper */
.hero-cta-btn span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Icon Styling */
.hero-cta-btn svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

/* Icon Animation on Hover */
.hero-cta-btn:hover svg {
    transform: rotate(90deg);
}

/* Active/Click Effect */
.hero-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Focus State for Accessibility */
.hero-cta-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 165, 62, 0.4);
}

/* ============================================
   BEDS & BATHS STYLING
   ============================================ */
.rem-custom-field .rem-value {
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    display: block;
    text-align: left;
}

.rem-custom-field .rem-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    display: block;
    margin-top: 4px;
    text-align: left;
}

/* ============================================
   SERVICES & FACILITIES - GOLD CHECKMARK
   ============================================ */
.rem-field-value {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
    line-height: 1.5;
}

/* Gold Checkmark */
.service-check {
    color: #C7A53E;
    font-size: 18px;
    font-weight: 700;
    min-width: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.service-text {
    flex: 1;
    font-size: 16px;
    color: #fff;
    line-height: 1.4;
}

/* Hide original separator */
.rem-field-sep {
    display: none !important;
}

/* ============================================
   REM PROPERTY RATES - GOLD PREMIUM STYLE
   ============================================ */

.rates-table-wrap {
    margin: 28px 0;
    padding: 28px;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(199, 165, 62, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(199, 165, 62, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Gold accent line at top */
.rates-table-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C7A53E 0%, #8B7428 100%);
}

.rates-caption {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(199, 165, 62, 0.15);
}

.rates-caption h3 {
    margin: 0;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #C7A53E;
}

.rates-caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
}

/* Table Styling */
.rates-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid rgba(199, 165, 62, 0.15);
    background: rgba(0, 0, 0, 0.25);
}

.rates-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: #C7A53E;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(199, 165, 62, 0.15), rgba(0, 0, 0, 0.3));
    border-bottom: 2px solid rgba(199, 165, 62, 0.3);
    text-align: left;
}

.rates-table td {
    padding: 20px 20px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(199, 165, 62, 0.1);
}

/* Vertical separators */
.rates-table th + th,
.rates-table td + td {
    border-left: 1px solid rgba(199, 165, 62, 0.1);
}

/* Row hover effect */
.rates-table tbody tr {
    transition: all 0.3s ease;
}

.rates-table tbody tr:hover {
    background: rgba(199, 165, 62, 0.08);
    transform: translateX(3px);
}

/* Price column - Gold emphasis */
.rates-table td:last-child {
    font-weight: 800;
    font-size: 16px;
    color: #C7A53E;
    white-space: nowrap;
    text-align: right;
}

/* Season column - Bold */
.rates-table td:first-child {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

/* Remove last border */
.rates-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== CTA Block Under Table ===== */
.rates-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(199, 165, 62, 0.2);
}

.rates-cta .hint {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
}

.rates-cta .hint strong {
    color: #C7A53E;
    font-weight: 700;
}

/* CTA Button - Gold Style with Slide Effect */
.rates-cta a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 0 0 15px 0;
    text-decoration: none;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: #C7A53E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Slide effect from left */
.rates-cta a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #8B7428;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.rates-cta a:hover::before {
    left: 0;
}

.rates-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Icon styling */
.rates-cta a svg,
.rates-cta a i {
    transition: transform 0.3s ease;
}

.rates-cta a:hover svg,
.rates-cta a:hover i {
    transform: translateX(3px);
}

/* ===== Additional Rates Section ===== */
.rates-additional {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(199, 165, 62, 0.15);
}

.rates-additional-title {
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #C7A53E;
    margin-bottom: 14px;
}

.rates-additional-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.rates-additional-list li {
    position: relative;
    padding: 16px 18px 16px 50px;
    border-radius: 0 0 12px 0;
    background: rgba(199, 165, 62, 0.05);
    border: 1px solid rgba(199, 165, 62, 0.15);
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Gold checkmark icon */
.rates-additional-list li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 800;
    color: #C7A53E;
}

.rates-additional-list li:hover {
    background: rgba(199, 165, 62, 0.08);
    transform: translateX(3px);
}

.rates-additional-list strong {
    color: #C7A53E;
    font-weight: 700;
}

/* ============================================
   GALLERY LAYOUT - 1 Big + 5 Small
   ============================================ */

.gallery-smart .e-gallery-container,
.gallery-smart .elementor-gallery__container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 12px !important;
    grid-auto-flow: dense !important;
}

.gallery-smart a.e-gallery-item {
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #000;
    position: relative;
}

.gallery-smart a.e-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.gallery-smart .e-gallery-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 300px;
    background-size: cover !important;
    background-position: center !important;
}

/* Layout Grid:
   [1 large] [2] [3]
   [1 large] [4] [5]
*/
.gallery-smart a.e-gallery-item:nth-child(1) { 
    grid-column: 1 / 2; 
    grid-row: 1 / 3; /* Span 2 rows */
}
.gallery-smart a.e-gallery-item:nth-child(1) .e-gallery-image {
    min-height: 400px;
}

.gallery-smart a.e-gallery-item:nth-child(2) { 
    grid-column: 2 / 3; 
    grid-row: 1 / 2; 
}

.gallery-smart a.e-gallery-item:nth-child(3) { 
    grid-column: 3 / 4; 
    grid-row: 1 / 2; 
}

.gallery-smart a.e-gallery-item:nth-child(4) { 
    grid-column: 2 / 3; 
    grid-row: 2 / 3; 
}

.gallery-smart a.e-gallery-item:nth-child(5) { 
    grid-column: 3 / 4; 
    grid-row: 2 / 3; 
}

/* Hide items >5 but keep in DOM for lightbox */
.gallery-smart a.e-gallery-item.is-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Extra Large Screens (1601px+) */
@media screen and (min-width: 1601px) {
    .hero-swiper {
        height: 800px;
    }
    
    .hero-swiper::before {
        height: 250px;
    }
    
    .hero-swiper::after {
        height: 300px;
    }
    
    .hero-swiper-button-next {
        bottom: 50px !important;
        right: 50px !important;
        width: 150px !important;
        height: 150px !important;
    }
    
    .hero-swiper-button-next svg {
        width: 32px !important;
        height: 32px !important;
    }
    
    .hero-cta-btn {
        padding: 20px 40px;
        font-size: 15px;
        min-width: 220px;
        border-radius: 0 0 15px 0;
    }
    
    .hero-cta-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Large Screens (992px - 1600px) */
@media screen and (min-width: 992px) and (max-width: 1600px) {
    .hero-swiper {
        height: 600px;
    }
    
    .hero-swiper::before {
        height: 180px;
    }
    
    .hero-swiper::after {
        height: 220px;
    }
    
    .hero-swiper-button-next {
        bottom: 3vw !important;
        right: 3vw !important;
        width: 8.6875vw !important;
        height: 8.6875vw !important;
    }
    
    .hero-cta-buttons {
        left: 80px;
    }
    
    .hero-cta-btn {
        padding: 16px 32px;
        min-width: 190px;
        border-radius: 0 0 15px 0;
    }
}

/* Medium Screens (768px - 991px) */
@media screen and (max-width: 991px) {
    .hero-swiper {
        height: 450px;
    }
    
    .hero-swiper::before {
        height: 150px;
    }
    
    .hero-swiper::after {
        height: 180px;
    }
    
    .hero-swiper-button-next {
        bottom: 30px !important;
        right: 30px !important;
        width: 100px !important;
        height: 100px !important;
    }
    
    .hero-swiper-button-next svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .hero-cta-buttons {
        left: 60px;
        gap: 15px;
    }
    
    .hero-cta-btn {
        padding: 14px 28px;
        font-size: 13px;
        gap: 15px;
        min-width: 180px;
        border-radius: 0 0 25px 0;
    }
    
    .hero-cta-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .service-item {
        gap: 8px;
        padding: 3px 0;
    }
    
    .service-check {
        font-size: 16px;
        min-width: 16px;
    }
    
    .service-text {
        font-size: 14px;
    }
}

/* Small Screens (481px - 767px) */
@media screen and (max-width: 767px) {
    .hero-swiper {
        height: 350px;
    }
    
    .hero-swiper::before {
        height: 120px;
    }
    
    .hero-swiper::after {
        height: 150px;
    }
    
    .hero-swiper-button-next {
        bottom: 20px !important;
        right: 20px !important;
        width: 70px !important;
        height: 70px !important;
    }
    
    .hero-swiper-button-next svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .hero-cta-buttons {
        left: 20px;
        bottom: 20px;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta-btn {
        padding: 12px 24px;
        font-size: 12px;
        letter-spacing: 2px;
        gap: 12px;
        min-width: 160px;
        border-radius: 0 0 15px 0;
    }
    
    .hero-cta-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .rem-field-value {
        gap: 4px;
    }
}

/* Extra Small Screens (320px - 480px) */
@media screen and (max-width: 480px) {
    .hero-swiper {
        height: 300px;
    }
    
    .hero-swiper::before {
        height: 100px;
    }
    
    .hero-swiper::after {
        height: 130px;
    }
    
    .hero-swiper-button-next {
        bottom: 15px !important;
        right: 15px !important;
        width: 60px !important;
        height: 60px !important;
    }
    
    .hero-swiper-button-next svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .hero-cta-buttons {
        left: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .hero-cta-btn {
        padding: 10px 20px;
        font-size: 11px;
        letter-spacing: 1.8px;
        gap: 10px;
        min-width: 140px;
        border-radius: 0 0 15px 0;
    }
    
    .hero-cta-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ===== Rates Table Mobile ===== */
@media (max-width: 860px) {
    .rates-table-wrap {
        padding: 20px;
    }
    
    .rates-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rates-caption h3 {
        font-size: 20px;
    }
    
    /* Stack table on mobile */
    .rates-table thead {
        display: none;
    }
    
    .rates-table,
    .rates-table tbody,
    .rates-table tr,
    .rates-table td {
        display: block;
        width: 100%;
    }
    
    .rates-table tr {
        margin-bottom: 16px;
        padding: 14px;
        border: 1px solid rgba(199, 165, 62, 0.2);
        border-radius: 0 0 12px 0;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .rates-table tr:hover {
        transform: none;
    }
    
    .rates-table td {
        border: none;
        padding: 10px 0;
        text-align: left !important;
    }
    
    .rates-table td + td {
        border-left: none;
        border-top: 1px solid rgba(199, 165, 62, 0.1);
        padding-top: 10px;
        margin-top: 10px;
    }
    
    /* Mobile data labels */
    .rates-table td::before {
        content: attr(data-label);
        display: block;
        font-family: 'Barlow Condensed', Arial, sans-serif;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #C7A53E;
        margin-bottom: 6px;
    }
    
    .rates-table td:last-child {
        font-size: 18px;
        text-align: left !important;
    }
    
    /* Mobile CTA */
    .rates-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    
    .rates-cta a {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile additional list */
    .rates-additional-list li {
        padding: 14px 16px 14px 45px;
    }
    
    .rates-additional-list li::before {
        left: 16px;
        font-size: 18px;
    }
    
    /* Gallery Mobile */
    .gallery-smart .e-gallery-container,
    .gallery-smart .elementor-gallery__container {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 8px !important;
    }
    
    .gallery-smart a.e-gallery-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    .gallery-smart a.e-gallery-item:nth-child(1) .e-gallery-image,
    .gallery-smart .e-gallery-image {
        min-height: 250px;
    }
    
    .gallery-smart a.e-gallery-item:nth-child(5)::after {
        bottom: 12px;
        right: 12px;
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .rates-table-wrap {
        padding: 16px;
    }
    
    .rates-caption h3 {
        font-size: 18px;
    }
    
    .rates-cta a {
        padding: 14px 24px;
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .hero-swiper-button-next,
    .hero-cta-buttons {
        display: none !important;
    }
}