/* wisata  */

/* Header Image Styles */
.header-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(19, 62, 135, 0.15);
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary-color, #133e87);
}

.header-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(19, 62, 135, 0.25);
}

/* Responsive adjustments for header image */
@media (max-width: 768px) {
    .header-image {
        min-height: 200px;
        max-height: 40vh;
    }
}

@media (max-width: 480px) {
    .header-image {
        min-height: 180px;
        max-height: 35vh;
        border-radius: 0;
    }
}

/* clamp overflow on wide children to avoid horizontal shift */
.header-bg,
.profil-header,
.nav-wisata-section,
.wisata-section,
.atraksi-section,
.akomodasi-section,
.kuliner-section,
.sewa {
    max-width: 100%;
    overflow-x: clip;
}

/* Travel Agency Section Styles */
.sewa {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(243, 243, 224, 0.3), rgba(19, 62, 135, 0.05));
    width: 100%;
}

.sewa-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: var(--primary-color);
    padding-top: 30px;
    font-family: 'Playfair Display SC', serif;
    margin: 10px auto 40px;
    line-height: 1.15;
    letter-spacing: 0.5px;
    max-width: min(1100px, 92vw);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sewa-title::before,
.sewa-title::after {
    content: "";
    height: 2px;
    background: currentColor;
    opacity: .25;
    flex: 1;
    max-width: 160px;
}

.travel-agency-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.travel-agency-card {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(19, 62, 135, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 35px 5%;
    border: 1px solid rgba(19, 62, 135, 0.1);
    width: 100%;
}

.travel-agency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(19, 62, 135, 0.15);
}

.agency-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(19, 62, 135, 0.1);
    padding-bottom: 20px;
}

.agency-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--third-color);
    box-shadow: 0 5px 15px rgba(19, 62, 135, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.agency-logo img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.agency-info {
    flex: 1;
}

.agency-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 5px;
    font-family: 'Playfair Display', serif;
}

.agency-info p {
    color: #555;
    margin: 0 0 10px;
    font-size: 1rem;
}

.travel-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #444;
}

