/* ====== BASE ====== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* ====== NAVBAR ====== */
.navbar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ====== CONTENT ====== */
.container p.lead {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
}

.total-cctv {
    margin-top: 5px;
    font-weight: 500;
    border: none;
    background: #C0E5DD;
    color: #38BE8B;
    font-size: 19px;
}

/* ====== MAP ====== */
#map {
    width: 100%;
    height: 420px;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-lihatstream {
  font-family: Poppins, sans-serif;
  font-weight: 400;
}

/* ====== LIST CCTV ====== */
.cctv-list {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}
.cctv-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cctv-item:last-child {
    border-bottom: none;
}
.cctv-item:hover {
    background: #f0f4f8;
}
/* CCTV Icon merah */
.cctv-icon {
    color: red;
    font-size: 18px;
    margin-right: 12px;
}
.cctv-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
}

/* ====== MODAL PLAYER ====== */
.modal-content {
    border-radius: 10px;
}
video {
    width: 100%;
    border-radius: 6px;
}
.btn-info {
    background: #00c4ff;
    border: none;
    font-weight: 500;
}
.btn-danger {
  border: none;
  font-weight: 500;
}
.btn-info:hover {
    background: #009ecb;
}
#log {
    font-family: monospace;
    max-height: 100px;
    overflow-y: auto;
    border-radius: 4px;
}

/* Animasi Toggle Navbar */
.navbar-toggler {
    border: none;
    outline: none;
}
.navbar-toggler-icon {
    transition: transform 0.3s ease;
}
.navbar-toggler.active .navbar-toggler-icon {
    transform: rotate(90deg);
}
.nav-link {
  text-align: right;
  margin-right: 12px;
}

/* About Me */
.developed {
  font-weight: 200;
}

.about-me h5 {
    font-weight: 600;
}
.about-me a {
    font-weight: 500;
    text-decoration: none;
    color: #333;
}
.about-me a:hover {
    color: #ff3b3b;
}