/* ===== HERO SLIDER ===== */
.hero-slider {
    margin-top: -1px;
}

.hero-slider .carousel-item {
    height: 60vh;
    min-height: 400px;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
}

.hero-slider .carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 2rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* ===== MAP CONTAINER ===== */
.map-container {
    height: 300px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== NAVBAR ===== */
.navbar-brand {
    font-size: 1.5rem;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.about-section {
    padding: 80px 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.value-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-card:hover {
    transform: translateY(-10px);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

/* ===== TABS ===== */
.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 0.75rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: #667eea;
    background: none;
    border-bottom: 2px solid #667eea;
    font-weight: 600;
}

.nav-tabs .nav-link:hover {
    border: none;
    border-bottom: 2px solid #dee2e6;
}

.tab-content {
    padding: 1.5rem 0;
}

/* ===== DASHBOARD ===== */
.dashboard-stats .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-stats .card:hover {
    transform: translateY(-5px);
}

.quick-actions .btn {
    border: 2px solid;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

/* ===== ACTIVITY TIMELINE ===== */
.activity-timeline {
    position: relative;
    padding-left: 30px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.activity-item {
    position: relative;
    margin-bottom: 20px;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

/* ===== LOAD MORE ===== */
#load-more-btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 12px 30px;
}

#load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeInUp 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== BADGES ===== */
.badge.bg-danger {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e) !important;
    animation: pulse 2s infinite;
}

.badge.bg-warning {
    background: linear-gradient(45deg, #ffd93d, #ff6b6b) !important;
}

.badge.bg-secondary {
    background: linear-gradient(45deg, #6c757d, #495057) !important;
}

.badge.bg-dark {
    background: linear-gradient(45deg, #25D366, #128C7E) !important;
    font-size: 0.7rem;
}

/* ===== FOOTER ===== */
footer a:hover {
    color: #667eea !important;
    transition: color 0.3s ease;
}

footer .small {
    transition: all 0.3s ease;
}

footer .small:hover {
    transform: translateX(5px);
}

/* Social Media Icons */
.bi-facebook:hover {
    color: #1877F2 !important;
}

.bi-instagram:hover {
    color: #E4405F !important;
}

.bi-tiktok:hover {
    color: #69C9D0 !important;
}

/* ===== POPULAR PRODUCTS ===== */
#produk-populer {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.card.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease;
}

.card.shadow-lg:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Hero Slider */
    .hero-slider .carousel-item {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero-slider .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .hero-slider .carousel-caption p {
        font-size: 0.9rem;
    }
    
    /* About Page */
    .about-hero {
        padding: 60px 0;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem !important;
    }
    
    /* Products */
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    #load-more-btn {
        width: 100%;
    }
    
    /* Popular Products */
    #produk-populer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    .badge.bg-danger {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Map */
    .map-container {
        height: 200px;
    }
    
    /* Footer */
    footer .d-flex.gap-3 {
        justify-content: center;
    }
}

/* ===== UTILITY CLASSES ===== */
.card .card-body h5.card-title {
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}