.agency-services {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.service-item {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #f3f3e0, #eef3fb);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(19, 62, 135, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(19, 62, 135, 0.15);
    background: linear-gradient(135deg, #eef3fb, #f3f3e0);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-item span {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

.agency-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
    font-size: 0.95rem;
}

.feature i {
    color: var(--primary-color);
}

.agency-contact {
    background: linear-gradient(135deg, rgba(19, 62, 135, 0.05), rgba(243, 243, 224, 0.2));
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.agency-contact h4 {
    color: var(--primary-color);
    margin: 0 0 15px;
    font-size: 1.2rem;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Tombol Lihat Lebih Lanjut yang Diperbaiki */
.lihat-lanjut-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a56c5 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 62, 135, 0.3);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.lihat-lanjut-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(19, 62, 135, 0.4);
    background: linear-gradient(135deg, #1a56c5 0%, var(--primary-color) 100%);
}

.lihat-lanjut-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(19, 62, 135, 0.3);
}

.lihat-lanjut-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.lihat-lanjut-btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-btn.whatsapp {
    background: #25D366;
    color: white;
}

.contact-btn.email {
    background: #4285F4;
    color: white;
}

.contact-btn.phone {
    background: #FF5722;
    color: white;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Modal Styles */
.travel-modal, .deskripsi-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.travel-modal-content {
    position: relative;
    background-color: #fff;
    margin: 30px auto;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.travel-modal-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), #1a56c5);
    color: white;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.travel-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.travel-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.travel-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.travel-modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Styling untuk modal deskripsi */
.deskripsi-content {
    color: #333;
    line-height: 1.6;
}

.deskripsi-content h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(19, 62, 135, 0.1);
    padding-bottom: 8px;
}

.deskripsi-content h3:first-child {
    margin-top: 0;
}

.deskripsi-content p {
    margin-bottom: 15px;
}

.deskripsi-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.deskripsi-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 5px;
}

.deskripsi-content li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Services Grid dalam Modal */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(19, 62, 135, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(19, 62, 135, 0.2);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-details {
    padding: 20px;
}

.service-details h3 {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.service-details p {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.service-feature {
    background: rgba(19, 62, 135, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Section dalam Modal */
.contact-section {
    background: linear-gradient(135deg, rgba(19, 62, 135, 0.05), rgba(243, 243, 224, 0.2));
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.contact-info h3 {
    color: var(--primary-color);
    margin: 0 0 15px;
    font-size: 1.3rem;
}

.contact-info p {

animation: fadeIn 0.3s ease;
}

.travel-modal-content, .deskripsi-modal-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.travel-modal-header, .deskripsi-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.travel-modal-header h2, .deskripsi-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.travel-modal-close, .deskripsi-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.travel-modal-body, .deskripsi-modal-body {
    padding: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-details {
    padding: 15px;
}

.service-details h3 {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-details p {
    margin: 0 0 15px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.service-feature {
    background: #f3f3e0;
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-section {
    background: linear-gradient(135deg, rgba(19, 62, 135, 0.05), rgba(243, 243, 224, 0.2));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.contact-info h3 {
    color: var(--primary-color);
    margin: 0 0 15px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Styles for Travel Agency */
@media (max-width: 768px) {
    .agency-header {
        flex-direction: column;
        text-align: center;
    }
    
    .agency-services {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agency-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .agency-services {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

.nav-wisata-section {
    background: var(--secondary-color);
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    padding: 60px 0 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-top: -30px;
}

.menu-wisata {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-wisata ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-wisata li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 150px;
}

.menu-wisata li:hover {
    transform: translateY(-5px);
}

.menu-wisata svg {
    width: 80px;
    height: 80px;
    padding: 15px;
    border-radius: 50%;
    background-color: var(--light-color);
    fill: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.menu-wisata li:hover svg {
    background-color: var(--primary-color);
    fill: var(--light-color);
    transform: scale(1.1);
}

.menu-wisata li a { /* Tambahkan styling untuk tautan di dalam li */
    color: var(--light-color);
    font-family: 'Karma', serif;
    font-size: var(--fontMM);
    font-weight: 500;
    margin-top: 5px;
    transition: color 0.3s ease;
    text-decoration: none; /* Hapus garis bawah default */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-wisata li:hover a {
    color: var(--white-color);
}

.menu-wisata li.active a {
    color: var(--white-color);
}

.menu-wisata li.active svg {
    background-color: var(--primary-color);
    fill: var(--light-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-wisata ul {
        gap: 15px;
    }

    .menu-wisata li {
        width: 150px;
    }

    .menu-wisata svg {
        width: 125px;
        height: 125px;
        padding: 12px;
    }

    .menu-wisata li a { /* Sesuaikan font size untuk tautan di mobile */
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .nav-wisata-section {
        position: relative;
        padding: 35px 0 30px 0;
    }

    .menu-wisata {
        position: relative;
        padding: 0 10px;
    }

    .menu-wisata::before,
    .menu-wisata::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(135deg, var(--light-color), rgba(243, 243, 224, 0.8), var(--light-color));
        z-index: 5;
    }

    .menu-wisata::before {
        left: 0;
    }

    .menu-wisata::after {
        right: 0;
    }

    .menu-wisata ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 0;
        height: 75px;
        margin: 0;
        position: relative;
        z-index: 10;
    }

    .menu-wisata li {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--light-color), rgba(243, 243, 224, 0.9));
        border: 1px solid rgba(243, 243, 224, 0.3);
        box-shadow: 0 2px 8px rgba(19, 62, 135, 0.1);
        position: relative;
    }

    .menu-wisata li:hover {
        transform: translateY(-2px) scale(1.05);
        background: linear-gradient(135deg, rgba(243, 243, 224, 0.95), var(--light-color));
        box-shadow: 0 4px 12px rgba(19, 62, 135, 0.15);
    }

    .menu-wisata svg {
        width: 24px;
        height: 24px;
        padding: 0;
        border-radius: 0;
        background: none;
        fill: var(--primary-color);
        margin: 0;
        transition: all 0.3s ease;
    }

    .menu-wisata li:hover svg {
        background: none;
        fill: var(--secondary-color);
        transform: scale(1.1);
    }

    .menu-wisata li a {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: transparent;
        font-size: 0;
        text-decoration: none;
        z-index: 15;
        pointer-events: auto;
    }

    .menu-wisata li a::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .menu-wisata li:hover a::after {
        width: 80%;
    }

    .menu-wisata li.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: 1px solid var(--primary-color);
        box-shadow: 0 4px 12px rgba(19, 62, 135, 0.2);
    }

    .menu-wisata li.active svg {
        fill: var(--light-color);
    }

    .menu-wisata li.active a::after {
        width: 80%;
        background: var(--light-color);
    }
}

.wisata-section {
    width: 100%;
    padding: auto;
    background: linear-gradient(135deg, 
        var(--third-color) 0%, 
        rgba(203, 220, 235, 0.8) 25%,
        rgba(96, 139, 193, 0.1) 50%,
        var(--third-color) 75%,
        rgba(19, 62, 135, 0.05) 100%);
    position: relative;
    overflow: visible;
}

/* Simple stable background */
.wisata-section {
    background: linear-gradient(135deg, 
        rgba(19, 62, 135, 0.05) 0%, 
        rgba(96, 139, 193, 0.03) 50%, 
        rgba(243, 243, 224, 0.05) 100%);
}

.objek-wisata-title,
.aktivitas-wisata-title,
.atraksi-title,
.kuliner-title,
.travel-agency-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: var(--primary-color);
    padding-top: 50px;
    font-family: 'Playfair Display SC', serif;
    margin: 10px auto 28px;
    line-height: 1.15;
    letter-spacing: 0.5px;
    max-width: min(1100px, 92vw);
    width: 100%;                   /* ensure titles expand to full container width */
    display: flex;                 /* center title with side lines */
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Decorative horizontal lines flanking the titles */
.objek-wisata-title::before,
.aktivitas-wisata-title::before,
.atraksi-title::before,
.kuliner-title::before,
.travel-agency-title::before,
.objek-wisata-title::after,
.aktivitas-wisata-title::after,
.atraksi-title::after,
.kuliner-title::after,
.travel-agency-title::after {
    content: "";
    height: 2px;
    background: currentColor;
    opacity: .25;
    flex: 1;
    max-width: 160px;
}

/* Ensure the inner span is clean and centered */
.objek-wisata-title span,
.aktivitas-wisata-title span,
.atraksi-title span,
.kuliner-title span,
.sewa-title span {
    padding: 0 8px;
    position: relative;
    z-index: 1;
    background: none;
    -webkit-text-fill-color: initial;
    animation: none;
}

/* Travel agency title styling handled in main section */

/* Aktivitas Wisata Section Styles */
.aktivitas-wisata-section {
    width: 100%;
    padding: 50px 0;
    background: linear-gradient(135deg, 
        rgba(19, 62, 135, 0.05) 0%, 
        rgba(96, 139, 193, 0.03) 50%, 
        rgba(243, 243, 224, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.aktivitas-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.aktivitas-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    perspective: 1000px;
}

/* 3D Card Styles */
.aktivitas-card {
    width: 320px;
    height: 450px;
    perspective: 1500px;
    margin-bottom: 30px;
    cursor: pointer;
}

.aktivitas-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.aktivitas-card:hover .aktivitas-card-inner {
    transform: rotateY(180deg);
}

.aktivitas-card-front, .aktivitas-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.aktivitas-card-front {
    background-color: var(--light-color);
}

.aktivitas-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 1;
}

.aktivitas-card:hover .aktivitas-card-front img {
    transform: scale(1.1);
}

.aktivitas-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(19, 62, 135, 0.9), transparent);
    padding: 20px;
    color: var(--light-color);
    text-align: center;
}

.aktivitas-card-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.aktivitas-card-back {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.aktivitas-card-content {
    padding: 20px;
}

.aktivitas-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.aktivitas-card-content p {
    font-family: 'Karma', serif;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--third-color);
}

.aktivitas-card-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.info-text {
    font-family: 'Karma', serif;
    font-size: 0.9rem;
    color: var(--third-color);
}

.aktivitas-card-btn {
    background-color: var(--third-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Karma', serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.aktivitas-card-btn:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animation for cards */
@keyframes cardFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in animation for cards when section enters viewport */
.aktivitas-card {
    opacity: 0;
}

.aktivitas-card.visible {
    animation: cardFadeInUp 0.8s ease-out forwards;
}

.aktivitas-card.visible:nth-child(1) {
    animation-delay: 0.1s;
}

.aktivitas-card.visible:nth-child(2) {
    animation-delay: 0.3s;
}

.aktivitas-card.visible:nth-child(3) {
    animation-delay: 0.5s;
}

.aktivitas-card.visible:nth-child(4) {
    animation-delay: 0.7s;
}

/* Responsive styles */
@media (max-width: 768px) {
    .aktivitas-cards {
        gap: 20px;
    }
    
    .aktivitas-card {
        width: 280px;
        height: 400px;
    }
    
    .aktivitas-card-overlay h3,
    .aktivitas-card-content h3 {
        font-size: 1.5rem;
    }
    
    .aktivitas-card-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .aktivitas-card {
        width: 100%;
        max-width: 320px;
        height: 380px;
    }
}

/* ========================================
   ATRAKSI WISATA SECTION STYLES
   ======================================== */

.atraksi-wisata-section {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, 
        var(--light-color) 0%, 
        rgba(203, 220, 235, 0.3) 50%, 
        var(--light-color) 100%);
    position: relative;
    overflow: hidden;
}

.atraksi-wisata-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(19, 62, 135, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 139, 193, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.atraksi-subtitle {
    text-align: center;
    font-family: 'Karma', serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--secondary-color);
    margin: -10px auto 60px;
    max-width: 800px;
    font-weight: 400;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.kuliner-subtitle {
    text-align: center;
    font-family: 'Karma', serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--secondary-color);
    margin: -10px auto 60px;
    max-width: 800px;
    font-weight: 400;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.atraksi-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Atraksi Item - Zigzag Layout */
.atraksi-item {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.atraksi-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.atraksi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

/* Reverse layout for alternating items */
.atraksi-reverse .atraksi-content {
    direction: rtl;
}

.atraksi-reverse .atraksi-content > * {
    direction: ltr;
}

/* Image Wrapper */
.atraksi-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(19, 62, 135, 0.2);
    transition: all 0.5s ease;
    aspect-ratio: 4/3;
}

.atraksi-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(19, 62, 135, 0.6) 0%, 
        rgba(96, 139, 193, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.atraksi-item:hover .atraksi-image-wrapper::before {
    opacity: 1;
}

.atraksi-item:hover .atraksi-image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(19, 62, 135, 0.3);
}

.atraksi-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.atraksi-item:hover .atraksi-image {
    transform: scale(1.1);
}

/* Badge */
.atraksi-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Karma', serif;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(19, 62, 135, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Info Section */
.atraksi-info {
    padding: 20px;
    position: relative;
}

.atraksi-number {
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 900;
    color: rgba(19, 62, 135, 0.08);
    position: absolute;
    top: -30px;
    left: -10px;
    line-height: 1;
    z-index: 0;
}

.atraksi-name {
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.atraksi-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--third-color));
    margin-bottom: 20px;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.atraksi-item:hover .atraksi-divider {
    width: 120px;
}

.atraksi-description {
    font-family: 'Karma', serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

/* Details */
.atraksi-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Karma', serif;
    font-size: 0.95rem;
    color: var(--secondary-color);
    background: rgba(96, 139, 193, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(96, 139, 193, 0.2);
    transform: translateY(-2px);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Button */
.atraksi-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-family: 'Karma', serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(19, 62, 135, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.atraksi-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--third-color));
    transition: left 0.4s ease;
    z-index: -1;
}

.atraksi-btn:hover::before {
    left: 0;
}

.atraksi-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(19, 62, 135, 0.4);
}

.atraksi-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
/* Medium screens: 600px to 968px - Better organized layout */
@media (min-width: 600px) and (max-width: 968px) {
    .atraksi-content {
        grid-template-columns: 1fr;
        gap: 50px;
        align-items: center;
        padding: 0 20px;
    }
    
    .atraksi-reverse .atraksi-content {
        direction: ltr;
    }
    
    .atraksi-image-wrapper {
        aspect-ratio: 16/10; /* More landscape orientation for better space usage */
        max-width: 85%;
        margin: 0 auto;
        border-radius: 16px;
    }
    
    .atraksi-info {
        padding: 20px 10px;
        text-align: center;
        max-width: 85%;
        margin: 0 auto;
    }
    
    .atraksi-item {
        margin-bottom: 70px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .atraksi-number {
        font-size: clamp(3.5rem, 7vw, 5rem);
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .atraksi-details {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin: 20px 0;
    }
    
    .detail-item {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .atraksi-btn {
        margin: 20px auto 0;
        display: block;
        width: fit-content;
    }
}

@media (max-width: 968px) {
    .atraksi-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .atraksi-reverse .atraksi-content {
        direction: ltr;
    }
    
    .atraksi-item {
        margin-bottom: 80px;
    }
    
    .atraksi-number {
        font-size: clamp(3rem, 8vw, 5rem);
        top: -20px;
    }

    /* Switch order for Pas sapu Munne and Pattoengan items - target by position in HTML */
    .atraksi-item:nth-child(2) .atraksi-content {
        display: flex;
        flex-direction: column;
    }
    
    .atraksi-item:nth-child(2) .atraksi-info {
        order: 2;
    }
    
    .atraksi-item:nth-child(2) .atraksi-image-wrapper {
        order: 1;
    }
    
    .atraksi-item:nth-child(3) .atraksi-content {
        display: flex;
        flex-direction: column;
    }
    
    .atraksi-item:nth-child(3) .atraksi-info {
        order: 2;
    }
    
    .atraksi-item:nth-child(3) .atraksi-image-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .atraksi-wisata-section {
        padding: 60px 0;
    }
    
    .atraksi-subtitle {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .kuliner-subtitle {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .atraksi-container {
        padding: 15px;
    }
    
    .atraksi-item {
        margin-bottom: 60px;
    }
    
    .atraksi-content {
        gap: 30px;
    }
    
    .atraksi-info {
        padding: 10px;
    }
    
    .atraksi-details {
        gap: 10px;
    }
    
    .detail-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .atraksi-badge {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .atraksi-name {
        font-size: 1.5rem;
    }
    
    .atraksi-description {
        font-size: 0.95rem;
    }
    
    .atraksi-btn {
        width: 100%;
        padding: 12px 25px;
    }
    
    .atraksi-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .detail-item {
        width: 100%;
    }
}

/* Atraksi Modal Styles */
.atraksi-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.atraksi-modal.active {
    opacity: 1;
    visibility: visible;
}

.atraksi-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 62, 135, 0.85);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.atraksi-modal-content {
    position: relative;
    background: var(--white-color);
    border-radius: 20px;
    max-width: 900px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: transform 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--light-color);
}

.atraksi-modal.active .atraksi-modal-content {
    transform: translateY(0);
}

.atraksi-modal-content::-webkit-scrollbar {
    width: 8px;
}

.atraksi-modal-content::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.atraksi-modal-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.atraksi-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.atraksi-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(19, 62, 135, 0.3);
}

.atraksi-modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
}

.atraksi-modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.atraksi-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.atraksi-modal-title-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(19, 62, 135, 0.95), transparent);
}

.atraksi-modal-title {
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--light-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.atraksi-modal-subtitle {
    font-family: 'Karma', serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--third-color);
    font-style: italic;
}

.atraksi-modal-body {
    padding: 40px;
    font-family: 'Karma', serif;
    line-height: 1.8;
    color: #333;
}

.atraksi-modal-body h3 {
    font-family: 'Playfair Display SC', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--third-color);
}

.atraksi-modal-body h3:first-child {
    margin-top: 0;
}

.atraksi-modal-body p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.05rem;
}

.atraksi-modal-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.atraksi-modal-body li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.atraksi-modal-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.atraksi-modal-footer {
    padding: 20px 40px 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-top: 1px solid var(--third-color);
}

.atraksi-modal-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Karma', serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
}

.atraksi-modal-btn:hover {
    background: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 139, 193, 0.3);
}

.atraksi-modal-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    border: none;
}

.atraksi-modal-btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 8px 20px rgba(19, 62, 135, 0.4);
}

.atraksi-modal-btn i {
    margin-right: 8px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .atraksi-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .atraksi-modal-header {
        height: 250px;
    }
    
    .atraksi-modal-body {
        padding: 30px 25px;
    }
    
    .atraksi-modal-body h3 {
        font-size: 1.3rem;
    }
    
    .atraksi-modal-body p,
    .atraksi-modal-body li {
        font-size: 1rem;
    }
    
    .atraksi-modal-footer {
        padding: 15px 25px 25px;
        flex-direction: column;
    }
    
    .atraksi-modal-btn {
        width: 100%;
        text-align: center;
    }
    
    .atraksi-modal-close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .atraksi-modal-header {
        height: 200px;
    }
    
    .atraksi-modal-title-wrapper {
        padding: 20px;
    }
    
    .atraksi-modal-body {
        padding: 25px 20px;
    }
    
    .atraksi-modal-body ul {
        padding-left: 20px;
    }
}

/* QR Code Styles for Atraksi Modal */
.atraksi-modal-body img[alt*="QR Code"] {
    display: block;
    width: 200px;
    height: 200px;
    margin: 25px auto;
    object-fit: contain;
    background: var(--white-color);
    border: 3px solid var(--third-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(19, 62, 135, 0.15);
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.atraksi-modal-body img[alt*="QR Code"]:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(19, 62, 135, 0.25);
    border-color: var(--secondary-color);
}

/* QR Code section styling */
.atraksi-modal-body h3:has(+ img[alt*="QR Code"]) {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 15px 0;
    background: linear-gradient(135deg, var(--third-color), rgba(203, 220, 235, 0.3));
    border-radius: 8px;
    border: none;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
}

/* Mobile responsive for QR Code */
@media (max-width: 768px) {
    .atraksi-modal-body img[alt*="QR Code"] {
        width: 160px;
        height: 160px;
        margin: 20px auto;
        padding: 12px;
        border-radius: 10px;
    }
    
    .atraksi-modal-body h3:has(+ img[alt*="QR Code"]) {
        font-size: 1.2rem;
        margin-top: 30px;
        padding: 12px 0;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .atraksi-modal-body img[alt*="QR Code"] {
        width: 140px;
        height: 140px;
        margin: 15px auto;
        padding: 10px;
    }
    
    .atraksi-modal-body h3:has(+ img[alt*="QR Code"]) {
        font-size: 1.1rem;
        margin-top: 25px;
        padding: 10px 0;
        padding-left: 12px;
    }
}

/* Remove decorative glow around titles */
/* (previous ::before and keyframes removed for flat look) */
.wisata-section p {
    font-family: 'Karma', serif;
    font-size: var(--fontM);
}
.wisata-section .wisata-card {
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
    margin: 10px;
}
.wisata-section .wisata-card h3 {
    font-family: 'Karma', serif;
    font-size: var(--fontM);
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Cards Container and Grid Styles */
.cards-container {
    display: block;
    padding: 24px 0 60px;
    position: relative;
    z-index: 5;
}

/* Objek Wisata cards layout */
.wisata-section .cards-grid {
    display: grid;
    /* Responsif: 280px adalah lebar minimum kartu, 1fr akan mengisi sisa ruang */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px; /* Jarak antar kartu */
    max-width: 1300px; /* Lebar maksimum grid */
    margin: 0 auto; /* Pusatkan grid */
    padding: 0 20px; /* Padding horizontal */
}

/* Card look & interactions (scoped to wisata only) */
.wisata-section .card {
    position: relative;
    overflow: hidden;
    /* gradient border via layering */
    border: 0;
    border-radius: var(--card-radius, 16px);
    height: 300px; /* Tinggi kartu yang lebih konsisten */
    width: auto; /* Biarkan grid menentukan lebar */
    background: linear-gradient(#fff, #fff) padding-box,
                var(--card-border-gradient, linear-gradient(135deg, var(--third-color), var(--secondary-color))) border-box;
    box-shadow: var(--card-shadow, 0 12px 32px rgba(19,62,135,0.15));
    cursor: pointer;
    transition: transform .4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow .4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity .3s ease, 
                border-color .3s ease, 
                background .3s ease;
    transform: translateY(0);
    border: 2px solid transparent;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Image rotation animation for wisata cards */
.wisata-section .card-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.wisata-section .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Image rotation container for multiple images */
.wisata-section .card-image .image-rotation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease;
}

.wisata-section .card-image .rotating-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.wisata-section .card-image .rotating-image.active {
    opacity: 1;
    z-index: 2;
}

.wisata-section .card-image .rotating-image.next {
    opacity: 0;
    z-index: 1;
}

/* Enhanced smooth image transition animations */
@keyframes imageSlideIn {
    0% {
        opacity: 0;
        transform: scale(1.08) translateX(15px) rotateY(5deg);
        filter: blur(2px) brightness(1.1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02) translateX(5px) rotateY(2deg);
        filter: blur(1px) brightness(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0) rotateY(0deg);
        filter: blur(0px) brightness(1);
    }
}

@keyframes imageSlideOut {
    0% {
        opacity: 1;
        transform: scale(1) translateX(0) rotateY(0deg);
        filter: blur(0px) brightness(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.98) translateX(-5px) rotateY(-2deg);
        filter: blur(1px) brightness(0.95);
    }
    100% {
        opacity: 0;
        transform: scale(0.92) translateX(-15px) rotateY(-5deg);
        filter: blur(2px) brightness(0.9);
    }
}

/* Enhanced animations for different card types */
.wisata-section .card-image .rotating-image.entering {
    animation: imageSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.wisata-section .card-image .rotating-image.exiting {
    animation: imageSlideOut 0.8s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}

/* Special enhanced animations for atraksi cards */
.atraksi-card .rotating-image.entering {
    animation: imageSlideIn 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.atraksi-card .rotating-image.exiting {
    animation: imageSlideOut 0.9s cubic-bezier(0.755, 0.05, 0.855, 0.06) forwards;
}
.wisata-section .card:hover,
.wisata-section .card.pulse {
    transform: scale(1.05) translateY(-12px) rotateX(2deg);
    box-shadow: var(--card-shadow-hover, 0 25px 60px rgba(0,0,0,0.25));
    background: linear-gradient(#fff, #fff) padding-box,
                var(--card-border-gradient-hover, linear-gradient(135deg, var(--secondary-color), var(--primary-color))) border-box;
    animation: cardHoverPulse 2s ease-in-out infinite;
}

@keyframes cardHoverPulse {
    0%, 100% { 
        box-shadow: 0 25px 60px rgba(0,0,0,0.25); 
    }
    50% { 
        box-shadow: 0 30px 70px rgba(19, 62, 135, 0.3); 
    }
}

.wisata-section .card-image { position: relative; height: 100%; width: 100%;} /* Gambar mengisi tinggi kartu */
.wisata-section .card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wisata-section .card-image.loading { background: #e5edf7; }

.card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px 70px; /* extra space for overlay actions */
    color: var(--light-color);
    background: linear-gradient(to top, rgba(4, 36, 86, 0.98) 0%, rgba(4, 36, 86, 0.85) 60%, rgba(4,36,86,0) 100%);
    z-index: 10; /* Higher z-index to stay above rotating images */
    pointer-events: none; /* Allow clicks to pass through to card */
}
.wisata-section .card-title { font-family: 'Playfair Display SC', serif; font-size: 1.3rem; font-weight: 800; line-height: 1.1; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.wisata-section .card-location { font-family: 'Karma', serif; font-size: .95rem; opacity: .9; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

/* Wisata Modal */
#wisataModal.modal { 
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,.55); 
}
#wisataModal .modal-content { 
    width: min(900px, 92vw); margin: 40px auto; 
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96)) padding-box,
               linear-gradient(135deg, var(--third-color), var(--secondary-color)) border-box; 
    border: 2px solid transparent;
    border-radius: var(--card-radius, 16px); overflow: hidden;
    box-shadow: 0 24px 72px rgba(2,6,23,.35);
    max-height: 88vh; /* allow scroll */
    display: flex; flex-direction: column;
}
#wisataModal .modal-header { position: relative; height: 300px; overflow: hidden; flex-shrink: 0; }
#wisataModal #modalImage { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1; transition: opacity .6s ease; }
#wisataModal .modal-header-overlay { 
    position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
    background: linear-gradient(to top, rgba(19,62,135,.9), rgba(19,62,135,.38), transparent);
    color: #fff;
}
#wisataModal .modal-title { font-family: 'Playfair Display SC', serif; font-size: 1.9rem; font-weight: 900; margin: 0 0 4px; letter-spacing: .3px; }
#wisataModal .modal-location { font-family: 'Karma', serif; opacity: .95; margin: 0; }
#wisataModal .modal-body { padding: 20px; overflow-y: auto; }
#wisataModal .modal-description { font-family: 'Karma', serif; color: #334155; line-height: 1.6; }
#wisataModal .modal-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 10px; margin-top: 14px; }
#wisataModal .modal-feature { background: #eef3fb; border: 1px solid #d9e3f5; border-radius: 999px; padding: 8px 12px; font-family: 'Karma', serif; color: var(--primary-color); font-weight: 700; font-size: var(--fontS); display: inline-flex; align-items: center; gap: 8px; }
#wisataModal .modal-feature::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary-color); box-shadow: 0 0 0 3px rgba(96,139,193,.25); }
#wisataModal .close { position: fixed; top: 18px; right: 18px; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; z-index: 10050; pointer-events: auto; background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.5)); width: 40px; height: 40px; border-radius: 999px; display:flex; align-items:center; justify-content:center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }
#wisataModal .modal-header, #wisataModal .modal-header-overlay, #wisataModal #modalImage { pointer-events: none; }
#wisataModal .modal-content, #wisataModal .modal-body, #wisataModal .close { pointer-events: auto; }
@media (max-width: 600px){ #wisataModal .close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 24px; } }

/* QR Code Section for Wisata Modal */
#wisataModal .qr-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(96, 139, 193, 0.05), rgba(243, 243, 224, 0.1));
    border: 1px solid rgba(96, 139, 193, 0.15);
    border-radius: 12px;
    text-align: center;
}

#wisataModal .qr-section h3 {
    font-family: 'Playfair Display SC', serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: 0.3px;
}

#wisataModal .qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#wisataModal .qr-code {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 3px solid var(--secondary-color);
    border-radius: 8px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(96, 139, 193, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#wisataModal .qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(96, 139, 193, 0.3);
}

#wisataModal .qr-desc {
    font-family: 'Karma', serif;
    color: var(--primary-color);
    font-size: var(--fontS);
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
}

/* Responsive adjustments for QR section */
@media (max-width: 600px) {
    #wisataModal .qr-section {
        margin-top: 15px;
        padding: 15px;
        border-radius: 10px;
    }

    #wisataModal .qr-section h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    #wisataModal .qr-code {
        width: 160px;
        height: 160px;
        border-width: 2px;
        padding: 6px;
    }

    #wisataModal .qr-desc {
        font-size: 0.9rem;
    }
}

@keyframes slideIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(10px); opacity: 0; } }



/* ===============================
   Akomodasi — Responsive & Interactive
=============================== */
.akomodasi-section {
    background: linear-gradient(135deg, 
        var(--third-color) 0%, 
        rgba(203, 220, 235, 0.9) 20%,
        rgba(96, 139, 193, 0.1) 40%,
        rgba(243, 243, 224, 0.2) 60%,
        var(--third-color) 80%,
        rgba(19, 62, 135, 0.05) 100%);
    padding: 48px 16px 80px;
    position: relative;
    overflow: visible;
}

/* Simple stable background */
.akomodasi-section {
    background: linear-gradient(135deg, 
        rgba(19, 62, 135, 0.06) 0%, 
        rgba(96, 139, 193, 0.04) 50%, 
        rgba(243, 243, 224, 0.06) 100%);
}

.hero{
    color: var(--primary-color);
    padding: 48px 24px;
    text-align: center;
    font-size: var(--fontMM);
    border-radius: 16px;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(243, 243, 224, 0.8) 50%, 
        rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(19, 62, 135, 0.1);
    box-shadow: 0 8px 32px rgba(19, 62, 135, 0.1);
    margin-bottom: 40px;
    animation: heroGlow 4s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(19, 62, 135, 0.1); 
    }
    50% { 
        box-shadow: 0 12px 40px rgba(19, 62, 135, 0.15); 
    }
}

.hero h1 {
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 16px;
    background: linear-gradient(45deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { 
        transform: scale(1); 
        filter: brightness(1); 
    }
    50% { 
        transform: scale(1.02); 
        filter: brightness(1.1); 
    }
}

.hero .subtitle {
    font-family: 'Karma', serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--secondary-color);
    opacity: 0.9;
    margin-top: 8px;
    animation: subtitleFade 2s ease-in-out infinite;
}

@keyframes subtitleFade {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.toolbar-akomodasi {
    max-width: 1200px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 5;
}
.subtitle{
    color: var(--primary-color);
    font-size: var(--fontM);
    margin-top: 8px;
    opacity: .95;
}
.toolbar-akomodasi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 16px auto 28px;
    flex-wrap: wrap;
    max-width: 1200px;
}
.toolbar-akomodasi button,
.toolbar-akomodasi select,
.toolbar-akomodasi input[type="text"]{
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.toolbar-akomodasi button{
    background: var(--primary-color);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.toolbar-akomodasi button:hover{ filter: brightness(.95); }
.toolbar-akomodasi input[type="text"]{ min-width: 220px; }

.container-akomodasi {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}
.ak-viewport{
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    /* bigger side gutters so arrows don't sit on top of cards */
    padding: 0 56px;
    z-index: 5;
}
/* Akomodasi Slider */
.ak-viewport .ak-track{
    display: flex;
    width: 100%;
    transition: transform .4s ease;
}
.ak-viewport .ak-page{
    flex: 0 0 100%;
    padding: 10px 0;
}


.ak-prev,
.ak-next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 100; /* Above viewport and cards */
    width: 64px; /* Increased from 48px */
    height: 64px; /* Increased from 48px */
    border-radius: 999px;
    border: 2px solid #dbe3ef; /* Increased border thickness */
    background: var(--primary-color); /* Light blue background */
    color: var(--third-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(2,6,23,0.2); /* Increased shadow */
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
}
.ak-prev:hover,
.ak-next:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(16, 84, 202, 0.785); /* Darker blue on hover */
    box-shadow: 0 12px 28px rgba(2,6,23,0.25); /* Enhanced shadow */
}
.ak-prev:active,
.ak-next:active {
    transform: translateY(-50%) scale(0.98);
}
.ak-prev:focus-visible,
.ak-next:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 105, 181, 0.25), 0 8px 20px rgba(35, 67, 209, 0.12);
}
.ak-prev:disabled,
.ak-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(59, 82, 150, 0.685);
    box-shadow: 0 2px 6px rgba(2,6,23,0.08);
}
.ak-prev svg,
.ak-next svg {
    width: 32px; /* Increased from 22px */
    height: 32px; /* Increased from 22px */
    fill: var(--third-color);
    pointer-events: none;
}
/* Position arrows (moved more inward) */
.ak-prev { left: 140px; } /* Moved from 100px */
.ak-next { right: 140px; } /* Moved from 90px */


/* Modal (akomodasi) */
.modal{ display:none; position:fixed; inset:0; background:rgba(2,6,23,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); z-index:1000; }
.modal .modal-content{ background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96)) padding-box, linear-gradient(135deg, var(--third-color), var(--secondary-color)) border-box; border: 2px solid transparent; max-width: 960px; width:92%; margin:60px auto; border-radius: 16px; overflow:hidden; position:relative; box-shadow: 0 24px 72px rgba(2,6,23,.35); }
.modal .close { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    z-index: 1002; 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(19, 62, 135, 0.15); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    cursor: pointer; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
    color: var(--primary-color);
} .modal .close:hover {
     background: rgba(255, 255, 255, 0.95); 
     transform: scale(1.08) rotate(90deg); 
     box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); } 
  .modal .close:active { transform: scale(0.95); } 
    @media (max-width: 768px) { 
        .modal .close { 
            top: 16px; 
            right: 16px; 
            width: 36px; 
            height: 36px; 
        } }


