@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #FF8C00 rgba(255,255,255,0.1);
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    background: var(--color-primary);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

:root{
  --color-primary: linear-gradient(135deg, #161b22 0%, #0b0d10 100%);
  --color-act: #ecb25bd5;
  --navfot-color: #001F3F;
  --text: #222222;
  --radius-md: 8px;
  --gap-md: 1rem;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); }

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.text-bold { font-weight: 700 !important; }
.text-light { font-weight: 300 !important; }
.text-medium { font-weight: 500 !important; }

::-webkit-scrollbar { 
    width: 6px; 
    height: 6px;
}
::-webkit-scrollbar-track { 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--color-act);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--color-act); 
}
html { -webkit-overflow-scrolling: touch; }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    z-index: 2000;
    box-sizing: border-box;
    padding: 24px 5%; 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    
    border: 1px solid transparent
    border-radius: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.judul {
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #ffffff;
    white-space: nowrap;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 1.5rem;
}

.menu-link {
    color: #e2e8f0;
    font-weight: 500;
    text-decoration: none !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-link:hover, .menu-link.active {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #ffffff;
}

.navbar.scrolled {
    padding: 14px 5%;
    background: rgba(18, 20, 26, 0.85); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.06); 
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.navbar.scrolled .judul {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar.scrolled .menu-link {
    color: #cbd5e1 !important; 
}

.navbar.scrolled .menu-link:hover, 
.navbar.scrolled .menu-link.active {
    background: rgba(255, 140, 0, 0.15) !important;
    color: #ff9f43 !important;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
}

.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    
    background: linear-gradient(145deg, rgba(18, 20, 26, 0.98) 0%, rgba(30, 34, 45, 0.98) 100%);
    
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    list-style: none;
    min-width: 260px;
    max-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0;
    padding: 0;
    z-index: 2001;
    overflow: hidden;
}

.submenu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

@media (min-width: 1025px) {
    .dropdown:hover .submenu,
    .dropdown.active .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        padding: 0.75rem;
    }
}

.submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.submenu li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.submenu li:hover {
    background: rgba(255, 140, 0, 0.05);
    border-bottom-color: rgba(255, 140, 0, 0.15);
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    color: #cbd5e1;
    font-weight: 500;
    padding: 0.9rem 1.2rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    width: 100%;
    border-radius: 10px;
    margin: 0.15rem 0;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.submenu a:hover {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(255, 179, 71, 0.1));
    color: #ff9f43; 
    border-color: rgba(255, 140, 0, 0.2);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.15);
    padding-left: 2rem;
}

