/* ========================================
   Portal Wisata & Budaya Delta Brantas Sidoarjo
   Dark Premium Tourism Portal
   ======================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #08111f;
    --bg-secondary: #0f172a;
    --bg-card: #111c31;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #22c55e;
    --accent-hover: #16a34a;
    --border: rgba(255, 255, 255, .08);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, .25);
    --radius-sm: 16px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

/* --- Light Mode CSS Variables --- */
.light-mode {
    --bg-primary: #FAF6F0;      /* Cream Primary - Soft light cream */
    --bg-secondary: #F4ECE1;    /* Cream Secondary - Elegant warm cream */
    --bg-card: #ffffff;         /* Cream Card - Crisp white for clean contrast */
    --bg-kuliner: #EFE8DC;      /* Cream Richer - For special kuliner card background */
    --text-primary: #2D251E;    /* Dark espresso slate for readable text */
    --text-secondary: #6E645A;  /* Medium espresso gray for secondary text */
    --accent: #16a34a;          /* Rich green accent for better contrast */
    --accent-hover: #15803d;
    --border: rgba(45, 37, 30, .08);
    --shadow-card: 0 10px 40px rgba(45, 37, 30, .05);
}

/* --- Smooth Theme Transitions --- */
body, .navbar, .navbar.scrolled, .navbar-menu a, .btn-outline, .destination-card, .footer, .footer-social a, .mobile-menu, .home-desti-card, .home-kuliner-card, .dyn-artikel-card, .admin-modal, .modal-box, .modal-form input, .modal-form select, .modal-form textarea, .admin-toast, .auth-card {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.35s cubic-bezier(.4, 0, .2, 1);
}

/* --- Theme Toggle Styles --- */
.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}
.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}
.theme-toggle .sun-icon {
    display: block;
}
.theme-toggle .moon-icon {
    display: none;
}
.light-mode .theme-toggle .sun-icon {
    display: none;
}
.light-mode .theme-toggle .moon-icon {
    display: block;
}

/* --- Light Mode Special Overrides --- */
.light-mode .navbar {
    background: rgba(239, 232, 220, 0.85); /* Rich darker cream (#EFE8DC) with transparency */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(45, 37, 30, 0.03);
}
.light-mode .navbar.scrolled {
    background: rgba(239, 232, 220, 0.96); /* Solid darker cream */
    box-shadow: 0 4px 20px rgba(45, 37, 30, 0.06);
    border-bottom: 1px solid var(--border);
}
.light-mode .navbar-menu a {
    color: var(--text-secondary);
}
.light-mode .navbar-menu a:hover,
.light-mode .navbar-menu a.active {
    color: var(--text-primary);
}
.light-mode .mobile-menu {
    background: rgba(239, 232, 220, 0.98);
}
.light-mode .theme-toggle {
    background: #e6dccb;
    border: 1px solid rgba(45, 37, 30, 0.15);
}
.light-mode .theme-toggle:hover {
    background: #d9cebc;
}
.light-mode .btn-outline {
    border-color: rgba(45, 37, 30, .25);
    color: var(--text-primary);
}
.light-mode .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

/* --- Container --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: 24px;
}

/* --- Section Common --- */
.section {
    padding: 100px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, .3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, .2);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 17, 31, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar-menu a {
    font-size: .9rem;
    font-weight: 500;
    color: #cbd5e1;
    position: relative;
    padding: 4px 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--text-primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-cta .btn {
    padding: 10px 24px;
    font-size: .85rem;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 4px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.hero.loaded .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 17, 31, .6) 0%,
        rgba(8, 17, 31, .75) 50%,
        rgba(8, 17, 31, .95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll-indicator .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   QUICK CATEGORY
   ======================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.category-card:hover::before {
    border-color: rgba(34, 197, 94, .3);
}

.category-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(34, 197, 94, .08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: rgba(34, 197, 94, .15);
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   STATISTICS
   ======================================== */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.stats-description h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.stats-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(34, 197, 94, .15);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: .85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   DESTINATION CARDS
   ======================================== */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.destination-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.destination-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.destination-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.destination-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.destination-card:hover .destination-card-image img {
    transform: scale(1.08);
}

.destination-card-image .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 17, 31, .8) 0%, transparent 60%);
}