.modal .modal-content #akomodasiModalContent{
    max-height: 85vh;
    overflow-y: auto;
    padding-right: 8px; /* space for scrollbar */
    scroll-behavior: smooth;
}

/* Enhanced facilities with icons */
.modal-facilities {
    margin-top: 16px;
}
.modal-facilities h3 {
    font-family: 'Karma', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}
.modal-facilities h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.facility-item {
    background: linear-gradient(135deg, #f3f3e0, #eef2f7);
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.facility-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #eef2f7, #f3f3e0);
}
.facility-item:hover:before {
    transform: scaleX(1);
}
.facility-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.facility-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
}
.facility-name {
    font-family: 'Karma', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
}
@media (max-width: 768px){
    .modal .modal-content #akomodasiModalContent{ max-height: 70vh; }
    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    .facility-item {
        padding: 12px 8px;
    }
    .facility-icon {
        width: 36px;
        height: 36px;
    }
    .facility-icon i {
        font-size: 1.2rem;
    }
    .facility-name {
        font-size: 0.8rem;
    }
}
.modal.is-closing { animation: fadeBgOut .25s ease both; }
.modal .modal-content.is-closing { animation: modalOut .30s cubic-bezier(.4,0,.2,1) both; }
.ak-modal{ padding: 16px 20px 24px; }
.ak-simple-head{ display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.ak-simple-head .left .title{ font-size: 1.5rem; margin-bottom: 6px; font-family: 'Karma', serif; text-transform: none; letter-spacing: .3px; color: var(--primary-color); }
.ak-simple-head .left .location{ color:#6b7280; font-size:.9rem; font-family: 'Karma', serif; }
.ak-simple-head .right{ text-align:right; }
.ak-simple-head .right .price{ font-weight:800; color: var(--primary-color); font-size: 1.25rem; font-family: 'Karma', serif;}
.ak-modal-divider{ border: none; border-top:1px solid #e5e7eb; margin: 16px 0; }
.ak-desc{ color:#254a8a; line-height:1.7; font-family: 'Karma', serif; background: #f3f3e0; padding: 12px 14px; border-radius: 10px; }
.ak-cta{ margin-top: 12px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color:#fff; border:none; padding:12px 18px; border-radius:12px; cursor:pointer; box-shadow: 0 10px 24px rgba(96, 139, 193, 0.35); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; font-weight:800; }
.ak-cta:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16,185,129,0.35); }
/* Carousel in modal */
.akc-carousel{ position:relative; width:100%; height: 340px; background: linear-gradient(180deg, rgba(243,243,224,.45), rgba(96,139,193,.25)); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(2,6,23,.18); }
.akc-track{ display:flex; width:100%; height:100%; transition: transform .5s cubic-bezier(0.22,1,0.36,1); }
.akc-slide{ position:relative; min-width:100%; height:100%; display:grid; place-items:center; overflow:hidden; }
.akc-slide img{ width:100%; height:100%; object-fit:cover; opacity: 0; transition: opacity .6s ease; transform: scale(1.02); }
.akc-slide.active img{ opacity: 1; transform: scale(1); }
.akc-nav{ position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; border:none; background:rgba(255,255,255,.85); color:var(--primary-color); display:grid; place-items:center; cursor:pointer; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.akc-nav.prev{ left:10px; }
.akc-nav.next{ right:10px; }
.akc-dots{ display:flex; gap:6px; justify-content:center; margin: 10px 0 0; }
.akc-dots .dot{ width:8px !important; height:8px !important; border-radius:50%; background:#cbd5e1; border:none; cursor:pointer; transition: background .2s ease, transform .2s ease; }
.akc-dots .dot:hover{ transform: scale(1.1); }
.akc-dots .dot.active{ background: var(--primary-color); }

/* Grid */
.grid-akomodasi{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Lebih responsif */
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

/* Cards */
.akomodasi-section .card,
.card-akomodasi{
    background: linear-gradient(#fff, #fff) padding-box,
                var(--card-border-gradient, linear-gradient(135deg, var(--third-color), var(--secondary-color))) border-box;
    border: 2px solid transparent;
    border-radius: var(--card-radius, 16px);
    box-shadow: var(--card-shadow, 0 12px 32px rgba(19,62,135,0.15));
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, background .3s ease;
    z-index: 10;
    position: relative;
}
.akomodasi-section .card:hover,
.card-akomodasi:hover{
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.12);
    background: linear-gradient(#fff, #fff) padding-box,
                var(--card-border-gradient-hover, linear-gradient(135deg, var(--secondary-color), var(--primary-color))) border-box;
    z-index: 20;
    position: relative;
}

@keyframes akomodasiHoverFloat {
    0%, 100% { 
        transform: translateY(-8px) scale(1.02) rotateX(1deg); 
        box-shadow: 0 15px 40px rgba(2, 6, 23, 0.15); 
    }
    50% { 
        transform: translateY(-12px) scale(1.03) rotateX(1.5deg); 
        box-shadow: 0 20px 50px rgba(19, 62, 135, 0.2); 
    }
}

.card-image, .card-image-akomodasi{
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eef2f7;
}
.card-image img,
.card-image-akomodasi img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .5s ease;
    display: block;
}

/* Image rotation animation for akomodasi cards */
.card-image-akomodasi .rotating-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-image-akomodasi .rotating-image.active {
    opacity: 1;
    z-index: 2;
}

.card-image-akomodasi .rotating-image.next {
    opacity: 0;
    z-index: 1;
}

.card-image-akomodasi .rotating-image.entering {
    animation: imageSlideIn 0.6s ease-out forwards;
}

.card-image-akomodasi .rotating-image.exiting {
    animation: imageSlideOut 0.6s ease-in forwards;
}
.akomodasi-section .card:hover .card-image img,
.card-akomodasi:hover .card-image-akomodasi img{ transform: scale(1); }

.card-content, .card-content-akomodasi{
    padding: 18px 18px 60px;
    position: relative;
}
.ak-card-panel,
.card-content,
.card-content-akomodasi{
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 350px;
    position: relative;
}
.card-actions-ak{ 
    display: flex !important; 
    justify-content: flex-end !important; 
    margin-top: 20px !important; 
    position: absolute !important; 
    bottom: 15px !important; 
    right: 15px !important; 
    width: auto !important; 
    z-index: 10 !important;
}
.card-actions-ak .ak-cta{ padding:10px 14px; border-radius: 10px; box-shadow: 0 8px 18px rgba(96,139,193,.28); font-size:.95rem; }
.card-akomodasi .ak-cta{ align-self: flex-end; }
.ak-panel-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.ak-panel-head .left .title,
.ak-panel-head .left .title-akomodasi{
    font-size: 1.05rem;
    line-height: 1.3;
    font-family: 'Karma', serif;
}
.location, .location-akomodasi{ color: #6b7280; font-size: .9rem;  font-family: 'Karma', serif; }
.price, .price-akomodasi{ color: var(--primary-color); font-weight: 700; font-family: 'Karma', serif; }
.price-label, .price-label-akomodasi{ color:#64748b; font-size: .85rem; font-family: 'Karma', serif; }
.price-sub, .price-sub-akomodasi{ color:#94a3b8; font-size: .8rem; font-family: 'Karma', serif; }

.card-footer, .card-footer-akomodasi{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px){
    .hero{ padding: 32px 16px; }
    .toolbar-akomodasi{ gap: 10px; }
    /* mobile gutters and arrow positions */
    .ak-viewport{ padding: 0 24px; }
    .ak-prev, .ak-next{ top: 36%; width: 32px; height: 32px; }
    .ak-prev svg, .ak-next svg{ width: 16px; height: 16px; }
}


/* Kuliner Section */
.kuliner-section {
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        rgba(96, 139, 193, 0.95) 25%,
        rgba(19, 62, 135, 0.9) 50%,
        var(--secondary-color) 75%,
        rgba(96, 139, 193, 0.98) 100%);
    width: 100%;
    padding: 48px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
}

/* Simple stable background */
.kuliner-section {
    background: linear-gradient(135deg, 
        rgba(19, 62, 135, 0.07) 0%, 
        rgba(96, 139, 193, 0.05) 50%, 
        rgba(243, 243, 224, 0.07) 100%);
}





@keyframes culinaryShimmer {
    0%, 100% { 
        background-position: 0% 50%; 
        filter: brightness(1) saturate(1); 
    }
    50% { 
        background-position: 100% 50%; 
        filter: brightness(1.3) saturate(1.2); 
    }
}



@keyframes culinaryLineGlow {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateY(-50%) scaleX(1); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-50%) scaleX(1.2); 
    }
}



/* Container untuk grid + arrow */
.kuliner-viewport {
    position: relative;
    width: 100%;
    max-width: 1160px; /* Widen to utilize space on desktop */
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 360px;
    overflow-x: hidden; /* penting untuk efek slide */
    overflow-y: visible; /* biarkan efek hover keluar ke atas */
    z-index: 5;
    /* Premium frame border */
    background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,248,240,0.6)) padding-box,
                linear-gradient(135deg, #f59e0b, #d97706, #b45309) border-box;
    border: 2px solid transparent;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(19, 62, 135, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
/* Edge fade indicators to hint scrollable content */
.kuliner-viewport::before,
.kuliner-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 9;
}
.kuliner-viewport::before {
    left: 0;
    background: linear-gradient(90deg, rgba(243,243,224,0.55), rgba(243,243,224,0));
}
.kuliner-viewport::after {
    right: 0;
    background: linear-gradient(270deg, rgba(243,243,224,0.55), rgba(243,243,224,0));
}
.kuliner-viewport:hover {
    box-shadow: 0 14px 40px rgba(19, 62, 135, 0.12);
}

.kuliner-viewport .kuliner-prev,
.kuliner-viewport .kuliner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--light-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.08);
    transition: background .2s, box-shadow .2s;
}
.kuliner-prev svg{
    width: 20px; height: 20px;
    fill: var(--primary-color);

}
.kuliner-next svg{
    width: 20px; height: 20px;
    fill: var(--primary-color);
}
.kuliner-viewport .kuliner-prev { left: 10px; } /* Posisikan panah di dalam viewport */
.kuliner-viewport .kuliner-next { right: 10px; } /* Posisikan panah di dalam viewport */
.kuliner-viewport .kuliner-prev:hover,
.kuliner-viewport .kuliner-next:hover { background: #eef3fb; }

/* Track untuk slider kuliner */
.kuliner-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Setiap halaman kuliner */
.kuliner-page {
    min-width: 100%; /* Setiap halaman mengambil 100% lebar track */
    display: flex;
    justify-content: center; /* Pusatkan grid di dalam halaman */
    padding: 10px 0;
}

/* Grid card kuliner beri ruang untuk arrow di kiri-kanan */
.kuliner-page .cards-grid-kuliner {
    margin: 0; /* Hapus margin yang kaku */
    width: calc(100% - 20px); /* Sesuaikan lebar grid agar ada sedikit padding */
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Use 12-column grid for responsive control */
    gap: 24px;
    align-items: stretch;
}

/* Responsive arrow position */
@media (max-width: 900px) {
    .kuliner-viewport { max-width: 98vw; }
    .kuliner-viewport .kuliner-prev { left: 0; width: 36px; height: 36px; }
    .kuliner-viewport .kuliner-next { right: 0; width: 36px; height: 36px; }
    .kuliner-page .cards-grid-kuliner { margin: 0; width: calc(100% - 12px); grid-template-columns: repeat(12, 1fr); } /* Sesuaikan padding */
}

@media (max-width: 600px) {
    .kuliner-viewport { max-width: 100vw; }
    .kuliner-viewport .kuliner-prev { left: 0; width: 32px; height: 32px; }
    .kuliner-viewport .kuliner-next { right: 0; width: 32px; height: 32px; }
    .kuliner-page .cards-grid-kuliner { margin: 0; width: calc(100% - 12px); grid-template-columns: repeat(12, 1fr); } /* Sesuaikan padding */
}
/* Grid card kuliner selalu di tengah */
.cards-grid-kuliner {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* full responsive control */
    gap: 24px;
    width: 100%;
    max-width: 1080px; /* widen grid to use more space */
    margin: 0 auto;
    padding: 0 16px;
    align-items: stretch;
}
/* Make each card responsive in the 12-col grid */
.cards-grid-kuliner > .card-kuliner { grid-column: span 12; } /* 1 per row on mobile by default */

/* 2 columns at 600px+ */
@media (min-width: 600px) {
    .cards-grid-kuliner > .card-kuliner { grid-column: span 6; } /* 2 per row */
}

/* 3 columns at 1280px+ */
@media (min-width: 1280px) {
    .cards-grid-kuliner > .card-kuliner { grid-column: span 4; } /* 3 per row */
}

/* Enhanced Kuliner Cards with Food-Themed Design */
.card-kuliner{
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,240,0.9)) padding-box,
                var(--card-border-gradient, linear-gradient(135deg, #f59e0b, #d97706, #b45309)) border-box;
    border-radius: 24px;
    border: 2px solid transparent; /* thinner premium border */
    box-shadow: 0 10px 28px rgba(245,158,11,0.16), 
                0 4px 12px rgba(0,0,0,0.08),
                inset 0 1px 0 rgba(255,255,255,0.7);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* inner border glow */
.card-kuliner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(217,119,6,0.25), rgba(180,83,9,0.25));
    -webkit-mask: 
      linear-gradient(#000 0 0) content-box, 
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.card-kuliner::after {
    content: '🍽️';
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 1.2rem;
    opacity: 0.3;
    z-index: 2;
    transition: all 0.3s ease;
}

.card-kuliner:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(245,158,11,0.2), 
                0 8px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,240,0.95)) padding-box,
                var(--card-border-gradient-hover, linear-gradient(135deg, #d97706, #b45309, #92400e)) border-box;
    z-index: 20;
    position: relative;
}

@keyframes kulinerHoverSizzle {
    0%, 100% { 
        transform: translateY(-15px) scale(1.03) rotateX(1deg); 
        box-shadow: 0 25px 70px rgba(245,158,11,0.3), 
                    0 10px 30px rgba(0,0,0,0.2),
                    inset 0 1px 0 rgba(255,255,255,0.8); 
    }
    50% { 
        transform: translateY(-18px) scale(1.04) rotateX(1.5deg); 
        box-shadow: 0 30px 80px rgba(245,158,11,0.35), 
                    0 12px 35px rgba(0,0,0,0.25),
                    inset 0 1px 0 rgba(255,255,255,0.9); 
    }
}

.card-kuliner:hover::before {
    opacity: 1;
}

.card-kuliner:hover::after {
    opacity: 0.6;
    transform: scale(1.1);
}

.card-kuliner:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.15s ease;
}
.card-kuliner:focus-within{
    outline: none;
    box-shadow: 0 0 0 3px rgba(19, 62, 135, 0.18);
}

/* Enhanced Kuliner Image Styling */
.card-image-kuliner{
   width: 100%;
   height: 200px;
   transform: scale(1);
   transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   display: block;
   position: relative;
   overflow: hidden;
   border-radius: 20px 20px 0 0;
   background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.card-image-kuliner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(245,158,11,0.1) 0%, 
        rgba(217,119,6,0.08) 50%, 
        rgba(180,83,9,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card-image-kuliner::after {
    content: '✨';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.card-kuliner:hover .card-image-kuliner {
    transform: scale(1.05);
    border-radius: 24px 24px 0 0;
}

.card-kuliner:hover .card-image-kuliner::before {
    opacity: 1;
}

.card-kuliner:hover .card-image-kuliner::after {
    opacity: 1;
}

.card-image-kuliner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(1) contrast(1.1) saturate(1.2);
}

.card-kuliner:hover .card-image-kuliner img {
    filter: brightness(1.1) contrast(1.2) saturate(1.3);
    transform: scale(1.02);
}

/* Image rotation animation for kuliner cards */
.card-image-kuliner .rotating-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-image-kuliner .rotating-image.active {
    opacity: 1;
    z-index: 2;
}

.card-image-kuliner .rotating-image.next {
    opacity: 0;
    z-index: 1;
}

.card-image-kuliner .rotating-image.entering {
    animation: imageSlideIn 0.6s ease-out forwards;
}

.card-image-kuliner .rotating-image.exiting {
    animation: imageSlideOut 0.6s ease-in forwards;
}

/* Enhanced Kuliner Card Content */
.card-kuliner h3{
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 16px 8px 16px;
    padding: 0;
    font-family: 'Karma', serif;
    color: #92400e;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #92400e, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.card-kuliner:hover h3 {
    transform: translateX(4px);
    background: linear-gradient(135deg, #d97706, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-kuliner p{
    font-family: 'Karma', serif;
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0 16px 12px 16px;
    position: relative;
    z-index: 2;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.card-kuliner:hover p {
    opacity: 1;
    transform: translateX(2px);
}

.card-kuliner .price-tag {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    margin: 8px 16px 12px 16px;
    display: inline-block;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.card-kuliner:hover .price-tag {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(245,158,11,0.5);
}

.card-kuliner .popularity-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(239,68,68,0.4);
    animation: popularity-pulse 2s infinite;
}

@keyframes popularity-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-kuliner .spice-level {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 8px 16px;
    position: relative;
    z-index: 2;
}

.spice-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all 0.3s ease;
}

.spice-indicator.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 4px rgba(245,158,11,0.3);
}

.spice-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

/* Enhanced Kuliner Button Design */
.btn-pesan-kuliner {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Karma', serif;
    cursor: pointer;
    margin: 16px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pesan-kuliner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-pesan-kuliner::after {
    content: '🍴';
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-pesan-kuliner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.5);
    background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-pesan-kuliner:hover::before {
    left: 100%;
}

.btn-pesan-kuliner:hover::after {
    transform: rotate(15deg) scale(1.1);
}

.btn-pesan-kuliner:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.btn-pesan-kuliner:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.3), 0 8px 25px rgba(245,158,11,0.5);
}

/* Loading state for kuliner button */
.btn-pesan-kuliner.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-pesan-kuliner.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Food-Themed Animations */
.card-kuliner {
    animation: kuliner-entrance 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.card-kuliner:nth-child(1) { animation-delay: 0.1s; }
.card-kuliner:nth-child(2) { animation-delay: 0.2s; }
.card-kuliner:nth-child(3) { animation-delay: 0.3s; }

@keyframes kuliner-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Steam Effect Animation */
.card-kuliner.steam-effect::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
    border-radius: 2px;
    animation: steam-rise 2s ease-in-out infinite;
    z-index: 4;
}

@keyframes steam-rise {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scaleY(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px) scaleY(1.2);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scaleY(0.8);
    }
}

/* Kuliner Loading Skeleton */
.kuliner-loading-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.kuliner-loading-skeleton::before {
    content: '';
    display: block;
    height: 200px;
    background: linear-gradient(90deg, #fef3c7 25%, #fde68a 50%, #fef3c7 75%);
    background-size: 200% 100%;
    animation: kuliner-shimmer 1.5s infinite;
    border-radius: 24px;
    margin-bottom: 16px;
}

.kuliner-loading-skeleton::after {
    content: '';
    display: block;
    height: 20px;
    background: linear-gradient(90deg, #fef3c7 25%, #fde68a 50%, #fef3c7 75%);
    background-size: 200% 100%;
    animation: kuliner-shimmer 1.5s infinite;
    border-radius: 10px;
    margin-bottom: 8px;
}

@keyframes kuliner-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Floating Animation for Kuliner Cards */
.card-kuliner.floating {
    animation: kuliner-floating 3s ease-in-out infinite;
}

@keyframes kuliner-floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Kuliner Card Content Styling */
.card-kuliner .card-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Container tombol prev/next & input search */
.cards-container-kuliner{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}
.kuliner-prev, .kuliner-next{
    background: var(--light-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    padding: 10px;
    font-size: .75rem;
    font-family: 'Karma', serif;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.08);
}
.kuliner-prev:hover, .kuliner-next:hover{
    background: #eef3fb;
}

/* Enhanced Kuliner Search Design */
.kuliner-search{
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    padding: 0 16px;
    position: relative;
}

.kuliner-search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,240,0.9));
    border-radius: 25px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 32px rgba(245,158,11,0.15), 
                0 2px 8px rgba(0,0,0,0.08),
                inset 0 1px 0 rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.kuliner-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    border-radius: 25px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.kuliner-search-container:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245,158,11,0.25), 
                0 4px 12px rgba(0,0,0,0.12),
                inset 0 1px 0 rgba(255,255,255,0.8);
}

.kuliner-search input[type="text"]{
    height: 50px;
    padding: 0 20px 0 50px;
    border: none;
    border-radius: 25px;
    background: transparent;
    color: #92400e;
    font-size: 1rem;
    font-family: 'Karma', serif;
    font-weight: 500;
    min-width: 300px;
    outline: none;
    transition: all 0.3s ease;
}

.kuliner-search input[type="text"]::placeholder {
    color: #a78bfa;
    font-style: italic;
    transition: all 0.3s ease;
}

.kuliner-search input[type="text"]:focus::placeholder {
    color: #d97706;
    transform: translateX(5px);
}

.kuliner-search .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #d97706;
    z-index: 2;
    transition: all 0.3s ease;
}

.kuliner-search-container:focus-within .search-icon {
    color: #f59e0b;
    transform: translateY(-50%) scale(1.1);
}

/* Enhanced Search Button */
.kuliner-search-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Karma', serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.kuliner-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.kuliner-search-btn::after {
    content: '🔍';
    font-size: 1rem;
    transition: all 0.3s ease;
}