.submenu a::before {
    content: "→";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ff9f43;
    font-weight: bold;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.submenu a:hover::before {
    opacity: 1;
    left: 1rem;
}

.dropdown:hover .menu-link {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

@media (max-width: 1024px) {
    .submenu {
        min-width: 260px;
        max-width: 300px;
    }
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9998;
}

.mobile-overlay.active { 
    opacity: 1; 
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: auto;
    max-height: 90vh;
    background: #12141c; 
    transform: translateY(-100%); 
    border-radius: 0 0 28px 24px; 
    z-index: 9999;
    padding: 6rem 1.5rem 2.5rem 1.5rem
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.active { 
    transform: translateY(0); 
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.menu-close-btn:hover {
    background: rgba(255, 140, 0, 0.15);
    border-color: #ff9f43;
}

.mobile-menu.active .menu-close-btn {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-list > li {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: none;
}

.mobile-menu .menu-link {
    color: #e2e8f0 !important; 
    padding: 0.9rem 1.2rem !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    width: 100% !important;
    
    flex-direction: row-reverse !important; 
    justify-content: flex-start !important
    transition: all 0.3s ease !important;
}

.mobile-menu .menu-link i:not(.fa-chevron-down) {
    margin-left: 0.8rem;
    margin-right: 0;
}

.mobile-menu .menu-link i:last-child.fa-chevron-down {
    margin-right: auto !important;
    margin-left: 0 !important;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.mobile-menu .dropdown.active .menu-link i:last-child.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-menu .menu-link:hover,
.mobile-menu .dropdown.active > .menu-link {
    background: rgba(255, 140, 0, 0.1) !important;
    color: #ff9f43 !important;
    border-radius: 12px !important;
}


.mobile-menu .submenu {
    position: static !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    list-style: none !important;
    background: #0b0c10 !important; 
    border-radius: 12px !important;
    
    margin: 0 1rem 0 0 !important; 
    padding: 0 !important;
    text-align: right !important; 
    transition: max-height 0.35s ease, opacity 0.3s ease !important;
    transform: none !important;
    visibility: hidden !important;
}

.mobile-menu .dropdown.active .submenu {
    max-height: 500px !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    padding: 0.5rem 0 !important;
}

.mobile-menu .submenu a {
    color: #94a3b8 !important;
    padding: 0.8rem 1.2rem !important;
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    display: block !important;
    text-align: right !important;
    transition: all 0.25s ease !important;
    border-radius: 8px;
}

.mobile-menu .submenu a::before {
    display: none !important;
}

.mobile-menu .submenu a:hover {
    color: #ff9f43 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding-right: 1.5rem !important;
    padding-left: 1.2rem !important;
    box-shadow: none !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10000;
    padding: 10px;
    align-items: flex-end;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.burger span:nth-child(2) {
    width: 18px;
}

.burger:hover span:nth-child(2) {
    width: 28px;
    background: #ff9f43;
}

.burger.active span:nth-child(1) { 
    transform: translateY(9px) rotate(45deg); 
    background: #ff9f43;
}

.burger.active span:nth-child(2) { 
    opacity: 0; 
    transform: translateX(15px);
}

.burger.active span:nth-child(3) { 
    transform: translateY(-9px) rotate(-45deg); 
    background: #ff9f43;
}

@media (max-width: 1024px) {
    .burger { 
        display: flex !important; 
    }
    .desktop-menu { 
        display: none !important; 
    }
    
    .navbar {
        padding: 14px 1.5rem; 
        width: 100%;
    }
    
    .mobile-menu-list > li + li {
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .mobile-menu { 
        width: 100vw; 
        padding: 5.5rem 1.2rem 2rem 1.2rem;
    }
}


main { 
    margin-top: clamp(80px, 15vh, 110px); 
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: white !important;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 15px 35px rgba(234, 172, 32, 0.6);
}

.home-animate, .destinasi-animate {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent !important;
}

.home-animate::before {
    content: "";
    position: absolute;
    top: -30%; left: -10%; right: -10%; bottom: -30%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('Desain.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(var(--scroll-offset, 0px));
    z-index: -2;
    pointer-events: none;
    will-change: transform;
}

.home-animate::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(22, 27, 34, 0.3) 0%, transparent 20%, transparent 75%, #161b22 100%),
                radial-gradient(circle at center, transparent 50%, rgba(11, 13, 16, 0.6) 100%);
    z-index: -1;
    pointer-events: none;
}

.home-animate {
    margin-top: -170px;
    height: calc(100vh + 170px);
    padding-top: 170px;
    min-height: 100vh;
}

.destinasi-animate::before {
    content: "";
    position: absolute;
    top: -30%; left: -10%; right: -10%; bottom: -30%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('Landscape.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(var(--scroll-offset, 0px));
    z-index: -2;
    pointer-events: none;
    will-change: transform;
}

.destinasi-animate::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, #161b22 0%, transparent 20%, transparent 80%, #161b22 100%),
                radial-gradient(circle at center, transparent 50%, rgba(11, 13, 16, 0.6) 100%);
    z-index: -1;
    pointer-events: none;
}

.destinasi-animate {
    min-height: 100vh;
    padding: 120px 1.5rem 60px;
}

.home-text, .destinasi-text {
    max-width: 50rem;
    animation: fadeInUp 1.5s ease-out;
}

.home-text h1, .destinasi-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

.destinasi-text h2 {
    position: relative;
    margin-bottom: 2rem;
}

.destinasi-text h2::after {
    content: "";
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(15rem, 35vw, 30rem);
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #FF8C00 20%, #FFD700 50%, #FF8C00 80%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
}

.home-text p, .destinasi-text p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 3rem;
}

.hero-btn {
    display: flex;
    text-decoration: none;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(234, 172, 32, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.5);
}

.tentang-animate {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
    
    background: transparent;
    text-align: center;
    overflow: hidden;
}

.hero-title {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out;
}

.hero-title h2 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    background: linear-gradient(45deg, #fff, #f0f0f0, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-title p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #fff;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 4rem;
    animation: fadeInUp 1.8s ease-out 0.3s both;
}

.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

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

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-20px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: clamp(4rem, 10vw, 6rem) !important;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    display: inline-block !important;
    width: 1.1em !important;
    height: 1.1em !important;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 10px 30px rgba(255,255,255,0.8));
}

.card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card p {
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.welcome-text {
    text-align: center;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeInUp 2s ease-out 0.6s both;
}

.welcome-text h2,
.hero-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    background: linear-gradient(45deg, #fff, rgba(255,255,255,0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.welcome-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #fff;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

@media (max-width: 768px) {
    .tentang-animate {
        padding: 1.5rem 1rem;
        min-height: 100vh;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .tentang-animate {
        padding: 1rem 0.8rem;
    }
    
    .cards-grid {
        gap: 1.2rem;
    }
    
    .card {
        padding: 1.8rem 1.2rem;
    }
}
.tradisi-animate {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.tradisi-text {
    text-align: center;
    max-width: 60rem;
    animation: fadeInUp 1s ease-out;
}

.tradisi-text h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.tradisi-text h2::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 10rem;
    height: 5px;
    background: linear-gradient(90deg, #FF8C00, #FFD700);
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(255, 140, 0, 0.4);
}

.tradisi-grid, .photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1500px;
    width: 100%;
    gap: 1.5rem;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.tradisi-card, .photo-card {
    background: transparent;
    border-radius: 24px;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1 0 auto;
}

.tradisi-card:hover, .photo-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
}

.photo-container {
    width: 100%;
    height: 80vh;
    min-height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 15px;
}

.tradisi-card:hover .photo-container img, .photo-card:hover .photo-container img {
    transform: scale(1.1);
}

.dual-photo-container {
    width: 100%;
    height: 80vh;
    min-height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    gap: 2rem;
    border-radius: 15px;
}

.dual-photo-container .dual-img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .dual-photo-container {
        height: 60vh;
        min-height: 250px;
        gap: 0.5rem;
    }
    
    .dual-photo-container .dual-img {
        border-radius: 15px;
    }
}

.tradisi-card:hover .dual-photo-container .dual-img, 
.photo-card:hover .dual-photo-container .dual-img {
    transform: scale(1.1);
}

.text-container, .teks-container {
    padding: 3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-container h3, .teks-container h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.text-container p, .teks-container p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.8;
    margin: 0;
    flex-grow: 1;
}

.general-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px; /* Jarak antar kartu */
}

/* --- TATA LETAK KARTU (ZIGZAG) --- */
.general-card {
    width: 100%;
}

.general-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Mengatur urutan teks dan gambar */
.even .general-content {
    flex-direction: row;
}

.odd .general-content {
    flex-direction: row-reverse;
}

.general-text {
    flex: 1;
}

.general-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 10;
}

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

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

/* --- KOMPONEN TEKS --- */
.general-text h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
}

.general-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #aaaaaa;
    margin-bottom: 24px;
}

/* --- KOMPONEN METADATA (RATING, LOKASI, RUTE) --- */
.meta-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #bbbbbb;
}

.icon-star {
    width: 16px;
    height: 16px;
    color: #ffbc00; /* Warna kuning bintang */
}

.icon-svg {
    width: 16px;
    height: 16px;
    color: #ffa500; /* Warna oranye tema */
}

.review-count {
    color: #777777;
    font-size: 0.85rem;
}

/* --- GRUP TOMBOL --- */
.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Tombol Lihat Selengkapnya */
.general-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffa500; /* Warna utama oranye */
    color: #121212;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.general-cta-button:hover {
    background-color: #ffb732;
    transform: translateY(-2px);
}

.arrow-icon {
    width: 18px;
    height: 18px;
}

/* Tombol Petunjuk Rute Google Maps */
.maps-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #ffa500;
    border: 2px solid #ffa500;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.maps-cta-button:hover {
    background-color: #ffa500;
    color: #121212;
    transform: translateY(-2px);
}

