/* Style khusus halaman daftar artikel */

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

.article-card img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.article-card h5 a:hover {
    color: #dc3545;
}

:root {
    --primary: #0F3222;
    --primary-dark: #D4D993;
    --primary-darker: #BCC178;
    --secondary: #1B4D35;
    --accent: #7A8F5E;
    --success: #6B8F51;
    --warning: #E6C86B;
    --error: #D97A6B;

    --neutral-50:  #E9F1ED;
    --neutral-100: #D4E3DC;
    --neutral-200: #B0CFC2;
    --neutral-300: #8BBBA7;
    --neutral-400: #5F9E85;
    --neutral-500: #3B7E67;
    --neutral-600: #26614E;
    --neutral-700: #184838;
    --neutral-800: #113427;
    --neutral-900: #0F3222;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--warning) 0%, var(--primary) 100%);

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--neutral-900);
    background:#C8A951;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {

    transition: opacity 0.3s ease;
}
.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.navbar-transparent .nav-link,
.navbar-transparent .navbar-brand {
    color: #E5E5E5 !important;
    transition: color 0.3s ease;
}


.hero {
    background: var(--gradient-primary);
    padding: 5rem 0 8rem;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15' fill-rule='nonzero'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-title {
    color: #E5E5E5 !important;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    color: #E5E5E5 !important;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 300;
    opacity: 0.95;
    max-width: 42rem;
    margin: 0 auto;
}

.main-content {
    margin-top: -4rem;
    position: relative;
    z-index: 2;
} */

.room-card {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    height: 100%;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.room-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-2xl);
}

.room-cover {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    cursor: pointer;
    transition: transform var(--transition-normal);
    position: relative;
}

.room-card:hover .room-cover {
    transform: scale(1.03);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 234, 174, 0.15) 0%, rgba(168, 184, 107, 0.2) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.room-card:hover .cover-overlay {
    opacity: 1;
}

.tour-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.room-card:hover .tour-badge {
    opacity: 1;
    transform: translateY(0);
}

.card-content {
    padding: 2rem;
}

.room-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
    line-height: 1.3;
}

.room-description {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.room-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.meta-icon {
    color: var(--primary);
    font-size: 0.875rem;
}

.tour-btn {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.tour-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.tour-btn:hover::before {
    left: 100%;
}

.tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.tour-btn:active {
    transform: translateY(0);
}

.empty-state {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.empty-icon {
    font-size: 4rem;
    color: var(--neutral-300);
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-700);
    margin-bottom: 0.75rem;
}

.empty-description {
    color: var(--neutral-500);
    font-size: 1rem;
}

.tour-modal .modal-dialog {
    max-width: 95vw;
    width: 95vw;
    height: 95vh;
    margin: 2.5vh auto;
}

.tour-modal .modal-content {
    height: 100%;
    border: none;
    border-radius: var(--radius-2xl);
    background: var(--neutral-900);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.modal-title {
    font-weight: 700;
    font-size: 1.375rem;
    margin: 0;
}

.btn-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 1;
    margin: 0;
    padding: 0;
}

.btn-close::before {
    content: '✕';
    color: white;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.modal-body {
    padding: 0;
    height: calc(100% - 5rem);
    position: relative;
}

#panorama {
    width: 100%;
    height: 100%;
}

.tour-controls {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-btn {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 8rem;
    white-space: nowrap;
}

.control-btn:hover {
    background: rgba(15, 50, 34, 0.9);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.control-icon {
    font-size: 0.875rem;
}

.pagination {
    justify-content: center;
    margin-top: 4rem;
}

.page-link {
    color: var(--primary);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    margin: 0 0.25rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    background: white;
    box-shadow: var(--shadow-sm);
}

.page-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}


.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 6rem;
    }

    .main-content {
        margin-top: -3rem;
    }

    .room-cover {
        height: 12rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .tour-controls {
        top: 1rem;
        left: 1rem;
        gap: 0.5rem;
    }

    .control-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
        min-width: 7rem;
    }

    .tour-modal .modal-dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
        max-width: 100vw;
    }

    .tour-modal .modal-content {
        border-radius: 0;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .btn-close {
        top: 1rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .room-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
.card-img-top {
height: 200px;
object-fit: cover;
border-top-left-radius: .5rem;
border-top-right-radius: .5rem;
}

.footer {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 30%, #0F3222 70%, #0F3222 100%);
    color: var(--neutral-100);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='nonzero'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zM0 20c0-11 9-20 20-20s20 9 20 20-9 20-20 20S0 31 0 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: white;
}

.footer-logo:hover {
    color: var(--primary);
    transition: color var(--transition-normal);
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.logo-text {
    color: #E5E5E5 !important;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.footer-tagline {
    font-size: 1.125rem;
    color: var(--neutral-300);
    margin: 0;
    max-width: 24rem;
    line-height: 1.6;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #E5E5E5 !important;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(0.25rem);
}

.footer-link i {
    font-size: 0.875rem;
    width: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-300);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.125rem;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-stats {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #E5E5E5 !important;
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    color: var(--neutral-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-2xl);
}


@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 4rem;
    }

    .footer-brand {
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-stats {
        margin: 2rem 0;
        padding: 1.5rem;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }
}

.dark-mode .room-title {
    color: #f0f0e6 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: cover;
}

  .footer-bottom-content {
    padding: 10px 20px;
  }


  footer p {
    margin: 0;
    font-size: 0.95rem;
  }

  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.bg-primary {
    background-color: #0F3222 !important;
}

 .article-card {
    background-color: var(--card-bg, #0F3222);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #e0e6ed;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.article-card .card-body {
    background-color: #0F3222;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.25rem;
}

.article-card .card-title a {
    color: #f9c74f;
    text-decoration: none;
}

.article-card .card-title a:hover {
    color: #ffd166;
}

.article-card .text-muted {
    color: #b0bec5 !important;
}

.article-card .card-footer {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #b0bec5;
}

.article-card .btn-readmore {
    color: #f9c74f;
    font-weight: 600;
    text-decoration: none;
}

.article-card .btn-readmore:hover {
    color: #ffd166;
    text-decoration: underline;
}

.room-card{
    background-color: #E5E5E5 !important;
}

.btn-view-all {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