.kuliner-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.5);
    background: linear-gradient(135deg, #d97706, #b45309);
}

.kuliner-search-btn:hover::before {
    left: 100%;
}

.kuliner-search-btn:hover::after {
    transform: rotate(15deg) scale(1.1);
}

.kuliner-search-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.kuliner-search-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.3), 0 8px 25px rgba(245,158,11,0.5);
}

/* Loading state for search button */
.kuliner-search-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.kuliner-search-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Search Suggestions Dropdown */
.kuliner-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,240,0.95));
    border-radius: 0 0 20px 20px;
    border: 2px solid transparent;
    border-top: none;
    background-clip: padding-box;
    box-shadow: 0 8px 32px rgba(245,158,11,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kuliner-search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kuliner-search-suggestions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    border-radius: 0 0 20px 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(245,158,11,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.1));
    transform: translateX(5px);
}

.suggestion-item .suggestion-icon {
    font-size: 1rem;
    color: #d97706;
}

.suggestion-item .suggestion-text {
    color: #92400e;
    font-family: 'Karma', serif;
    font-weight: 500;
}

/* Search Filters */
.kuliner-search-filters {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-chip {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.1));
    color: #92400e;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(245,158,11,0.2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-chip:hover {
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(217,119,6,0.2));
    transform: translateY(-2px);
}