.maps-icon {
    width: 16px;
    height: 16px;
}

/* --- RESPONSIVE DESIGN (Tampilan HP) --- */
@media (max-width: 768px) {
    .general-container {
        gap: 40px;
    }

    .general-content, 
    .even .general-content, 
    .odd .general-content {
        flex-direction: column; /* Ubah tumpukan menjadi vertikal di HP */
        gap: 20px;
    }

    .general-image {
        width: 100%;
        order: -1; /* Gambar selalu berada di atas teks saat di HP */
    }

    .general-text h3 {
        font-size: 1.6rem;
    }
    
    .cta-group {
        flex-direction: column; /* Tombol bertumpuk vertikal di HP */
        width: 100%;
    }

    .general-cta-button, .maps-cta-button {
        width: 100%;
        justify-content: center;
    }
}

.bttn-primary, .bttn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bttn-primary {
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.bttn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(234, 172, 32, 0.6);
}

.bttn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bttn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.5);
}


.kampung-kopi-section,
.air-terjun-section,
.pura-malen-section,
.vihara-section {
    padding: 80px 20px;
    background: transparent;
    overflow: hidden;
    position: relative;
}

.kampung-kopi-section::after,
.air-terjun-section::after,
.pura-malen-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(250px, 60vw, 800px);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.25), rgba(255, 215, 0, 0.4), rgba(255, 140, 0, 0.25), transparent);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.15);
}

