    html {
        scroll-behavior: smooth;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        
    }
    #home{
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 25%),
        linear-gradient(to top, #FAF5E6 0%, transparent 30%),
        linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 20%),
        linear-gradient(to right, rgba(0, 0, 0, 0.6) 10%, transparent 40%),
        url('https://dpmptsp.sintang.go.id/media/k2/items/cache/48ee1e8a0a8f50dce4f8cb9ab418e211_XL.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        min-height: 100vh;

    }
    #home h1{
        margin-left:30px;
        color:white;
        font-size:70px;
                  font-weight: 700;


    }
    #home span{
        margin-left:30px;
        color:white;
        font-size:30px;
        max-width: 1200px;
        line-height: 1.8;
        
    }
    .judul-section{
        display: flex;
        align-items:center;
        justify-content: center;
        margin-top: 20px;
        color: #1A331E;
        font-size: 40px;
        font-weight: 700; 
    }
    #sejarah{
        background-color: #FAF5E6;
    }

    .content-sejarah{
        display: flex;
        align-items:center;
        justify-content: center;
        gap:150px;
        padding-top: 80px;
        padding-bottom: 100px;
    }
    .navbar-main{
        background: linear-gradient(to right, #1F5F3E, #093654);
        margin: 20px auto;
        padding: 14px 24px;
        width:90%;
        border-radius: 50px;
        max-width: 750px;
        position: fixed;
        top:10px;
        left:50%;
        transform: translateX(-50%);  
        z-index:1000;


    }

    body{
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    }
    .H-bar{
        list-style-type: none;
        margin:0;
        padding:0;
        display: flex;
        justify-content: center;
        gap: 40px;
    }
    .H-bar a{
        color:white;
        text-decoration: none;
        font-weight: 500;
        
    }

    .content{
        min-height: 80vh;
        padding: 40px 40px;
        scroll-margin-top: 70px;
        
        border-radius: 4px;                 
    }
.wisata-sq:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 2px #D4AF37, 0 0 30px rgba(212, 175, 55, 0.45);
}


    .wisata-pict{
        width: 100%;
        height: 220px;
        overflow: hidden;
    }
    .wisata-pict img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .konten-wisata{
        display : grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 40px;
        padding: 40px 40px;

    }
    .wisata-sq{
        background-color: #FAF5E6;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
        transition: transform 0.3s ease;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .wisata-form{
        padding: 20px;
    }
    .wisata-form h3 {
          font-weight: 700;
          font-size: 30px;
        margin-bottom: 10px;
        /* font-weight: bold; */

    }
    .wisata-form p { 
        font-size:20px;
        line-height: 1.6;
        color:#2C2C2C;
    }



    .judul{
        position: relative;
        padding-bottom: 12px;
    }
    .adat-bento {
        padding-top: 40px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1100px;
        margin: 0 auto;    
    }

    .adat-bento article {
        background-color: #FAF5E6;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transition: transform .2s ease, box-shadow .2s ease;
        display: flex;
        flex-direction: column;
    }


    .adat-bento article:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 2px #D4AF37, 0 0 30px rgba(212, 175, 55, 0.45);
    }

    .adat-bento img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

        .bento-teks {
        padding: 16px 20px;

    }

    .bento-teks h3 {
        margin: 0 0 8px 0;
        /* font-size: 1.15rem; */
        color: #2C2C2C;
          font-weight: 700;
          font-size: 30px;
    }

    .bento-teks p {
        margin: 0;
        font-size: 20px;
        line-height: 1.6;
        color: #555;
    }

    .bento-large {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 2;
    }

    .bento-tall img {
        height: 460px;
    }



    .judul::after{
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%  ;
        background-color: #D4AF37;
        transform: translateX(-50%); 
        border-radius: 4px;
        width: 60px;      
        height: 5px;          


    }
        

    .pct-sejarah{
        flex-shrink: 0;
    }

 .pct-sejarah img {
    max-width: 100%;
    width: 800px;
    height: auto;
    border-radius: 16px;  
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pct-sejarah img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 2px #D4AF37, 0 0 30px rgba(212, 175, 55, 0.45);
}
        
    .txt-sejarah{
        max-width: 760px;
        font-size: 24px;
        line-height: 1.5;
        text-align: left;

        display: flex;
        flex-direction: column;
        color:#2C2C2C;
        gap: 24px;
    }
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-box {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 36px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    width: 92%;
    max-width: 1250px;     
    height: 80vh;          
    max-height: 720px;   
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#modalGambar {
    width: 45%; 
    height: 100%; 
    object-fit: cover;
    border-radius: 12px;
    margin: 0; 
}

.modal-teks-wrapper {
    width: 55%; 
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.modal-teks-wrapper h2 {
    font-size: 34px;
    color: #1A331E;
    padding-right: 40px;
}

.modal-scroll-area {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
    text-align: left;
    color: #2C2C2C;
    font-size: 19px;
    line-height: 1.75;
}
.modal-scroll-area p {
    margin-bottom: 12px;
}

.modal-scroll-area ul {
    list-style: disc;      
    padding-left: 22px;
}

.modal-scroll-area li {
    margin-bottom: 10px;
}


.modal-aksi {
    display: flex;
    gap: 15px;
    justify-content: flex-start; 
    padding-top: 10px;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1A331E;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.btn-maps:hover {
    background: #D4AF37;
    color: #1A331E;
}
.modal-close-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: #2C2C2C;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.modal-close-x:hover {
    background: rgba(0, 0, 0, 0.18);
}

.kuliner-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    overflow: hidden;
}

.kuliner-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
}

.kuliner-card {
    flex-shrink: 0;
   width: min(900px, 75vw);     
    height: min(540px, 45vw);    
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.4;
    filter: blur(1px) grayscale(30%);
    transform: scale(0.92);
    transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}

.kuliner-card.active {
    opacity: 1;
    filter: none;
    transform: scale(1);
    box-shadow: 0 0 0 3px #D4AF37, 0 0 40px rgba(212, 175, 55, 0.5);
}

.kuliner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kuliner-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 6px;
}

.kuliner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: white;
}

.kuliner-info h3 { font-size: 32px; margin-bottom: 8px; }
.kuliner-info p { font-size: 18px; opacity: 0.95; }


.kuliner-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 0;  
    overflow: hidden;
}
.kuliner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1A331E;
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kuliner-counter {
    text-align: center;
    font-weight: 600;
    color: #1A331E;
    padding-bottom: 30px;
}
.wisata-form::after {
    content: "Lihat selengkapnya  →";
    display: block;
    margin-top: 16px;
    font-weight: 600;
    color: #1A331E;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wisata-sq:hover .wisata-form::after {
    opacity: 1;
    transform: translateX(0);
}

.kuliner-prev { left: 10px; }
.kuliner-next { right: 10px; }