/* Main Styles for RMSG D'Kampung */

:root {
    --primary-color: #1a3a5c;
    --secondary-color: #2d6a9f;
    --accent-color: #e67e22;
    --light-bg: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
}

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

.navbar-brand i {
    color: #ffd700;
}

/* Room Cards */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

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

.room-card .card-img-top {
    transition: transform 0.3s ease;
}

.room-card:hover .card-img-top {
    transform: scale(1.05);
}

.room-card .card-body {
    padding: 1.25rem;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/pattern.png') repeat;
    opacity: 0.1;
}

/* Stat Cards */
.stat-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    border: none;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 106, 159, 0.4);
}

/* Rating Stars */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: #ffc107;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    margin-top: auto;
}

footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stat-card h2 {
        font-size: 1.5rem;
    }
}

/* Admin Dashboard */
.admin-sidebar {
    background: var(--primary-color);
    min-height: 100vh;
    padding: 20px 0;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 2px 10px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Payment Modal */
.payment-modal .qr-code {
    max-width: 200px;
    margin: 0 auto;
}

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

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Notification Badge */
.notification-badge {
    position: relative;
}

.notification-badge .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.6rem;
    padding: 3px 6px;
}

/* Deep Navy Blue for buttons */
.btn-navy-blue {
    background-color: #1a3a5c;
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-navy-blue:hover {
    background-color: #2d6a9f;
    color: #ffffff;
}

/* Deep Navy Blue for cards */
.card-navy-blue {
    background-color: #1a3a5c;
    color: #ffffff;
}




