/* ==========================================================================
   RESET & VARIABEL DESAIN (MODERN LOOK - CHROME & FIREFOX COMPATIBLE)
   ========================================================================== */
:root {
    --primary-color: #0d5c3a;    /* Hijau Islami/Kampus */
    --primary-hover: #084228;
    --accent-color: #d4af37;     /* Sentuhan Emas */
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 20px rgba(13, 92, 58, 0.15);
}

body.dark-mode {
    --primary-color: #10b981;
    --primary-hover: #059669;
    --accent-color: #fbbf24;
    --bg-color: #111827;
    --card-bg: #1f2937;
    --text-color: #f9fafb;
    --text-muted: #9ca3af;
    --border-color: #374151;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    position: relative;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 24px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-batik.png'); 
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.10;
    z-index: -1;
    pointer-events: none;
}

.dark-mode-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99999;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    font-size: 18px;
    transition: transform 0.2s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   STICKY TOP HEADER (RUNNING TEXT) & STICKY BOTTOM FOOTER
   ========================================================================== */
.sticky-top-running-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99998;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.sticky-bottom-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #05331e, #0d5c3a);
    color: #ffffff;
    padding: 6px 16px;
    z-index: 99998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.sticky-footer-inner {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11px;
    gap: 10px;
}

.sticky-footer-copy {
    font-weight: 500;
}

.sticky-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sticky-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sticky-footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* UKURAN IKON KECIL SEPERTI EMOJI (DISEBALKAN DENGAN TEKS) */
.sticky-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    vertical-align: middle;
}

.sticky-dot {
    color: #9ca3af;
}

.section-block-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border-color);
}

/* ==========================================================================
   LAYOUT GRID 2 KOLOM
   ========================================================================== */
.layout-two-columns {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    align-items: start;
}

.main-left-column {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.sidebar-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.sidebar-header-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.sidebar-logo {
    width: 42px;
    height: auto;
}

.sidebar-site-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.sidebar-site-sub {
    font-size: 11px;
    color: var(--accent-color);
    margin-top: 2px;
}

.sidebar-album-group {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-album-title {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
}

.sidebar-album-body {
    padding: 16px;
}

.sidebar-news-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 6px;
    text-align: justify;
}

.sidebar-news-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: justify;
}

/* ==========================================================================
   RUNNING TEXT STYLING
   ========================================================================== */
.running-text-container {
    display: flex;
    align-items: center;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

body.dark-mode .running-text-container {
    background-color: #78350f;
    border-color: #b45309;
}

.running-text-title {
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 10px 14px;
    white-space: nowrap;
    z-index: 10;
}

.running-text-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.running-text-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
}

body.dark-mode .running-text-content {
    color: #fde68a;
}

.running-text-content:hover {
    animation-play-state: paused;
    cursor: pointer;
}

.running-text-content .separator {
    margin: 0 15px;
    color: #d97706;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   SKELETON LOADER
   ========================================================================== */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
}

.skeleton-row {
    display: flex;
    gap: 12px;
}

.skeleton-img {
    width: 100px;
    height: 120px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--border-color) 25%, var(--bg-color) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.5s infinite;
}

.skeleton-text-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.skeleton-text {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--border-color) 25%, var(--bg-color) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.5s infinite;
}

.skeleton-text.short { width: 50%; }
.skeleton-text.long { width: 90%; }
.skeleton-button { height: 32px; margin-top: 5px; }

@keyframes loadingSkeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   KARTU DIGITAL ALUMNI
   ========================================================================== */
.id-card-modal-content {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.id-card-wrapper {
    width: 420px;
    height: 265px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    padding: 16px 20px;
    color: #1f2937;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.id-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.id-card-logo {
    width: 36px;
    height: auto;
}

.id-card-inst-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.id-card-inst-sub {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.id-card-body {
    display: flex;
    gap: 14px;
    align-items: center;
}

.id-card-photo {
    width: 75px;
    height: 95px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--primary-color);
    background-color: #ffffff;
}

.id-card-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.id-card-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.id-card-nim {
    font-size: 10.5px;
    font-weight: 700;
    color: #4b5563;
}

.id-card-address {
    font-size: 9.5px;
    color: #6b7280;
    line-height: 1.25;
}

.id-card-status {
    font-size: 8.5px;
    background-color: #d1fae5;
    color: #065f46;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-top: 3px;
    letter-spacing: 0.3px;
}

.id-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed var(--border-color);
    padding-top: 6px;
}

.id-card-qr img {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.id-card-sign {
    font-size: 8.5px;
    text-align: right;
    color: #6b7280;
}

.id-card-sign-title {
    font-weight: 700;
    color: #1f2937;
    margin-top: 14px;
}

@media print {
    body * {
        visibility: hidden;
    }
    #printableIdCard, #printableIdCard * {
        visibility: visible;
    }
    #printableIdCard {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        box-shadow: none !important;
        border: 2px solid #0d5c3a !important;
    }
}

/* ==========================================================================
   CHIPS PETA
   ========================================================================== */
