/* Elegant Hotel Theme - Bronze Metal Glossy Gradient */
:root {
    --primary-dark: #0a0a0a;
    --dark-bg: #121212;
    --medium-dark: #1a1a1a;
    --light-dark: #2a2a2a;
    --bronze-light: #CD7F32; /* Bronze terang */
    --bronze-medium: #B87333; /* Bronze medium */
    --bronze-dark: #8B4513; /* Bronze gelap */
    --bronze-gloss: #D4A017; /* Bronze glossy */
    --text-light: #f0f0f0;
    --text-muted: #cccccc;
    --white: #ffffff;
    --gold-accent: #FFD700;
    --text-dark: #333333;
}

/* Body and Global Styles */
body {
    background: linear-gradient(135deg, var(--primary-dark), var(--dark-bg));
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 70px; /* Spacer untuk header fixed */
}

/* Header dengan Logo dan Navbar */
.top-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(205, 127, 50, 0.3);
    z-index: 1030; /* Bootstrap z-index for fixed-top */
}

.header-spacer {
    height: 70px; /* Sesuaikan dengan tinggi header */
}

/* Logo Container */
.logo-container {
    background: rgba(10, 10, 10, 0.8);
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(205, 127, 50, 0.2);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(205, 127, 50, 0.3);
    border-color: var(--bronze-light);
}

.main-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

/* Main Navigation */
.main-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--bronze-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bronze-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Tombol Booking di Navbar */
.btn-bronze-nav {
    background: linear-gradient(135deg, var(--bronze-medium), var(--bronze-dark));
    color: var(--white) !important;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.3);
    border: 1px solid var(--bronze-light);
    font-size: 0.9rem;
}

.btn-bronze-nav:hover {
    background: linear-gradient(135deg, var(--bronze-light), var(--bronze-medium));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(205, 127, 50, 0.5);
    color: var(--white) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--bronze-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section - Tanpa Logo, dengan Slider */
.hero-section {
    position: relative;
    height: 85vh; /* Sesuaikan tinggi */
    overflow: hidden;
    margin-top: 0; /* Karena sudah ada spacer */
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Slider Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Hero Content */
.hero-section .container {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background: rgba(18, 18, 18, 0.85);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 850px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid var(--bronze-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    color: var(--bronze-light);
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Overlay untuk efek visual lebih baik */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

/* Section Styling */
.section-title {
    color: var(--bronze-light);
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--bronze-light);
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(205, 127, 50, 0.5);
}

/* Card Styling */
.card {
    background: var(--medium-dark);
    border: 1px solid rgba(205, 127, 50, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    color: var(--text-light);
}

.card:hover {
    border-color: var(--bronze-light);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-header {
    background: linear-gradient(to right, var(--bronze-dark), var(--bronze-medium));
    color: var(--white);
    font-weight: 700;
    border-bottom: 1px solid var(--bronze-light);
}

/* Facility Cards */
.facility-card {
    background: var(--medium-dark);
    border: 1px solid rgba(205, 127, 50, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    padding: 1.8rem 1rem;
    color: var(--text-light);
    height: 100%;
}

.facility-card:hover {
    border-color: var(--bronze-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.facility-icon {
    color: var(--bronze-light);
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-icon {
    color: var(--gold-accent);
    transform: scale(1.1);
}

/* Room Cards */
.room-card {
    background: var(--medium-dark);
    border: 1px solid rgba(205, 127, 50, 0.1);
    border-radius: 15px;
    overflow: hidden;
    color: var(--text-light);
}

.room-price {
    color: var(--bronze-light);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Booking Form */
.booking-form {
    background: var(--medium-dark);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(205, 127, 50, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-dark));
    border-top: 1px solid rgba(205, 127, 50, 0.1);
    border-bottom: 1px solid rgba(205, 127, 50, 0.1);
    color: white;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--bronze-light);
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--medium-dark);
    border: 1px solid rgba(205, 127, 50, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    transition: all 0.3s ease;
    position: relative;
    color: var(--text-light);
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--bronze-light);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    border-color: var(--bronze-light);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Contact Info */
.contact-info {
    background: var(--medium-dark);
    padding: 3rem 0;
    border-top: 1px solid rgba(205, 127, 50, 0.1);
    border-bottom: 1px solid rgba(205, 127, 50, 0.1);
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--bronze-dark), var(--bronze-medium));
    border-top: 2px solid var(--bronze-light);
    position: relative;
    color: var(--white);
    margin-top: auto;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bronze-light), transparent);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--white) !important;
}

.footer-logo {
    filter: brightness(0) invert(1);
    height: 40px;
    margin-bottom: 1rem;
}

.social-icon {
    background: var(--medium-dark);
    border: 1px solid var(--bronze-light);
    color: var(--bronze-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--bronze-light);
    color: var(--dark-black);
    transform: translateY(-3px);
}

/* Buttons dengan efek Bronze */
.btn-primary {
    background: linear-gradient(135deg, var(--bronze-medium), var(--bronze-dark));
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--bronze-light), var(--bronze-medium));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(205, 127, 50, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--bronze-light);
    color: var(--bronze-light);
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--bronze-light);
    color: var(--dark-black);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

/* Form Styling */
.form-control, .form-select {
    background: var(--light-dark);
    border: 1px solid rgba(205, 127, 50, 0.3);
    color: var(--text-light);
    padding: 12px 15px;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--bronze-light);
    box-shadow: 0 0 0 0.25rem rgba(205, 127, 50, 0.25);
    background: var(--light-dark);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--bronze-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--medium-dark);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(205, 127, 50, 0.2);
}

