/* assets/css/style.css - Tambahkan styles untuk section indicator */

/* Section Scroll Indicator */
.section-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 75, 140, 0.3);
    border: 2px solid #1a4b8c;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.section-dot.active {
    background: #1a4b8c;
    transform: scale(1.2);
}

.section-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #1a4b8c;
    transition: width 0.3s ease;
    margin-right: 10px;
}

.section-dot:hover::after {
    width: 40px;
}

.section-dot.active::after {
    width: 40px;
    background: #1a4b8c;
}

/* Tooltip untuk section indicator */
.section-tooltip {
    position: absolute;
    right: 30px;
    background: #1a4b8c;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.section-dot:hover .section-tooltip {
    opacity: 1;
}

/* Responsive section indicator */
@media (max-width: 768px) {
    .section-indicator {
        right: 15px;
    }
    
    .section-dot {
        width: 10px;
        height: 10px;
    }
}

/* Garis bawah untuk section aktif di navbar */
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

/* assets/css/style.css */
:root {
    --primary-color: #1a4b8c;
    --secondary-color: #d4af37;
    --accent-color: #2c6eb5;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: var(--primary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    margin-top: -76px;
}

.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    width: 100%;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Room Cards */
.room-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.room-features {
    font-size: 0.9rem;
}

/* Facility Cards */
.facility-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e9ecef;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-info {
    font-size: 1.1rem;
    line-height: 1.8;
}

.bg-dark .section-title {
    color: white;
}

.bg-dark .section-title::after {
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .carousel-item {
        height: 70vh;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Utility Classes */
.rounded {
    border-radius: 10px !important;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.border-0 {
    border: none !important;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

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

/* Background Colors */
.bg-light {
    background-color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/* assets/css/style.css - Tambahkan styles baru */

/* Footer Styles */
footer {
    background: #343a40 !important;
    color: #ffffff !important;
}

footer h5,
footer p,
footer a,
footer span,
footer small,
footer div {
    color: #ffffff !important;
}

footer .text-white {
    color: #ffffff !important;
}

/* Animasi Fasilitas Kamar */
.facility-icon {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.facility-icon:hover {
    transform: scale(1.2);
    color: #1a4b8c !important;
}

.facility-tooltip {
    position: absolute;
    background: #1a4b8c;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
}

/* Room Modal Styles */
.room-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.room-modal .modal-header {
    background: #1a4b8c;
    color: white;
    border-bottom: none;
}

.room-modal .modal-footer {
    border-top: 1px solid #dee2e6;
}

.room-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.room-gallery img {
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    object-fit: cover;
}

.room-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.room-gallery-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* WhatsApp Button Animation */
.btn-success {
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

/* Room Card Hover Effects */
.room-card {
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .facility-icon {
        margin-bottom: 20px;
    }
    
    .room-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .room-gallery img {
        height: 60px;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a4b8c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #2c6eb5;
    transform: translateY(-3px);
}

/* Flip Card Styles */
.flip-card {
    perspective: 1000px;
    height: 400px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Room Gallery Image */
.room-gallery-image {
    border-radius: 15px 15px 0 0;
}

/* Flip buttons */
.flip-btn,
.flip-back-btn {
    transition: all 0.3s ease;
}

.flip-btn:hover,
.flip-back-btn:hover {
    transform: scale(1.05);
}

/* Responsive flip card */
@media (max-width: 768px) {
    .flip-card {
        height: 350px;
    }
}

/* assets/css/style.css - Tambahkan styles untuk carousel controls */

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(26, 75, 140, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(26, 75, 140, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

/* Untuk carousel di room cards yang lebih kecil */
.room-card .carousel-control-prev,
.room-card .carousel-control-next {
    width: 35px;
    height: 35px;
    background: rgba(26, 75, 140, 0.9);
}

.room-card .carousel-control-prev {
    left: 5px;
}

.room-card .carousel-control-next {
    right: 5px;
}

.room-card .carousel-control-prev-icon,
.room-card .carousel-control-next-icon {
    width: 15px;
    height: 15px;
}

/* Pastikan carousel container relative */
.carousel {
    position: relative;
}

/* Untuk carousel di hero section */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Pastikan z-index cukup tinggi */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
}

/* Meeting Rooms Section */
.meeting-room-feature {
    transition: all 0.3s ease;
}

.meeting-room-feature:hover {
    transform: translateY(-3px);
}

#meetingCarousel .carousel-control-prev,
#meetingCarousel .carousel-control-next {
    background: rgba(26, 75, 140, 0.8);
}

#meetingCarousel .carousel-control-prev:hover,
#meetingCarousel .carousel-control-next:hover {
    background: rgba(26, 75, 140, 1);
}