| 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 : D:/bpkd/assets/css/ |
Upload File : |
/* ============================================
CAROUSEL FRESH STYLES - FULL BACKGROUND
============================================ */
/* Reset margin dan padding */
body {
margin: 0;
padding: 0;
}
/* Hero Carousel Section - Menempel di atas */
.hero-carousel-section {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: 0;
overflow: hidden;
}
/* Carousel Container */
#heroCarousel {
position: relative;
width: 100%;
height: 100%;
}
/* Carousel Inner */
.carousel-inner,
.carousel-item {
position: relative;
width: 100%;
height: 100%;
}
/* Carousel Image - Full Background */
.carousel-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* Overlay */
.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) 100%);
z-index: 1;
}
/* Carousel Caption */
.carousel-caption {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
max-width: 800px;
text-align: center;
z-index: 2;
padding: 20px;
}
/* Main Content - Muncul setelah carousel */
.main-content {
position: relative;
z-index: 1;
background: white;
margin-top: 100vh;
padding-top: 30px;
border-radius: 30px 30px 0 0;
box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}
/* ============================================
NAVBAR OVERRIDE - Agar tidak mendorong carousel
============================================ */
/* Hapus margin/padding dari navbar */
.navbar-container {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
z-index: 1000 !important;
background: transparent !important;
margin: 0 !important;
padding: 10px 0 !important;
}
/* Top Bar - Sembunyikan di index */
.top-bar {
display: none !important;
}
/* Navbar brand dan links warna putih */
.navbar-container .navbar-brand,
.navbar-container .nav-link {
color: white !important;
}
/* Saat scroll */
.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;
}
/* ============================================
DESKTOP & MOBILE BACKGROUND
============================================ */
.desktop-bg {
display: block;
}
.mobile-bg {
display: none;
}
@media (max-width: 768px) {
.desktop-bg {
display: none;
}
.mobile-bg {
display: block;
}
.carousel-caption h1 {
font-size: 1.75rem;
}
.carousel-caption p {
font-size: 0.9rem;
}
}
/* ============================================
ANIMATIONS
============================================ */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.carousel-subtitle {
animation: fadeInUp 0.8s ease;
}
.carousel-title {
animation: fadeInUp 0.8s ease 0.2s both;
}
.carousel-description {
animation: fadeInUp 0.8s ease 0.4s both;
}
.carousel-buttons {
animation: fadeInUp 0.8s ease 0.6s both;
}