| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /bpkd_29052026/assets/css/ |
Upload File : |
/* ============================================
CAROUSEL TEST - BACKGROUND DI BELAKANG NAVBAR
File: assets/css/carousel-test.css
============================================ */
/* Reset body margin/padding */
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
/* ============================================
HERO CAROUSEL SECTION - FIXED BACKGROUND
============================================ */
.hero-carousel-section {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -2;
overflow: hidden;
}
/* Carousel Container */
#heroCarousel {
width: 100%;
height: 100%;
}
.carousel-inner,
.carousel-item {
width: 100%;
height: 100%;
}
/* Carousel Image Background */
.carousel-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* Overlay untuk membuat teks lebih terbaca */
.carousel-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
135deg,
rgba(0, 0, 0, 0.5) 0%,
rgba(0, 0, 0, 0.3) 50%,
rgba(0, 0, 0, 0.6) 100%
);
z-index: 1;
}
/* ============================================
GRADIEN PUTIH DI BAGIAN BAWAH CAROUSEL
============================================ */
.carousel-gradient {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 150px;
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.2) 30%,
rgba(255, 255, 255, 0.6) 70%,
#ffffff 100%
);
z-index: 2;
pointer-events: none;
}
/* ============================================
NAVBAR MENJADI TRANSPARAN
============================================ */
/* Navbar Container */
.navbar-container {
position: relative;
z-index: 10;
background: transparent !important;
box-shadow: none !important;
}
/* Top Bar (Baris 1) - Transparan */
.top-bar {
background: rgba(0, 0, 0, 0.2) !important;
backdrop-filter: blur(5px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
/* Top Bar Text */
.top-bar .info-item h6,
.top-bar .info-item p {
color: white !important;
}
.top-bar .info-item i {
color: rgba(255, 255, 255, 0.9) !important;
}
/* Main Navbar (Baris 2) - Transparan */
#mainNav {
background: rgba(0, 0, 0, 0.15) !important;
backdrop-filter: blur(5px);
}
/* Navbar Brand */
.navbar-brand {
color: white !important;
}
.navbar-brand .brand-text,
.navbar-brand h1,
.navbar-brand span {
color: white !important;
}
/* Navbar Links */
.nav-link {
color: white !important;
transition: all 0.3s;
}
.nav-link:hover {
color: #f0f0f0 !important;
opacity: 0.8;
}
/* Dropdown Menu */
.dropdown-menu {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border: none;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
color: #1e293b;
}
.dropdown-item:hover {
background: #f1f5f9;
}
/* Search Box */
.search-box .form-control {
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
}
.search-box .form-control::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.search-box .btn-primary {
background: rgba(59, 130, 246, 0.8);
border: none;
}
/* ============================================
CAROUSEL CAPTION
============================================ */
.carousel-caption {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
max-width: 800px;
text-align: center;
z-index: 3;
color: white;
}
.carousel-subtitle {
display: inline-block;
background: rgba(59, 130, 246, 0.9);
padding: 6px 20px;
border-radius: 30px;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 20px;
animation: fadeInUp 0.8s ease;
}
.carousel-title {
font-size: 3rem;
font-weight: 800;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
animation: fadeInUp 0.8s ease 0.2s both;
}
.carousel-description {
font-size: 1.2rem;
margin-bottom: 30px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
animation: fadeInUp 0.8s ease 0.4s both;
}
.carousel-buttons {
animation: fadeInUp 0.8s ease 0.6s both;
}
.carousel-buttons .btn {
padding: 12px 30px;
font-weight: 600;
margin: 5px;
}
.carousel-buttons .btn-primary {
background: #3b82f6;
border: none;
}
.carousel-buttons .btn-primary:hover {
background: #2563eb;
transform: translateY(-3px);
}
.carousel-buttons .btn-outline-light {
border: 2px solid white;
background: transparent;
}
.carousel-buttons .btn-outline-light:hover {
background: white;
color: #1e293b;
transform: translateY(-3px);
}
/* ============================================
CAROUSEL INDICATORS
============================================ */
.carousel-indicators {
bottom: 30px;
z-index: 3;
}
.carousel-indicators button {
width: 12px;
height: 12px;
border-radius: 50%;
margin: 0 6px;
background-color: white;
opacity: 0.5;
}
.carousel-indicators button.active {
opacity: 1;
background-color: #3b82f6;
transform: scale(1.2);
}
/* ============================================
CAROUSEL CONTROLS
============================================ */
.carousel-control-prev,
.carousel-control-next {
width: 50px;
height: 50px;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
opacity: 0;
transition: all 0.3s;
z-index: 3;
}
.carousel-control-prev {
left: 20px;
}
.carousel-control-next {
right: 20px;
}
#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
opacity: 1;
}
/* ============================================
MAIN CONTENT - MUNCUL SETELAH CAROUSEL
============================================ */
.main-content {
position: relative;
z-index: 5;
background: white;
margin-top: 100vh;
padding-top: 40px;
border-radius: 30px 30px 0 0;
box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}
/* ============================================
DESKTOP & MOBILE BACKGROUND SWITCH
============================================ */
.desktop-bg {
display: block;
}
.mobile-bg {
display: none;
}
@media (max-width: 768px) {
.desktop-bg {
display: none;
}
.mobile-bg {
display: block;
}
.carousel-title {
font-size: 1.75rem;
}
.carousel-description {
font-size: 0.9rem;
}
.carousel-subtitle {
font-size: 0.7rem;
padding: 4px 15px;
}
.carousel-buttons .btn {
padding: 8px 20px;
font-size: 0.8rem;
}
.top-bar {
backdrop-filter: blur(3px);
}
.carousel-gradient {
height: 100px;
}
}
@media (max-width: 576px) {
.carousel-title {
font-size: 1.25rem;
}
.carousel-description {
display: none;
}
.carousel-buttons .btn {
padding: 6px 14px;
font-size: 0.7rem;
}
.carousel-control-prev,
.carousel-control-next {
width: 35px;
height: 35px;
}
.carousel-gradient {
height: 80px;
}
}
/* ============================================
ANIMATIONS
============================================ */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ============================================
SCROLLED NAVBAR (Opsional)
============================================ */
.navbar-container.scrolled {
background: white !important;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-container.scrolled .navbar-brand,
.navbar-container.scrolled .nav-link {
color: #1e293b !important;
}
.navbar-container.scrolled .top-bar {
background: #f8fafc !important;
backdrop-filter: none;
}
.navbar-container.scrolled .top-bar .info-item h6,
.navbar-container.scrolled .top-bar .info-item p {
color: #1e293b !important;
}
.navbar-container.scrolled #mainNav {
background: white !important;
backdrop-filter: none;
}