.destination-card-image .card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(34, 197, 94, .9);
    color: var(--bg-primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.destination-card-body {
    padding: 24px;
}

.destination-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.destination-card-body .card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.destination-card-body .card-location svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.destination-card-body .card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: #fbbf24;
}

.destination-card-body .card-rating svg {
    width: 14px;
    height: 14px;
}

.destination-card-body .card-desc {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 8px;
}

/* ========================================
   FOOD / KULINER CARDS
   ======================================== */
.food-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.food-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.food-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.food-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.food-card:hover .food-card-image img {
    transform: scale(1.08);
}

.food-card-body {
    padding: 20px;
}

.food-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.food-card-body p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   CULTURAL CARDS
   ======================================== */
.cultural-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.cultural-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cultural-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}

.cultural-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 12px 40px rgba(34, 197, 94, .1);
}

.cultural-card:hover::after {
    border-color: rgba(34, 197, 94, .25);
}

.cultural-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(34, 197, 94, .08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition);
}

.cultural-card:hover .cultural-card-icon {
    background: rgba(34, 197, 94, .15);
    box-shadow: 0 0 20px rgba(34, 197, 94, .15);
}

.cultural-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cultural-card p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section .map-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 48px;
}

.map-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.map-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: var(--accent);
    opacity: .5;
}

.map-placeholder p {
    font-size: .95rem;
}

.map-placeholder .map-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* ========================================
   ARTICLE CARDS
   ======================================== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.article-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.08);
}

.article-card-body {
    padding: 24px;
}

.article-card-body .article-date {
    font-size: .8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.article-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
}

.article-card-body .read-more:hover {
    gap: 10px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, #059669, var(--accent), #34d399);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--bg-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.05rem;
    color: rgba(8, 17, 31, .7);
    margin-bottom: 36px;
    max-width: 500px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.cta-box .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.cta-box .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-about h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about h3 .footer-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer-links ul li a {
    font-size: .88rem;
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
    color: var(--text-secondary);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 17, 31, .98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* ========================================
   HERO COMPACT (Inner Pages)
   ======================================== */
.hero-compact {
    min-height: 60vh;
    padding-top: 120px;
}

.hero-compact .hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

/* ========================================
   SECTION ALTERNATE
   ======================================== */
.section-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-more {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   DETAIL PAGE LAYOUT
   ======================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.detail-hero-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 32px;
    height: 400px;
}

.detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-badge {
    display: inline-block;
    background: rgba(34, 197, 94, .12);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    color: #fbbf24;
}

.detail-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.detail-location svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.detail-body {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.detail-body p {
    margin-bottom: 16px;
}

.detail-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.detail-info-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.detail-info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
    color: var(--text-secondary);
}

.detail-info-list li strong {
    color: var(--text-primary);
    display: inline-block;
    min-width: 140px;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.sidebar-item:hover {
    padding-left: 6px;
}

.sidebar-item img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-item span {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-item small {
    font-size: .78rem;
    color: var(--text-secondary);
}

/* ========================================
   MAP LAYOUT
   ======================================== */
.map-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    margin-top: 48px;
}

.map-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    height: fit-content;
}

.map-sidebar h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 24px;
}

.map-sidebar h4:first-child {
    margin-top: 0;
}

.map-filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-size: .88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.map-filter-item:hover,
.map-filter-item.active {
    border-color: rgba(34, 197, 94, .25);
    color: var(--text-primary);
}

.map-filter-item input[type="checkbox"] {
    accent-color: var(--accent);
}

.map-locations-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-location-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: var(--transition);
}

.map-location-item:hover {
    background: rgba(255, 255, 255, .04);
}

.map-location-icon {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, .08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.map-location-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-location-item span {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.map-location-item small {
    font-size: .78rem;
    color: var(--text-secondary);
}

.map-main .map-container {
    height: 550px;
    margin-top: 0;
}

/* ========================================
   NEWSLETTER FORM
   ======================================== */
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(8, 17, 31, .5);
    border: 1.5px solid rgba(8, 17, 31, .3);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: .9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(8, 17, 31, .5);
}

.newsletter-input:focus {
    border-color: rgba(8, 17, 31, .6);
}

/* ========================================
   ADMIN DASHBOARD
   ======================================== */
.admin-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.admin-stat-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(34, 197, 94, .08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent);
}

