/* VILLA LUXURY STYLESHEET
    Theme: Modern, Minimalist, Luxury
    Primary Color: #C5A37F (Gold)
*/

:root {
    --primary-gold: #0c43ac;
    --primary-dark: #1a1a1a;
    --soft-cream: #ffffff;
    --text-gray: #666;
    --white: #ffffff;
    --shadow-light: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--soft-cream);
    color: var(--primary-dark);
    line-height: 1.6;
}

h1, h2, h3, .luxury-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Reusable Components */

/* Container Utama */
.villa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Efek x-cloak untuk Alpine.js (Jika digunakan) */
[x-cloak] { display: none !important; }

/* Judul dengan Garis Emas */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto;
}

/* Card Modern untuk Villa/Kontak */
.luxury-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-wrap: wrap;
}

/* Tombol Premium */
.btn-gold {
    background: var(--primary-gold);
    color: var(--white);
    padding: 12px 35px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background: #0c43ac;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 163, 127, 0.3);
}

/* Styling Map */
.villa-map-wrapper {
    min-height: 450px;
    background: #e5e5e5;
    position: relative;
}

.villa-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: contrast(1.1) brightness(0.9);
}

/* Info List (WhatsApp, IG, Email) */
.info-list {
    list-style: none;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--soft-cream);
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    border: 1px solid rgba(197, 163, 127, 0.2);
}

.info-item:hover .icon-circle {
    background: var(--primary-gold);
    color: var(--white);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .luxury-card {
        flex-direction: column;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}
/* Efek Hover untuk Teks di Dalam Card */
.group .absolute {
    transition: background 0.5s ease;
}

.group:hover .absolute {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
}

.group h3, .group p {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.group:hover h3 {
    transform: translateY(-5px);
}
/* villa.css tambahan */

.testimonial-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold); /* Menggunakan variabel gold kita */
    background-color: #2d2d2d;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Animasi Pulse lembut untuk icon Google */
.animate-pulse {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}
.service-card {
    border: 1px solid rgba(197, 163, 127, 0.1);
}

.service-card:hover i {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

.service-card h3 {
    color: var(--dark);
    transition: color 0.4s ease;
}

.service-card:hover h3 {
    color: var(--gold);
}
#services {
    background-attachment: fixed; /* Membuat efek parallax di desktop */
}

@media (max-width: 768px) {
    #services {
        background-attachment: scroll; /* Matikan fixed di mobile agar tidak berat */
    }
}
/* villa.css tambahan */

.testimonial-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold); /* Menggunakan variabel gold kita */
    background-color: #2d2d2d;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Animasi Pulse lembut untuk icon Google */
.animate-pulse {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}
 /* Haluskan gerakan melayang */
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0px); }
    }
    .animate-float {
        animation: float 3s ease-in-out infinite;
    }
/* Animasi membesar saat chat box muncul */
    [x-transition\:animate-scale] {
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    [x-transition\:animate-scale-start] {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    [x-transition\:animate-scale-end] {
        opacity: 1;
        transform: scale(1) translateY(0);
    }