﻿/* Pattern Batik Halus */
.bg-batik-subtle {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C5A059' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Hero Image Slider Animation */
.img-kuliner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-kuliner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease-in-out;
}

.hero-overlay {
    /* Gradien diperkuat agar text mobile aman */
    background: linear-gradient(to top, #F9F7F2 10%, rgba(45, 42, 38, 0.6) 50%, rgba(45, 42, 38, 0.4) 100%);
}

.img-current {
    transform: scale(1.05) translateX(0);
    opacity: 1;
}

.img-next {
    transform: scale(1.1) translateX(100%);
    opacity: 0;
}

/* Typography Enhancements */
.drop-cap::first-letter {
    float: left;
    font-size: 3.5rem;
    line-height: 0.8;
    font-weight: bold;
    color: #8B3A3A; /* nusantara-red */
    margin-right: 0.5rem;
    font-family: 'Playfair Display', serif;
}

/* Timeline Step Recipe */
.step-connector::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: -20px;
    left: 15px;
    width: 2px;
    background-color: #e5e7eb;
    z-index: 0;
}

.step-item:last-child .step-connector::before {
    display: none;
}

/* Recommendation Slider styles */
.rec-slide {
    position: absolute;
    inset: 0;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease;
    opacity: 0;
    transform: translateX(100%);
}

    .rec-slide.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 10;
    }

    .rec-slide.prev {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 0;
    }