.admin-stat-label {
    font-size: .82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.admin-modules {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-module-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.admin-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.admin-module-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.btn-sm {
    padding: 8px 18px;
    font-size: .8rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 24px;
    text-align: left;
    font-size: .88rem;
}

.admin-table th {
    background: rgba(255, 255, 255, .02);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, .02);
}

.status-active {
    background: rgba(34, 197, 94, .12);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
}

.status-draft {
    background: rgba(251, 191, 36, .12);
    color: #fbbf24;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
}

.table-action {
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    margin-right: 12px;
}

.table-action:hover {
    text-decoration: underline;
}

.table-action.danger {
    color: #ef4444;
}

/* ========================================
   MOBILE MENU ACTIVE
   ======================================== */
.mobile-menu a.active {
    color: var(--accent);
}

/* ========================================
   HEADER FOR SECTIONS
   ======================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-header .section-subtitle {
    text-align: right;
}

/* ========================================
   ABOUT PREVIEW (Home & Tentang)
   ======================================== */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-preview-content .section-subtitle {
    margin-bottom: 12px;
}

.about-stats-row {
    display: flex;
    gap: 32px;
    margin-top: 28px;
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.1;
}

.about-stat-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about-preview-image {
    position: relative;
}

.about-preview-image img {
    border-radius: var(--radius-md);
    height: 480px;
    object-fit: cover;
    width: 100%;
}

.about-quote {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(8, 17, 31, .85);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    font-size: .85rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   EXPLORE FILTER PILLS
   ======================================== */
.explore-filter-section {
    padding-top: 48px;
    padding-bottom: 24px;
}

.explore-filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.explore-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.explore-pill:hover {
    border-color: rgba(34, 197, 94, .3);
    color: var(--text-primary);
}

.explore-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* ========================================
   EXPLORE SEARCH
   ======================================== */
.explore-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    max-width: 480px;
}

.explore-search svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.explore-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: .9rem;
    font-family: inherit;
}

.explore-search-input::placeholder {
    color: var(--text-secondary);
}

/* ========================================
   EXPLORE CATEGORY CARDS
   ======================================== */
.explore-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.explore-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.explore-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(34, 197, 94, .2);
}

.explore-category-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.explore-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.explore-category-card:hover .explore-category-image img {
    transform: scale(1.08);
}

.explore-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 17, 31, .7) 0%, transparent 60%);
}

.explore-category-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(34, 197, 94, .9);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
}

.explore-category-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.explore-category-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.explore-category-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.explore-category-body p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.explore-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.explore-category-card:hover .explore-category-link {
    gap: 10px;
}

/* ========================================
   FEATURED CARD (LARGE)
   ======================================== */
.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
}

.featured-card .featured-image {
    height: 360px;
}

.featured-card .destination-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card .destination-card-body h3 {
    font-size: 1.4rem;
}

/* ========================================
   FEATURED DESTINATION GRID (HOME)
   ======================================== */
.featured-dest-grid {
    margin-top: 32px;
}

.featured-dest-main .destination-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
}

.featured-dest-main .destination-card-image {
    height: 380px;
}

.featured-dest-main .destination-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================
   VISION & MISSION
   ======================================== */
.vision-preview {
    max-width: 800px;
}

.vision-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    border-left: 3px solid var(--accent);
    padding-left: 24px;
    margin: 24px 0;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.vision-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 24px;
}

.vision-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.vision-box p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.vision-list {
    list-style: disc;
    padding-left: 18px;
}

.vision-list li {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.vision-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.vision-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.vision-point-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent);
}

.vision-point p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   HARMONI SECTION
   ======================================== */
.harmoni-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.harmoni-content .section-subtitle {
    margin-bottom: 12px;
}

.harmoni-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.harmoni-stat .stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
}

.harmoni-stat .stat-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.harmoni-image img {
    border-radius: var(--radius-md);
    height: 420px;
    object-fit: cover;
    width: 100%;
}