.filter-chip.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.filter-chip .filter-icon {
    font-size: 0.9rem;
}

/* Search Animations */
.kuliner-search {
    animation: search-entrance 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes search-entrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Animation */
.kuliner-search input[type="text"] {
    animation: typing-glow 2s ease-in-out infinite;
}

@keyframes typing-glow {
    0%, 100% {
        box-shadow: inset 0 0 0 rgba(245,158,11,0);
    }
    50% {
        box-shadow: inset 0 0 20px rgba(245,158,11,0.1);
    }
}

/* Search Pulse Animation */
.kuliner-search-container.searching {
    animation: search-pulse 1.5s ease-in-out infinite;
}

@keyframes search-pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(245,158,11,0.15), 
                    0 2px 8px rgba(0,0,0,0.08),
                    inset 0 1px 0 rgba(255,255,255,0.7);
    }
    50% {
        box-shadow: 0 12px 40px rgba(245,158,11,0.25), 
                    0 4px 12px rgba(0,0,0,0.12),
                    inset 0 1px 0 rgba(255,255,255,0.8);
    }
}

/* Search Results Animation */
.kuliner-search-results {
    animation: results-fade-in 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes results-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Loading Overlay */
.kuliner-search-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,248,240,0.9));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.kuliner-search-loading.show {
    opacity: 1;
    visibility: visible;
}