.breadcrumb-item a {
    color: var(--bronze-light);
}

/* Rating Stars */
.rating-stars .fas {
    color: var(--bronze-light);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background: linear-gradient(to right, var(--bronze-dark), var(--bronze-medium));
    color: var(--white);
    font-weight: 700;
}

.accordion-button {
    background: var(--medium-dark);
    color: var(--text-light);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(205, 127, 50, 0.25);
}

.accordion-item {
    background: var(--medium-dark);
    border: 1px solid rgba(205, 127, 50, 0.2);
    border-radius: 8px !important;
    margin-bottom: 0.8rem;
    overflow: hidden;
    color: var(--text-light);
}

.accordion-body {
    background: var(--medium-dark);
    color: var(--text-light);
}

/* Alert */
.alert-success {
    background: rgba(205, 127, 50, 0.1);
    border: 1px solid var(--bronze-light);
    color: var(--bronze-light);
    border-radius: 8px;
}

/* List Group */
.list-group-item {
    background: transparent;
    border: 1px solid rgba(205, 127, 50, 0.1);
    color: var(--text-light);
    padding: 0.8rem 1.25rem;
}

.list-group-item:hover {
    background: rgba(205, 127, 50, 0.05);
}


/* Table */
.table {
    --bs-table-bg: var(--medium-dark);
    --bs-table-striped-bg: rgba(205, 127, 50, 0.05);
    --bs-table-hover-bg: rgba(205, 127, 50, 0.1);
    --bs-table-border-color: rgba(205, 127, 50, 0.2);
    color: var(--text-light);
}

.table th {
    color: var(--bronze-light);
    border-bottom: 2px solid var(--bronze-light);
}

/* Modal */
.modal-content {
    background: var(--medium-dark);
    border-radius: 12px;
    border: 1px solid var(--bronze-light);
    color: var(--text-light);
}

.modal-header {
    background: linear-gradient(to right, var(--bronze-dark), var(--bronze-medium));
    color: var(--white);
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 1px solid var(--bronze-light);
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Ratio */
.ratio {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(205, 127, 50, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bronze-medium), var(--bronze-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid var(--bronze-light);
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--bronze-light), var(--bronze-medium));
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(205, 127, 50, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        height: 80vh;
    }

    .slider-nav {
        bottom: 20px;
    }

    .hero-content {
        padding: 2rem;
        margin: 0 2rem;
    }
}

