/* assets/css/profil_mitra.css */

/* Hero Section */
.mitra-hero {
    background-size: cover; background-position: center; 
    height: 450px; 
    display: flex; align-items: end; color: white; margin-top: -80px; padding-top: 80px;
    padding-bottom: 60px;
    position: relative; z-index: 1;
}

.header-logo {
    width: 90px; height: 90px; object-fit: contain; 
    background: #fff; border-radius: 50%; padding: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Breadcrumb */
.breadcrumb { background: transparent; padding: 0; margin-bottom: 0; }
.breadcrumb-item a { color: #6c757d; text-decoration: none; font-weight: 500; }
.breadcrumb-item a:hover { color: #862820; text-decoration: underline; }
.breadcrumb-item.active { color: #862820; font-weight: bold; }
.breadcrumb-item + .breadcrumb-item::before { color: #adb5bd; }

/* Stats Card */
.card-stats { border: none; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); background: #fff; position: relative; z-index: 2; margin-top: -30px; }
.stat-item { border-right: 1px solid #eee; padding: 0 15px; }
.stat-item:last-child { border-right: none; }

/* Icons & Badges */
.badge-pill-custom {
    background-color: #fff; border: 1px solid #e0e0e0; color: #444;
    padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; display: inline-flex; align-items: center;
    margin-right: 5px; margin-bottom: 8px; transition: 0.3s;
}
.badge-pill-custom:hover { border-color: #862820; color: #862820; background: #fff5f5; }

.icon-gold { color: #d97706 !important; }
.bg-gold { background-color: #d97706 !important; }
.icon-maroon { color: #862820 !important; }
.bg-maroon { background-color: #862820 !important; }

.svg-icon-masked {
    width: 18px; height: 18px; display: inline-block; margin-right: 8px; vertical-align: middle;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; 
    -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
}

/* Galeri Grid */
.gallery-grid-item { height: 150px; width: 100%; object-fit: cover; border-radius: 10px; cursor: pointer; transition: 0.3s; }
.gallery-grid-item:hover { transform: scale(1.02); filter: brightness(90%); }

/* Card Room */
.card-room { border: none; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; border: 1px solid #f0f0f0; }
.card-room:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }
.card-room-img { height: 220px; object-fit: cover; width: 100%; }
.room-size-badge {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 5px;
}

.text-maroon { color: #862820 !important; }
.btn-maroon { background-color: #862820; color: white; border: none; }
.btn-maroon:hover { background-color: #6b1912; color: white; }

/* Sidebar */
.sidebar-header { background: #862820; padding: 15px 20px; font-weight: 700; color: #fff; border-radius: 12px 12px 0 0; }
.sidebar-card { background: #fff; border-radius: 12px; border: 1px solid #eee; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.sticky-sidebar { position: sticky; top: 100px; z-index: 99; }

/* Map Fix */
#map { height: 300px !important; width: 100%; border-radius: 0; z-index: 1; display: block; }

/* Modal Style */
.modal-detail-room .modal-content { border: none; border-radius: 16px; overflow: hidden; }
.modal-detail-room .carousel-item img { height: 350px; object-fit: cover; width: 100%; }
.modal-detail-room .btn-close-floating { 
    position: absolute; top: 15px; right: 15px; z-index: 1050; 
    background-color: rgba(255,255,255,0.9); border-radius: 50%; padding: 10px; opacity: 1; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.modal-detail-room .btn-close-floating:hover { background-color: #fff; transform: scale(1.1); }

/* Info Table */
.table-info-custom td { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 0.9rem; }
.table-info-custom tr:last-child td { border-bottom: none; }
.table-info-custom i { width: 25px; color: #862820; }

/* Star Rating */
    .star-rating-input { display: flex; flex-direction: row-reverse; justify-content: start; gap: 5px; }
    .star-rating-input input { display: none; }
    .star-rating-input label { font-size: 1.5rem; color: #ddd; cursor: pointer; transition: color 0.2s; }
    .star-rating-input input:checked ~ label,
    .star-rating-input label:hover,
    .star-rating-input label:hover ~ label { color: #ffc107; }
    
    .progress { height: 8px; border-radius: 4px; }
	
