/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #4a2c6d 100%);
    color: #ffffff;
}

/* Navbar Styles */
.navbar {
    background: rgba(26, 11, 46, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled {
    background: rgba(26, 11, 46, 0.95);
    padding: 0.5rem 0;
}

.logo {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.8rem 1.5rem !important;
    margin: 0 0.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #b857d4 0%, #8b4db8 100%);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(184, 87, 212, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
    background-image: url('../images/bg-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 11, 46, 0.7) 0%, rgba(45, 27, 78, 0.6) 50%, rgba(74, 44, 109, 0.5) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 2rem 0;
    animation: fadeInLeft 1s ease;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #e0d4f7;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-order {
    background: transparent;
    color: #ffffff;
    border: 2px solid #b857d4;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(184, 87, 212, 0.3);
}

.btn-order:hover {
    background: linear-gradient(135deg, #b857d4 0%, #8b4db8 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 87, 212, 0.5);
}

/* Hero Image - Hidden karena sudah jadi background */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
    display: none;
}

.workspace-img,
.bg-home {
    display: none;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(184, 87, 212, 0.7);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(184, 87, 212, 0.9);
    z-index: 2;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    width: 6px;
    height: 6px;
}

.particle-2 {
    top: 60%;
    left: 15%;
    width: 10px;
    height: 10px;
    animation-delay: 2s;
}

.particle-3 {
    top: 40%;
    left: 25%;
    width: 5px;
    height: 5px;
    animation-delay: 4s;
}

.particle-4 {
    top: 80%;
    left: 20%;
    animation-delay: 3s;
    width: 7px;
    height: 7px;
}

.particle-5 {
    top: 30%;
    left: 5%;
    width: 4px;
    height: 4px;
    animation-delay: 1s;
}

.particle-6 {
    top: 70%;
    left: 8%;
    width: 6px;
    height: 6px;
    animation-delay: 5s;
}

/* Footer */
.footer {
    background: rgba(26, 11, 46, 0.9);
    padding: 1.5rem 0;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.copyright {
    color: #e0d4f7;
    font-size: 1rem;
    margin: 0;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(26, 11, 46, 0.95);
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.3rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
        background-attachment: scroll;
        background-position: center right;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-order {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-order {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .hero-section {
        background-size: cover;
        background-position: center;
    }
    
    .footer {
        padding: 1rem 0;
    }
    
    .copyright {
        font-size: 0.9rem;
    }
}