.kuliner-search-loading .loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(245,158,11,0.3);
    border-top: 3px solid #f59e0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Search History */
.kuliner-search-history {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,240,0.95));
    border-radius: 0 0 20px 20px;
    border: 2px solid transparent;
    border-top: none;
    background-clip: padding-box;
    box-shadow: 0 8px 32px rgba(245,158,11,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    max-height: 150px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kuliner-search-history.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kuliner-search-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    border-radius: 0 0 20px 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.history-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(245,158,11,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.1));
    transform: translateX(5px);
}

.history-item .history-icon {
    font-size: 0.9rem;
    color: #d97706;
}

.history-item .history-text {
    color: #92400e;
    font-family: 'Karma', serif;
    font-weight: 500;
}

.history-item .history-time {
    color: #a78bfa;
    font-size: 0.8rem;
    margin-left: auto;
}

/* Responsive tweak */
@media (max-width: 480px){
  .cards-grid-kuliner{ gap: 16px; }
  .kuliner-prev, .kuliner-next{ width: 36px; height: 36px; }
}

/* sewa section */

/* Travel Agency Section */
.travel-agency {
    background: linear-gradient(135deg, 
        rgba(19, 62, 135, 0.06) 0%, 
        rgba(96, 139, 193, 0.04) 50%, 
        rgba(243, 243, 224, 0.06) 100%);
    width: 100%;
    padding: 48px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
}