.kampung-container,
.terjun-container,
.pura-malen-container,
.vihara-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.carousel-container {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: #FF8C00;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.carousel {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kampung-slide, .terjun-slide, .malen-slide, .vihara-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.25); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.kampung-slide img, 
.terjun-slide img, 
.malen-slide img, 
.vihara-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.kampung-dots, .terjun-dots, .malen-dots, .vihara-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.kampung-dot, .terjun-dot, .malen-dot, .vihara-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.kampung-dot.active, .terjun-dot.active, 
.malen-dot.active, .vihara-dot.active {
    background: #FF8C00;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.8);
}

.destinasi-text {
    padding: 0 20px;
    text-align: left;
    width: 100%;
    max-width: 1000px;
}

.destinasi-text h3 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.destinasi-text h4 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: #FF8C00;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.1;
}

.destinasi-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(255, 140, 0, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .kampung-container,
    .terjun-container,
    .pura-malen-container,
    .vihara-container {
        gap: 40px;
        text-align: center;
    }

    .carousel-container {
        height: 400px;
        margin: 0 auto;
        order: 1;
    }

    .destinasi-text {
        padding: 0;
        order: 2;
    }

    .kampung-kopi-section,
    .air-terjun-section,
    .pura-malen-section,
    .vihara-section {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 300px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        left: 10px;
    }

    .next-btn {
        left: auto;
        right: 10px;
    }

    .destinasi-text h3 {
        margin-bottom: 20px;
    }

    .destinasi-text p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 769px) {
    .kampung-container,
    .terjun-container,
    .pura-malen-container,
    .vihara-container {
        transition: all 0.4s ease;
    }

    .carousel-container:hover {
        transform: scale(1.02);
        box-shadow: none;
    }
}

.cta-button:focus,
.kampung-dot:focus,
.terjun-dot:focus,
.malen-dot:focus,
.vihara-dot:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

@media (max-width: 1023px) {
    .carousel {
        touch-action: pan-y;
    }
}

.main-footer {
    position: relative;
    background: #121620;
    width: 100%;
    margin-top: 120px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: block;
    color: #fff;
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 30px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; 
    gap: 50px;
}

.footer-box h4 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
    background: transparent;
}

.footer-box h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: #ff9f43;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    border-radius: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.source-link {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-block;
    letter-spacing: 0.3px;
    padding-bottom: 2px;
}

.source-link:hover {
    color: #ff9f43;
    transform: translateX(5px);
}

.creators {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-link {
    color: #e2e8f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 1.1rem;
}

.social-link:hover {
    background: rgba(255, 159, 67, 0.15);
    border-color: #ff9f43;
    color: #ff9f43;
}

.footer-brand .footer-logo {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.footer-brand .footer-tagline {
    color: #ff9f43;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.footer-brand .footer-desc {
    color: #718096;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #4a5568;
}

.footer-bottom p {
    margin: 0;
}

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

@media (min-width: 1025px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .burger {
        display: flex !important;
    }
    .submenu { 
        min-width: clamp(160px, 35vw, 220px); 
    }
}

@media (max-width: 768px) {
    .desktop-menu { display: none !important; }
    .burger { padding: clamp(16px, 5vw, 24px); }
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    .photo-container { 
        height: 50vh;
        min-height: 300px;
    }
    .text-container, .teks-container { 
        padding: 2rem 1.5rem;
    }
    .tradisi-card, .photo-card {
        min-height: 450px;
    }
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }
    .hero-btn { 
        flex-direction: column; 
        align-items: center; 
        gap: 1rem; 
    }
    .btn-primary, .btn-secondary { 
        width: 100%; 
        max-width: 18rem; 
        justify-content: center; 
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 35px;
        text-align: center;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-box h4::after {
        left: 50%;
        transform: translateX(-50%); 
    }
    .source-link:hover {
        transform: translateY(-2px);
    }
    .social-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .burger span { 
        width: clamp(24px, 8vw, 28px); 
        height: 3px; 
    }
    .burger span:nth-child(2) {
        width: clamp(16px, 5vw, 20px);
    }
    .photo-container { 
        height: 45vh;
        min-height: 250px;
    }
    .tradisi-animate, .tentang-animate {
        padding: 3rem 1rem;
        gap: 3rem;
    }
}

@media (max-width: 375px) {
    .mobile-menu {
        padding: clamp(1.8rem, 10vh, 3rem) clamp(1.5rem, 8vw, 2.5rem);
    }
}
