@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap");

body {
    font-family: "Poppins", sans-serif;
    color: #333;
    background-color: #f9f6f2;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Playfair Display", serif;
}

.hero-bg {
    background-image: linear-gradient(
            rgba(255, 245, 247, 0.7),
            rgba(255, 245, 247, 0.7)
        ),
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 192, 203, 0.2),
        rgba(218, 165, 32, 0.2)
    );
    pointer-events: none;
}

.hero-bg .sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 5s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0);
        opacity: 0.8;
    }
}

.booking-form {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.countdown {
    background: linear-gradient(135deg, #d4a5ff, #68d394);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allow clicks to pass through */
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .p-6 {
    position: relative;
    z-index: 2; /* Ensure content stays above the overlay */
}

.testimonial-slider {
    overflow-x: hidden;
}

.testimonial-card {
    min-width: 100%;
    transition: transform 0.5s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background-color: #7c3aed;
    transform: scale(1.2);
}

.testimonial-dot {
    transition: all 0.3s ease;
}

.package-card {
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: scale(1.03);
}

.package-popular::before {
    content: "Most Popular";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #333;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thai-border {
    border-bottom: 2px solid #ffd700;
    position: relative;
    margin-bottom: 2rem;
}

.thai-border::after {
    content: "🪷";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}