.map-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.map-chip {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-chip:hover {
    background-color: var(--border-color);
}

.map-chip.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 25px;
    z-index: 9999;
    font-size: 18px;
    font-weight: bold;
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: #ffffff;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#backToTopBtn:hover {
    background-color: #b48e24;
    transform: scale(1.1);
}

/* ==========================================================================
   PROFIL ALUMNI SIDEBAR
   ========================================================================== */
.alumni-profile-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alumni-top-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.alumni-photo-side {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: var(--card-bg);
    padding: 4px;
    transition: transform 0.2s ease;
}

.alumni-photo-side:hover {
    transform: scale(1.03);
}

.alumni-info-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
}

.alumni-field-block {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
}

.alumni-field-block.full-width {
    width: 100%;
}

.field-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2px;
    line-height: 1.3;
}

.btn-detail-alumni {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 4px;
    transition: background-color 0.2s ease;
}

.btn-detail-alumni:hover {
    background-color: var(--primary-hover);
}

.btn-whatsapp-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #25d366;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 4px;
    transition: background-color 0.2s ease;
}

.btn-whatsapp-chat:hover {
    background-color: #128c7e;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-slider-section {
    width: 100%;
    margin-bottom: 25px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background-color: #000000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 30px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.hero-badge {
    background-color: var(--accent-color);
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    max-width: 800px;
}

.hero-subtitle {
    font-size: 13px;
    color: #e5e7eb;
    margin-bottom: 16px;
    max-width: 650px;
    line-height: 1.5;
}

.hero-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-btn:hover {
    background-color: #0d824d;
    transform: translateY(-2px);
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-hero { left: 16px; }
.next-hero { right: 16px; }

.hero-dots {
    position: absolute;
    bottom: 12px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    background-color: var(--accent-color);
    width: 26px;
    border-radius: 10px;
}

/* ==========================================================================
   ALUMNI FINDER
   ========================================================================== */
.alumni-finder-section {
    width: 100%;
    margin-bottom: 30px;
}

.finder-card-box {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.finder-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.finder-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1fr;
    gap: 10px;
}

.finder-input {
    padding: 10px 14px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    background-color: var(--card-bg);
    color: var(--text-color);
    width: 100%;
}

.finder-input:focus {
    border-color: var(--primary-color);
}

.btn-finder-search {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-finder-search:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   PETA INTERAKTIF
   ========================================================================== */
.interactive-map-section {
    width: 100%;
    margin-bottom: 30px;
}

.map-card-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.map-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 20px;
    align-items: center;
}

.svg-map-wrapper {
    background-color: #e0f2fe;
    border-radius: var(--radius-md);
    padding: 10px;
    border: 1px solid #bae6fd;
    transition: transform 0.2s ease;
}

body.dark-mode .svg-map-wrapper {
    background-color: #1e3a8a;
    border-color: #3b82f6;
}

.svg-map-wrapper:hover {
    transform: scale(1.01);
}

.indonesia-svg {
    width: 100%;
    height: auto;
}

.map-land {
    fill: #0d5c3a;
    opacity: 0.85;
    transition: opacity 0.3s ease, fill 0.3s ease;
}

.map-pin circle {
    fill: #ee4d2d;
    stroke: #ffffff;
    stroke-width: 2px;
}

.pin-pulse {
    animation: pulseAnimation 1.5s infinite;
}

@keyframes pulseAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); fill: #f59e0b; }
    100% { transform: scale(1); }
}

.map-detail-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
}

.map-detail-header {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 6px;
}

/* ==========================================================================
   SPOTLIGHT
   ========================================================================== */
.spotlight-section {
    width: 100%;
    margin-bottom: 30px;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spotlight-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spotlight-quote-icon {
    font-size: 40px;
    color: var(--accent-color);
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: -10px;
}

.spotlight-text {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 16px;
}

.spotlight-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spotlight-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.spotlight-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.spotlight-role {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.spotlight-badge {
    font-size: 10px;
    background-color: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* ==========================================================================
   COUNTER STATISTIK
   ========================================================================== */
.counter-section {
    width: 100%;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #0d5c3a, #05331e);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.counter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.counter-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.15);
}

.counter-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.counter-number-wrapper {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.2;
}

.counter-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.counter-suffix {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.counter-label {
    font-size: 12px;
    font-weight: 500;
    color: #e5e7eb;
    margin-top: 4px;
    line-height: 1.3;
}

/* ==========================================================================
   PICASA MODAL
   ========================================================================== */
.picasa-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.picasa-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 100000;
}

.picasa-close:hover {
    color: var(--accent-color);
}

.picasa-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1000px;
    position: relative;
}

.picasa-modal-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: contain;
}

.picasa-nav-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.picasa-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.picasa-prev { left: -20px; }
.picasa-next { right: -20px; }

.picasa-caption {
    margin-top: 18px;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
    line-height: 1.5;
}

/* ==========================================================================
   VIDEO & SLIDER FOTO SIDEBAR
   ========================================================================== */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    background-color: #000000;
}