@media (max-width: 768px) {
    .header-spacer {
        height: 65px;
    }

    .logo-container {
        padding: 5px;
    }

    .main-logo {
        height: 35px;
    }

    .hero-section {
        height: 75vh;
    }

    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
        background: rgba(10, 10, 10, 0.95);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .slider-nav {
        bottom: 15px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .section-title::after {
        width: 60px;
    }

    .facility-card {
        padding: 1.5rem 0.8rem;
    }

    .feature-item {
        padding: 1.8rem 1rem;
    }

    .main-nav .nav-list {
        gap: 15px;
    }

    /* Mobile Menu Toggle */
    .mobile-toggle {
        display: flex;
    }

    /* Sembunyikan item navbar non-essential di mobile jika diperlukan */
    /* Tambahkan logika JS untuk toggle menu penuh jika perlu */
}

@media (max-width: 576px) {
    .header-spacer {
        height: 60px;
    }

    .logo-container {
        padding: 4px;
    }

    .main-logo {
        height: 30px;
    }

    .hero-section {
        height: 70vh;
    }

    .hero-content {
        padding: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .slider-nav {
        bottom: 12px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .btn-primary, .btn-outline-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Text Colors - Semua teks kecil berwarna putih */
/* Ini adalah bagian penting untuk memastikan semua teks kecil putih */
p, li, span:not(.facility-icon):not(.feature-icon):not(.rating-stars .fas), div:not(.facility-icon):not(.feature-icon):not(.rating-stars):not(.dot):not(.back-to-top), a:not(.nav-link):not(.btn-bronze-nav):not(.btn-primary):not(.btn-outline-primary):not(.social-icon) {
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted) !important;
}

.small, small {
    color: var(--text-light) !important;
    font-size: 0.875em;
}

.list-group-item {
    color: var(--text-light) !important;
    background-color: transparent !important;
}

.breadcrumb-item, .breadcrumb-item a {
    color: var(--text-light) !important;
}

.card-text {
    color: var(--text-light) !important;
}

.lead {
    color: var(--text-light) !important;
}

/* Pastikan teks dalam card juga putih */
.card-body, .card-title, .card-text, .room-price {
    color: var(--text-light);
}

/* Pastikan teks dalam testimonial juga putih */
.testimonial-card p, .testimonial-card h6, .testimonial-card small {
    color: var(--text-light);
}

/* Pastikan teks dalam footer juga putih */
footer p, footer h5, footer h6, footer li, footer a {
    color: var(--text-light);
}

/* Pastikan teks dalam form juga putih */
.form-text, .form-control, .form-select, .form-label {
    color: var(--text-light);
}

/* Pastikan teks dalam accordion juga putih */
.accordion-button, .accordion-body {
    color: var(--text-light);
}

/* Pastikan teks dalam alert juga putih */
.alert {
    color: var(--text-light);
}

/* ===================== */
/* FIX SLIDER RESPONSIVE */
/* ===================== */

/* Pastikan gambar slider tidak terpotong */
.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Agar hero tidak terlalu tinggi di mobile */
@media (max-width: 576px) {
    .hero-section {
        height: auto;
        min-height: 65vh;
    }
    .hero-content {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .slide {
        position: relative;
    }
}

/* ===================== */
/* FIX NAVBAR MOBILE */
/* ===================== */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
        transform: translateY(-200%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .main-nav.show {
        transform: translateY(0);
    }
    .main-nav .nav-list {
        flex-direction: column;
        align-items: center;
    }
}

/* ===================== */
/* DOTS SLIDER TOUCH-FRIENDLY */
/* ===================== */
.slider-nav {
    bottom: 15px;
    gap: 10px;
}
.dot {
    width: 16px;
    height: 16px;
    touch-action: manipulation; /* supaya klik di mobile responsif */
}

/* ===================== */
/* UMUM - PASTIKAN FULL WIDTH */
/* ===================== */
img, video {
    max-width: 100%;
    height: auto;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
}
/* Mobile menu default hidden */
.nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* tinggi header */
    right: 0;
    width: 200px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 999;
}

/* Saat aktif di mobile */
.nav-list.show-mobile-menu {
    display: flex;
}

.nav-list a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
}

/* Hover effect */
.nav-list a:hover {
    background: #f4f4f4;
}

/* Tampil normal di desktop */
@media (min-width: 769px) {
    .nav-list {
        display: flex !important;
        position: static;
        flex-direction: row;
        box-shadow: none;
        background: none;
    }
}
