/* FULL BACKGROUND */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    height: 100vh;

    background-image: url('img/bg.png'); /* ganti dengan file kamu */
    background-size: cover;      /* full layar */
    background-position: center; /* center */
    background-repeat: no-repeat;
    background-attachment: fixed; /* efek parallax */
}

/* OVERLAY BIAR TEXT KEBACA */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.2)
    );

    z-index: -1;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 🔥 biar sejajar */
    padding: 20px 40px;
}

.logo {
    font-weight: bold;
    font-size: 20px;
}

.btn-main {
    background: #FFD54F;
    color: #000;
    
    padding: 10px 22px;
    border-radius: 30px; /* 🔥 pill shape */

    text-decoration: none;
    font-weight: 600;
    font-size: 14px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: #ffca28;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.5);
}

/* HERO */
.hero {
    text-align: center;
    margin-top: 20px;
    color: #fff;
}

.hero h1 {
    font-size: 32px;
    margin: 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.hero h2 {
    font-size: 48px;
    margin-top: 5px;
    font-weight: 800;
    text-shadow: 0 6px 15px rgba(0,0,0,0.7);
}

.hero span {
    color: #FFD54F;
}

/* CONTAINER */
.tour-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 50px 20px;

    overflow-x: auto;
    flex-wrap: nowrap;
}

.tour-container::-webkit-scrollbar {
    display: none;
}

/* CARD */
.card {
    min-width: 240px;
    max-width: 240px;
    height: 380px;
border: 3px solid rgba(255,255,255);
    flex-shrink: 0;

    border-radius: 18px;
    overflow: hidden;
    position: relative;

    background: #1b5e20; /* hijau solid */
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
	
}

.card:hover .badge {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0,0,0,0.8);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%);
}

/* IMAGE */
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BADGE */
.badge {
    position: absolute;
    top: 15px;              /* 🔥 dari atas */
    left: 50%;              /* 🔥 tetap tengah horizontal */
    transform: translateX(-50%); /* 🔥 center horizontal */

    background: rgba(0,0,0,0.6);
    color: white;

    padding: 8px 14px;
    border-radius: 20px;

    display: flex;
    align-items: center;
    gap: 6px;

    font-weight: bold;
    font-size: 14px;
border: 1px solid rgba(255,255,255,0.3);
    z-index: 3;
    backdrop-filter: blur(6px);
}

.badge .icon {
    font-size: 16px;
}

/* TITLE */
.card-title {
    position: absolute;
    bottom: 60px;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 2;
    line-height: 1.3;
}

/* BUTTON */
.btn-tour {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    width: 80%;
    background: #FFD54F;
    color: black;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    top: 0;
}

.modal-content {
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: white;
    position: relative;
    border-radius: 10px;
}

iframe {
    width: 100%;
    height: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.card:hover .badge {
    transform: translateX(-50%) translateY(5px);
}