/* ========================================
   RECOMMENDATION CARDS
   ======================================== */
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.recommendation-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(34, 197, 94, .15);
}

.recommendation-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.recommendation-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.recommendation-card p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.recommendation-link {
    display: inline-flex;
    align-items: center;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
}

.recommendation-link:hover {
    text-decoration: underline;
}

/* ========================================
   MINI MAP CONTAINER
   ======================================== */
.mini-map-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

/* ========================================
   MAP EXPLORE GRID
   ======================================== */
.map-explore-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    margin-top: 48px;
}

.map-explore-stat-row {
    display: flex;
    gap: 24px;
}

.map-explore-stat {
    display: flex;
    flex-direction: column;
}

.map-explore-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
}

.map-explore-stat-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4px;
}

.map-explore-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.map-explore-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
    opacity: .5;
    margin-bottom: 12px;
}

.map-explore-placeholder p {
    font-size: .9rem;
}

/* ========================================
   DETAIL BREADCRUMB
   ======================================== */
.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    flex-wrap: wrap;
}

.detail-breadcrumb a {
    color: var(--text-secondary);
}

.detail-breadcrumb a:hover {
    color: var(--accent);
}

.detail-breadcrumb span {
    color: var(--text-secondary);
    opacity: .5;
}

.detail-breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
    opacity: 1;
}

/* ========================================
   RESPONSIVE - TABLET (768px - 1199px)
   ======================================== */
