/* INTELLICART - Robotic Modern Minimalist Theme */

:root {
    --primary-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #3a3a3a;
    --electric-blue: #00d4ff;
    --cyan: #00ffff;
    --white: #ffffff;
    --red: #ff0055;
    --neon-glow: 0 0 10px rgba(0, 212, 255, 0.5);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    min-height: 100vh;
}

/* HEADER / NAVBAR */
.navbar {
    background: var(--dark-gray);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--card-shadow);
    border-bottom: 2px solid var(--electric-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--electric-blue);
    text-shadow: var(--neon-glow);
    letter-spacing: 2px;
}

.logo span {
    color: var(--red);
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-item {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.nav-item:hover {
    background: var(--electric-blue);
    color: var(--primary-black);
    box-shadow: var(--neon-glow);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.icon-btn:hover {
    background: var(--electric-blue);
    color: var(--primary-black);
    transform: scale(1.1);
}

/* SEARCH BAR */
.search-container {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    background: var(--medium-gray);
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: var(--neon-glow);
}

.btn-search {
    padding: 10px 25px;
    background: var(--electric-blue);
    border: none;
    border-radius: 25px;
    color: var(--primary-black);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* VIDEO SLIDER */
.video-slider {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.video-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.video-slide.active {
    display: block;
}

/* PRODUK SECTION */
.section {
    padding: 50px;
}

.section-title {
    font-size: 32px;
    color: var(--electric-blue);
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 3px;
    background: var(--red);
    display: block;
    margin: 10px auto;
}

/* PRODUK CARDS */
.produk-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.produk-card {
    background: var(--dark-gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid var(--medium-gray);
    cursor: pointer;
}

.produk-card:hover {
    transform: translateY(-10px);
    border-color: var(--electric-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.produk-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--electric-blue);
}

.produk-info {
    padding: 20px;
}

.produk-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 10px;
}

.produk-price {
    font-size: 20px;
    color: var(--electric-blue);
    font-weight: bold;
    margin: 10px 0;
}

.produk-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--medium-gray);
    border-radius: 15px;
    font-size: 12px;
    color: var(--cyan);
    margin-bottom: 10px;
}

.produk-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffd700;
    font-size: 14px;
}

/* BUTTONS */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--electric-blue);
    color: var(--primary-black);
}

.btn-primary:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--red);
    color: var(--white);
}

.btn-secondary:hover {
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
}

.btn-outline:hover {
    background: var(--electric-blue);
    color: var(--primary-black);
}

/* FLOATING ANIMATION */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* FORMS */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: var(--dark-gray);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--electric-blue);
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--electric-blue);
    margin-bottom: 8px;
    font-weight: bold;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 20px;
    background: var(--medium-gray);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: var(--neon-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* CAPTCHA */
.captcha-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.captcha-display {
    background: var(--medium-gray);
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    color: var(--electric-blue);
    text-decoration: line-through;
    user-select: none;
}

.captcha-refresh {
    cursor: pointer;
    color: var(--cyan);
    font-size: 24px;
}

/* FOOTER */
.footer {
    background: var(--primary-black);
    padding: 40px 50px;
    margin-top: 50px;
    border-top: 2px solid var(--electric-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--electric-blue);
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
}

.footer-motto {
    text-align: center;
    color: var(--cyan);
    font-style: italic;
    margin: 20px 0;
    font-size: 18px;
}

/* CHAT FLOATING BUTTON */
.chat-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--electric-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
    z-index: 999;
    transition: all 0.3s;
}

.chat-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.7);
}

/* TABLE */
.table {
    width: 100%;
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    border-collapse: collapse;
}

.table th {
    background: var(--medium-gray);
    color: var(--electric-blue);
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid var(--electric-blue);
}

.table td {
    padding: 15px;
    border-bottom: 1px solid var(--medium-gray);
}

.table tr:hover {
    background: var(--medium-gray);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-gray);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--electric-blue);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: var(--red);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .search-container {
        width: 100%;
        margin: 15px 0;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .produk-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .section {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* LOADING ANIMATION */
.loader {
    border: 5px solid var(--medium-gray);
    border-top: 5px solid var(--electric-blue);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* NOTIFICATION */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--dark-gray);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--electric-blue);
    box-shadow: var(--card-shadow);
    z-index: 1002;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-color: #00ff00;
}

.notification.error {
    border-color: var(--red);
}

/* BADGE */
.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.badge-success {
    background: #00ff00;
    color: var(--primary-black);
}

.badge-warning {
    background: #ffaa00;
    color: var(--primary-black);
}

.badge-danger {
    background: var(--red);
    color: var(--white);
}