.travel-agency-title {
    text-align: center;
    color: var(--primary-color);
    font-family: 'Playfair Display SC', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 1.2px;
    margin-bottom: 32px;
    position: static;
    z-index: auto;
    text-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.travel-agency-title::before,
.travel-agency-title::after {
    content: "";
    height: 2px;
    background: currentColor;
    opacity: .5;
    flex: 1;
    min-width: 80px;
    max-width: 160px;
}

.travel-agency-title span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    animation: none;
}

/* Travel Agency Container */
.travel-agency-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Travel Agency Card */
.travel-agency-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92)) padding-box,
                linear-gradient(135deg, var(--third-color), var(--secondary-color)) border-box;
    border-radius: 24px;
    border: 3px solid transparent;
    box-shadow: 0 20px 60px rgba(19,62,135,0.15), 
                0 8px 25px rgba(0,0,0,0.1),
                inset 0 1px 0 rgba(255,255,255,0.7);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    max-width: 600px;
    animation: travelCardEntrance 1s ease-out forwards;
}

@keyframes travelCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.travel-agency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(96,139,193,0.1) 0%, 
        rgba(19,62,135,0.15) 50%, 
        rgba(203,220,235,0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.travel-agency-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(19,62,135,0.25), 
                0 15px 35px rgba(0,0,0,0.15),
                inset 0 1px 0 rgba(255,255,255,0.9);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.95)) padding-box,
                linear-gradient(135deg, var(--secondary-color), var(--primary-color)) border-box;
}

.travel-agency-card:hover::before {
    opacity: 1;
}

/* Agency Header */
.agency-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.agency-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(19,62,135,0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3px;
    transition: all 0.3s ease;
}

.agency-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 25px rgba(19,62,135,0.3);
}