@media (max-width: 1199px) {
    .destination-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .food-grid,
    .cultural-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats-wrapper {
        gap: 40px;
    }

    .detail-layout {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }

    .map-layout {
        grid-template-columns: 280px 1fr;
        gap: 16px;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explore-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-preview-grid,
    .harmoni-grid {
        gap: 40px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .recommendation-grid {
        grid-template-columns: 1fr;
    }

    .map-explore-grid {
        grid-template-columns: 1fr;
    }

    .featured-card,
    .featured-dest-main .destination-card {
        grid-template-columns: 1fr;
    }

    .featured-card .featured-image,
    .featured-dest-main .destination-card-image {
        height: 250px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE (<768px)
   ======================================== */
@media (max-width: 767px) {
    .section {
        padding: 64px 0;
    }

    /* Navbar */
    .navbar-menu,
    .navbar-cta {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Hero */
    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badge {
        margin-inline: auto;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Category */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Stats */
    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Destinations */
    .destination-grid {
        grid-template-columns: 1fr;
    }

    /* Food */
    .food-grid {
        grid-template-columns: 1fr;
    }

    /* Cultural */
    .cultural-grid {
        grid-template-columns: 1fr;
    }

    /* Articles */
    .article-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-box {
        padding: 48px 24px;
    }

    .cta-box .btn-cta {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Section Header */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-header .section-subtitle {
        text-align: left;
    }

    /* Detail Layout */
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        order: -1;
    }

    .sidebar-card {
        position: static;
    }

    .detail-hero-image {
        height: 250px;
    }

    /* Map Layout */
    .map-layout {
        grid-template-columns: 1fr;
    }

    .map-sidebar {
        order: 1;
    }

    .map-main .map-container {
        height: 350px;
    }

    /* Admin */
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .admin-table {
        display: block;
        overflow-x: auto;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    /* Hero Compact */
    .hero-compact {
        min-height: 50vh;
        padding-top: 100px;
    }

    /* About Preview */
    .about-preview-grid,
    .harmoni-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-preview-image img,
    .harmoni-image img {
        height: 280px;
    }

    .about-stats-row {
        gap: 20px;
    }

    .harmoni-stats {
        gap: 24px;
    }

    /* Explore */
    .explore-category-grid {
        grid-template-columns: 1fr;
    }

    .explore-filter-pills {
        gap: 8px;
    }

    .explore-pill {
        padding: 8px 16px;
        font-size: .8rem;
    }

    .explore-search {
        max-width: 100%;
    }

    /* Vision & Mission */
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .vision-points {
        grid-template-columns: 1fr;
    }

    /* Recommendation */
    .recommendation-grid {
        grid-template-columns: 1fr;
    }

    /* Map Explore */
    .map-explore-grid {
        grid-template-columns: 1fr;
    }

    .map-explore-placeholder {
        height: 200px;
    }

    /* Featured Card */
    .featured-card,
    .featured-dest-main .destination-card {
        grid-template-columns: 1fr;
    }

    .featured-card .featured-image,
    .featured-dest-main .destination-card-image {
        height: 220px;
    }

    /* Detail Breadcrumb */
    .detail-breadcrumb {
        font-size: .78rem;
        gap: 6px;
    }

    .mini-map-container {
        height: 250px;
    }
}

/* ========================================
   ADMIN DASHBOARD
   ======================================== */

/* Button small variant */
.btn-sm {
    padding: 8px 18px;
    font-size: .82rem;
    border-radius: 10px;
}

/* Admin section wrapper */
.admin-section {
    padding-top: 0 !important;
    min-height: 100vh;
}

/* Admin sidebar header layout */
.admin-sidebar-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 36px;
}
.admin-sidebar-header .sidebar-logo {
    font-size: 1.6rem;
    margin-top: 2px;
}
.admin-sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 6px;
}

/* Admin Theme Toggle Button — matches landing page navbar style */
.admin-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;           /* Pill shape — same as navbar toggle */
    padding: 5px 12px 5px 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.admin-theme-btn:hover {
    background: rgba(255,255,255,0.16);
    color: #ffffff;
}
/* SVG icons inside toggle */
.admin-theme-btn svg {
    flex-shrink: 0;
    display: block;
}
.admin-theme-btn .sun-icon  { display: block; }
.admin-theme-btn .moon-icon { display: none; }
.light-mode .admin-theme-btn .sun-icon  { display: none; }
.light-mode .admin-theme-btn .moon-icon { display: block; }


.admin-wrapper {
    display: block;
    min-height: 100vh;
    position: relative;
}

/* ── DARK MODE sidebar (default) — dark navy + green accent ── */
.admin-sidebar {
    background: #0d1f35;       /* Dark navy, matches site dark bg */
    color: #ffffff;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}

/* ── LIGHT MODE sidebar — warm cream ── */
.light-mode .admin-sidebar {
    background: #ded3c0;       /* Darker cream for sidebar */
    color: #2D251E;
    border-right: 1px solid rgba(45, 37, 30, 0.12);
    box-shadow: 4px 0 20px rgba(45,37,30,0.08);
}
.light-mode .admin-sidebar-header h3   { color: #2D251E; }
.light-mode .admin-sidebar-header .sidebar-logo { filter: none; }
.light-mode .admin-sidebar-user        { background: rgba(45,37,30,0.07); }
.light-mode .admin-sidebar-user .sidebar-avatar {
    background: var(--accent);
    color: #fff;
}
.light-mode .admin-sidebar-user .sidebar-username { color: #2D251E; }
.light-mode .admin-sidebar-user .sidebar-role     { color: #6E645A; }

.light-mode .admin-sidebar-menu a {
    color: rgba(45, 37, 30, 0.65);
}
.light-mode .admin-sidebar-menu a:hover {
    background: rgba(45, 37, 30, 0.08);
    color: #2D251E;
}
.light-mode .admin-sidebar-menu a.active {
    background: var(--accent);
    color: #ffffff;
}
.light-mode .btn-sidebar-view-site {
    background: rgba(45,37,30,0.08);
    border-color: rgba(45,37,30,0.15);
    color: #2D251E;
}
.light-mode .btn-sidebar-view-site:hover {
    background: rgba(45,37,30,0.14);
}
.light-mode .btn-sidebar-logout {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.2);
    color: #dc2626;
}
.light-mode .btn-sidebar-logout:hover {
    background: rgba(239,68,68,0.16);
}
.light-mode .admin-theme-btn {
    background: rgba(45,37,30,0.1);
    border-color: rgba(45,37,30,0.2);
    color: #2D251E;
}
.light-mode .admin-theme-btn:hover {
    background: rgba(45,37,30,0.16);
}

.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 28px;
}

.admin-sidebar-user .sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.admin-sidebar-user .sidebar-username {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
}

.admin-sidebar-user .sidebar-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.admin-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.admin-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.admin-sidebar-menu a.active {
    background: var(--accent);    /* Green accent — matches site accent */
    color: #ffffff;
    font-weight: 600;
}

.admin-sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn-sidebar-view-site {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-sidebar-view-site:hover { background: rgba(255, 255, 255, 0.13); }

.btn-sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-sidebar-logout:hover { background: rgba(239, 68, 68, 0.2); }

/* Content Area */
.admin-content-area {
    margin-left: 260px;
    min-height: 100vh;
    padding: 48px;
    background: var(--bg-primary);
    width: calc(100% - 260px);
    box-sizing: border-box;
}

/* Light mode content area — standard cream */
.light-mode .admin-content-area {
    background: var(--bg-primary); /* Uses light mode --bg-primary = #FAF6F0 */
}

/* Light mode headers */
.light-mode .admin-header h2.section-title {
    color: var(--text-primary);
}
.light-mode .admin-module-header h3 {
    color: var(--text-primary);
}

/* Metric Cards */
.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.admin-stat-number {
    color: var(--accent);   /* Green for stats count */
}
.admin-stat-label { color: var(--text-secondary); margin-top: 4px; font-size: .78rem; }

/* Table Header — use accent green */
.admin-table th {
    background: var(--accent) !important;
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 14px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.light-mode .admin-table td {
    border-bottom: 1px solid rgba(45, 37, 30, 0.06);
}

.light-mode .admin-table tbody tr:hover {
    background: rgba(45, 37, 30, 0.02);
}

.light-mode .table-action.edit {
    background: rgba(122, 26, 32, 0.08);
    color: #7a1a20;
    border: 1px solid rgba(122, 26, 32, 0.15);
}

.light-mode .table-action.edit:hover {
    background: rgba(122, 26, 32, 0.15);
}

/* ══════════════════════════════════════════════
   DASHBOARD MODE — Read-only: hide action buttons
   ══════════════════════════════════════════════ */

/* Sembunyikan tombol + Tambah di header modul */
.dashboard-mode .admin-module-header .btn,
.dashboard-mode .admin-module-header button {
    display: none !important;
}

/* Sembunyikan kolom AKSI di header tabel */
.dashboard-mode .admin-table th:last-child,
.dashboard-mode .admin-table td:last-child {
    display: none !important;
}

/* Sembunyikan action-group (tombol Edit, Draft, Hapus) */
.dashboard-mode .action-group,
.dashboard-mode .table-action {
    display: none !important;
}

/* Badge "Tampilan Ringkasan" di setiap module header */
.dashboard-mode .admin-module-header::after {
    content: 'Tampilan Ringkasan';
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 20px;
}

/* responsive overrides */
@media(max-width: 1024px) {
    .admin-wrapper {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }
    .admin-content-area {
        margin-left: 0;
        padding: 24px;
    }
}

/* ── Admin Content Area Inner Components ── */

/* Admin header */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 24px;
    flex-wrap: wrap;
}

/* Stats grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.admin-stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.admin-stat-icon {
    font-size: 2rem;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.light-mode .admin-stat-icon {
    background: rgba(92, 19, 24, 0.06);
}

.admin-stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.admin-stat-label {
    font-size: .78rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Modules grid */
.admin-modules {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.admin-module-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.light-mode .admin-module-card {
    background: #ffffff;
    border-color: rgba(45, 37, 30, 0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.admin-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.light-mode .admin-module-header {
    border-bottom-color: rgba(45, 37, 30, 0.07);
}

.admin-module-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Admin table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table td {
    padding: 14px 20px;
    font-size: .88rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255,255,255,.04);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: rgba(255,255,255,.02);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
}
.status-badge.active {
    background: rgba(34, 197, 94, .12);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,.25);
}
.status-badge.draft {
    background: rgba(148, 163, 184, .1);
    color: #94a3b8;
    border: 1px solid rgba(148,163,184,.2);
}

@media (max-width: 900px) {
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Admin page: ensure body/main do not add extra padding */
body:has(.admin-section) {
    background: var(--bg-primary);
}
.admin-section + footer,
.admin-section ~ footer {
    display: none;
}