.sidebar-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.photo-slider-container {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    cursor: pointer;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.slider-img.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 92, 58, 0.75);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(13, 92, 58, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 8px; }
.next-btn { right: 8px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 75px;
    height: auto;
    object-fit: contain;
}

.header-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.site-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 4px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 4px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 92, 58, 0.1);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    width: 200px;
    color: var(--text-color);
}

.search-box button {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-box button:hover {
    background-color: var(--primary-hover);
}

.search-icon {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   DROPDOWN MENU
   ========================================================================== */
.main-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 100;
}

.dropdown-group {
    position: relative;
    width: 100%;
}

.card-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 16px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.card-title .arrow {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.dropdown-group:hover .card-title {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.dropdown-group:hover .card-title .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 999;
    overflow: hidden;
    margin-top: 4px;
}

.dropdown-group:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}

.sub-menu {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--card-bg);
    cursor: pointer;
}

.sub-menu:last-child {
    border-bottom: none;
}

.sub-menu:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    padding-left: 24px;
}

/* ==========================================================================
   BERITA
   ========================================================================== */
.news-section {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 35px !important;
}

.news-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    height: 100% !important;
}

.news-card {
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: var(--radius-md);
    background-color: var(--card-bg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-link:hover .news-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.news-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    background-color: var(--border-color);
}

.news-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: justify;
}

.news-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: justify;
}

/* ==========================================================================
   RATING & MASUKAN
   ========================================================================== */
.feedback-container {
    width: 100%;
    clear: both;
    margin-top: 30px;
    padding: 24px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-sizing: border-box;
}

.feedback-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.rating-summary-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rating-score-side {
    text-align: center;
    min-width: 110px;
}

.rating-score-big {
    font-size: 30px;
    font-weight: 700;
    color: #ee4d2d;
    line-height: 1;
}

.rating-score-max {
    font-size: 15px;
    font-weight: 500;
    color: #ee4d2d;
}

.rating-stars-static {
    font-size: 16px;
    color: #ee4d2d;
    margin-top: 4px;
}

.rating-filter-side {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.btn-rating-filter {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 7px 12px;
    font-size: 12px;
    color: var(--text-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-rating-filter:hover {
    border-color: #ee4d2d;
    color: #ee4d2d;
}

.btn-rating-filter.active {
    border-color: #ee4d2d !important;
    color: #ee4d2d !important;
    background-color: var(--card-bg) !important;
    box-shadow: inset 0 0 0 1px #ee4d2d;
}

.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 26px;
    cursor: pointer;
}

.star-rating .star {
    color: var(--border-color);
    transition: color 0.2s ease, transform 0.1s ease;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #f59e0b;
    transform: scale(1.15);
}

.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.feedback-input {
    padding: 11px 14px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.btn-send-feedback {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-send-feedback:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   BUKU TAMU DIGITAL INTERAKTIF (DISESUAIKAN UNTUK SIDEBAR KANAN)
   ========================================================================== */
.guestbook-ticker-box {
    width: 100%;
    height: 110px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
}

.guestbook-ticker-track {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: scrollGuestbook 15s linear infinite;
}

.guestbook-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes scrollGuestbook {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.guestbook-item {
    background-color: var(--card-bg);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 11px;
}

.guestbook-item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.guestbook-item-text {
    color: var(--text-color);
}

/* ==========================================================================
   SISTEM KOMENTAR SIDEBAR
   ========================================================================== */
.main-comment-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-input {
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    background-color: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box;
    width: 100%;
}

.btn-submit-comment {
    padding: 8px 14px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit-comment:hover {
    background-color: var(--primary-hover);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
    overflow-y: auto;
}

.comment-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.comment-author {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.comment-role-badge {
    font-size: 9.5px;
    background-color: #d1fae5;
    color: #065f46;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
}

.comment-time {
    font-size: 9.5px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 11.5px;
    color: var(--text-color);
    margin: 4px 0;
    line-height: 1.4;
}

.comment-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.btn-action {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.btn-action-reply { color: var(--primary-color); }
.btn-action-edit { color: #d97706; }
.btn-action-delete { color: #dc2626; }

.replies-list {
    margin-top: 8px;
    margin-left: 12px;
    padding-left: 8px;
    border-left: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reply-form-container, .edit-form-container {
    margin-top: 8px;
    display: none;
}

/* ==========================================================================
   TOMBOL MUSIK & RESPONSIVE
   ========================================================================== */
.music-control-btn {
    position: fixed;
    bottom: 50px;
    right: 25px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.music-control-btn:hover {
    transform: scale(1.05);
    background-color: var(--primary-hover);
}

@media (max-width: 1024px) {
    .layout-two-columns {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 280px;
    }
    .hero-title {
        font-size: 18px;
    }
    .hero-subtitle {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .finder-grid,
    .map-container,
    .spotlight-grid {
        grid-template-columns: 1fr !important;
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-content, .news-section {
        grid-template-columns: 1fr !important;
    }
    .header {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box input {
        width: 100%;
    }
    .sticky-footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    .sticky-footer-links {
        justify-content: center;
    }
}