.agency-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.agency-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display SC', serif;
    position: relative;
    z-index: 2;
}

.agency-info p {
    color: rgba(19,62,135,0.7);
    font-size: 1rem;
    margin: 0 0 12px 0;
    font-family: 'Karma', serif;
    position: relative;
    z-index: 2;
}

.agency-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(251,191,36,0.3);
}

.rating-text {
    color: rgba(19,62,135,0.6);
    font-size: 0.9rem;
    font-weight: 500;
}
/* Agency Services */
.agency-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 30px 20px;
    position: relative;
    z-index: 2;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    border: 1px solid rgba(19,62,135,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(19,62,135,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19,62,135,0.1);
}

.service-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 8px rgba(19,62,135,0.2);
}

.service-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Karma', serif;
}

/* Agency Features */
.agency-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 30px 25px;
    position: relative;
    z-index: 2;
}

.feature {
    font-size: 0.85rem;
    color: rgba(19,62,135,0.8);
    font-weight: 500;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Main CTA Button */
.btn-lihat-layanan {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Karma', serif;
    cursor: pointer;
    margin: 0 30px 30px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(19,62,135,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-lihat-layanan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-lihat-layanan:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(19,62,135,0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-lihat-layanan:hover::before {
    left: 100%;
}

.btn-lihat-layanan .btn-icon {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.btn-lihat-layanan:hover .btn-icon {
    transform: translateX(6px);
}

/* Travel Modal Styles */
.travel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.travel-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.travel-modal-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(19,62,135,0.3);
    border: 2px solid rgba(255,255,255,0.3);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.travel-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(19,62,135,0.1);
    background: linear-gradient(135deg, rgba(96,139,193,0.05), rgba(19,62,135,0.03));
}

.travel-modal-header h2 {
    color: var(--primary-color);
    font-family: 'Playfair Display SC', serif;
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.travel-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.travel-modal-close:hover {
    background: rgba(19,62,135,0.1);
    transform: rotate(90deg);
}

.travel-modal-body {
    padding: 30px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* Services Grid in Modal */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(19,62,135,0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96,139,193,0.05), rgba(19,62,135,0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(19,62,135,0.15);
    border-color: rgba(19,62,135,0.2);
}

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

.service-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    position: relative;
    z-index: 2;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-family: 'Playfair Display SC', serif;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: rgba(19,62,135,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 2;
    font-family: 'Karma', serif;
}
/* Contact Section */
.contact-section {
    background: rgba(19,62,135,0.03);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(19,62,135,0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display SC', serif;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.contact-btn.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.contact-btn.email {
    background: linear-gradient(135deg, #ea4335, #d93025);
    color: white;
    box-shadow: 0 4px 15px rgba(234,67,53,0.3);
}

.contact-btn.email:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234,67,53,0.4);
}

.contact-btn.phone {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(19,62,135,0.3);
}

.contact-btn.phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19,62,135,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .travel-agency-container {
        padding: 0 15px;
    }
    
    .agency-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }
    
    .agency-logo {
        width: 60px;
        height: 60px;
    }
    
    .agency-services {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
    }
    
    .agency-features {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
    }
    
    .btn-lihat-layanan {
        margin: 0 20px 25px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .travel-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .travel-modal-header {
        padding: 20px;
    }
    
    .travel-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .travel-modal-body {
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes for Travel Agency Section */
.travel-agency,
.wisata-section, 
.atraksi-section, 
.akomodasi-section, 
.kuliner-section {
    animation: sectionEntrance 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes sectionEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.atraksi-sejarah {
    margin-top: 18px;
    padding: 14px 18px;
    background: #f3f3e0;
    color: #254a8a;
    border-radius: 10px;
    font-family: 'Karma', serif;
    font-size: 0.98rem;
    box-shadow: 0 2px 8px rgba(19,62,135,0.08);
    line-height: 1.6;
    opacity: 0.95;
}
.mobile-bottom-nav{
    display: none;
}
/* Staggered animation for section elements */
.wisata-section .objek-wisata-title,
.atraksi-section .atraksi-title,
.akomodasi-section .hero,
.kuliner-section .kuliner-title,
.travel-agency .travel-agency-title {
    animation: titleEntrance 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced card entrance with stagger */
.wisata-section .card,
.atraksi-card,
.card-akomodasi,
.card-kuliner,


.wisata-section .card:nth-child(1) { animation-delay: 0.1s; }
.wisata-section .card:nth-child(2) { animation-delay: 0.2s; }
.wisata-section .card:nth-child(3) { animation-delay: 0.3s; }
.wisata-section .card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardStaggerEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}
/* Wave Animation */
.cta-waves {
    position: relative;
    left: 0;
    width: 100%;
    height: 120px; /* Increased height for better visibility */
    overflow: hidden;
    line-height: 0;
    opacity: 1; /* Ensure waves are visible on wisata page */
    transform: translateZ(0); /* Hardware acceleration */
}

/* No animate-in dependency on wisata page */

/* Individual Wave Layers */
.cta-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(0); /* Hardware acceleration */
    will-change: transform;
}

.cta-wave svg {
    position: relative;
    display: block;
    width: 200%; /* exact 2x for seamless -50% loop */
    height: 120px; /* Match container height */
    border: none;
    outline: none;
    backface-visibility: hidden;
    transform: translateZ(0); /* Hardware acceleration */
    will-change: transform;
}

/* Wave Layer 1 - Front layer (darkest, fastest) */
.wave-layer-1 {
    z-index: 3;
}

.wave-layer-1 svg {
    color: #0a2a5c;
    animation: smoothWaveMove1 20s linear infinite;
}

/* Wave Layer 2 - Middle layer (medium opacity, medium speed) */
.wave-layer-2 {
    z-index: 2;
}

.wave-layer-2 svg {
    color: #133E87;
    animation: smoothWaveMove2 30s linear infinite reverse;
}

/* Wave Layer 3 - Back layer (lightest, slowest) */
.wave-layer-3 {
    z-index: 1;
}

.wave-layer-3 svg {
    color: #608BC1;
    animation: smoothWaveMove3 40s linear infinite;
}

/* Smooth Wave Animation Keyframes - No vertical jitter */
@keyframes smoothWaveMove1 {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Move exactly half width (200%) */
    }
}

@keyframes smoothWaveMove2 {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes smoothWaveMove3 {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes waveFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #103478 0%, var(--primary-color) 50%, #0a2555 100%);
    color: #E8E8E8;
    font-family: 'Cormorant Garamond', serif;
    padding: 60px 0 30px 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #E8E8E8 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: inherit;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.footer-column a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--third-color) 0%, var(--white-color) 100%);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-column a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-bottom {
    font-size: 1rem;
    color: #E8E8E8;
    opacity: 0.8;
    padding-top: 30px;
    border-top: 1px solid rgba(232, 232, 232, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: calc(100vh + 60px); /* extend to cover nav overlap on mobile */
        min-height: 560px;
        background-attachment: scroll;
    }

    .main-title h1 {
        font-size: 4em;
    }
    
    /* Mobile responsive for floating cards */
    .floating-info-cards {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .info-card {
        min-width: 160px;
        padding: 12px 16px;
        gap: 12px;
    }
    
    .card-icon {
        font-size: 2em;
    }
    
    .card-number {
        font-size: 1.5em;
    }
    
    .card-text {
        font-size: 0.8em;
    }
    
    /* Mobile responsive for scroll indicator */
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow span {
        width: 16px;
        height: 16px;
    }
    
    .scroll-text {
        font-size: 0.8em;
    }

    .nav-wrapper {
        margin-top: 0;
        padding-bottom: 0;
    }

    /* Ensure off-canvas menu can overflow navbar on mobile */
    nav { overflow: visible; }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        gap: 6px;
        padding-top: 16px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    .nav-links li { width: 100%; }
    .nav-links a { display: block; width: 100%; text-align: center; padding: 14px 24px; font-size: 1.1em; }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .hamburger {
        display: block;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .content-container {
        display: block;
        padding: 40px 20px;
    }

    .text-content, .image-placeholder {
        flex-basis: 100%;
    }

    .image-placeholder {
        margin-top: 20px;
        height: 250px;
    }

    .container {
        padding: 50px 20px;
    }

    .feature-item,
    .feature-item:nth-child(even) {
        display: block;
        margin-bottom: 80px;
    }

    .feature-item:nth-child(odd) .feature-text {
        text-align: center;
    }

    .feature-shape {
        width: 100%;
        height: 280px;
        transform: rotate(0deg) !important;
        margin-bottom: 25px;
    }

    .feature-text {
        max-width: 100%;
        text-align: center !important;
        padding: 20px;
        border-radius: 16px;
    }

    .feature-text h2 {
        font-size: 2.2rem;
    }

    .feature-text h2::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-text p {
        font-size: 1.1rem;
    }

    .map-image {
        width: 95%;
        height: 50%;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        text-align: center;
    }
}

body, p, li {
    font-family: 'Karma', serif;
}
h1, h2, h3 {
    font-family: 'Playfair Display SC', serif;
}

/* kuliner-enhancements.css
   Borders + UI/UX improvements for Kuliner section without touching existing large stylesheet.
   This file is safe to remove 