/* ===================================
   FRESH JUICE - ULTRA VIBRANT & MODERN
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B6B;
    --primary-dark: #FF5252;
    --secondary: #FF9E6D;
    --accent: #4ECDC4;
    --accent-dark: #3DBD9E;
    --dark: #1a202c;
    --light: #ffffff;
    --juice-orange: #FFA726;
    --juice-pink: #FF80AB;
    --juice-green: #66BB6A;
    --juice-yellow: #FFD54F;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===================================
   JUICE BACKGROUND PATTERNS
   =================================== */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(78, 205, 196, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 158, 109, 0.05) 0%, transparent 15%);
    z-index: -1;
    pointer-events: none;
}

/* ===================================
   JUICE DRIP ANIMATIONS
   =================================== */
.juice-drip {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--juice-orange);
    opacity: 0.3;
    filter: blur(2px);
    pointer-events: none;
    z-index: -1;
}

.juice-drip-1 { top: 15%; left: 10%; animation: float 8s ease-in-out infinite; }
.juice-drip-2 { top: 25%; right: 15%; animation: float 10s ease-in-out infinite; }
.juice-drip-3 { bottom: 10%; left: 20%; animation: float 7s ease-out infinite; }
.juice-drip-4 { bottom: 20%; right: 10%; animation: float 9s ease-in-out infinite; }
.juice-drip-5 { top: 40%; left: 5%; animation: float 12s ease-in-out infinite; }
.juice-drip-6 { top: 60%; right: 5%; animation: float 11s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===================================
   HEADER - JUICE VIBES
   =================================== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo span {
    color: var(--accent);
}

.logo-icon {
    font-size: 32px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 17px;
    transition: all 0.4s ease;
    position: relative;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--juice-orange), var(--juice-pink), var(--juice-green));
    border-radius: 3px;
    transition: width 0.4s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===================================
   HERO - ULTRA VIBRANT
   =================================== */
.hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF9E6D 50%, #4ECDC4 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 100px;
    margin: 50px 0;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(30deg);
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.2rem;
    margin-bottom: 25px;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--juice-orange) 0%, var(--juice-pink) 100%);
    color: white;
    padding: 18px 50px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.btn:hover {
    background: linear-gradient(135deg, var(--juice-pink) 0%, var(--juice-orange) 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 167, 38, 0.6);
}

.btn:active {
    transform: translateY(-2px);
}

/* ===================================
   PRODUCTS - JUICE FESTIVAL
   =================================== */
.products-section {
    padding: 80px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--juice-orange), var(--juice-pink), var(--juice-green));
    border-radius: 2.5px;
}

.section-title p {
    color: var(--dark);
    font-size: 1.2rem;
    margin-top: 20px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
    opacity: 0.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.4s; }
.product-card:nth-child(4) { animation-delay: 0.6s; }
.product-card:nth-child(5) { animation-delay: 0.8s; }
.product-card:nth-child(6) { animation-delay: 1.0s; }

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    border-color: var(--juice-orange);
}

.product-image {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.6));
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-info {
    padding: 28px 25px;
    position: relative;
}

.product-info h3 {
    font-size: 1.7rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--juice-orange);
}

.product-info p {
    color: var(--dark);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.6;
    min-height: 65px;
    opacity: 0.85;
}

.price {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
}

.price::before {
    content: 'Rp';
    font-size: 1.1rem;
    color: var(--juice-orange);
    font-weight: 700;
}

.add-to-cart {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--juice-orange) 0%, var(--juice-pink) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 167, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.add-to-cart::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}

.add-to-cart:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--juice-pink) 0%, var(--juice-orange) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 167, 38, 0.4);
}

/* ===================================
   FORMS - JUICE STYLE
   =================================== */
.form-container {
    max-width: 550px;
    margin: 50px auto;
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 167, 38, 0.08) 0%, transparent 70%);
    transform: rotate(30deg);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    position: relative;
}

.form-container h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--juice-orange), var(--juice-pink), var(--juice-green));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--dark);
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--juice-orange);
    box-shadow: 0 0 0 4px rgba(255, 167, 38, 0.15);
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    justify-content: center;
}

/* ===================================
   DASHBOARD - JUICE ADMIN
   =================================== */
.dashboard {
    padding: 50px 0;
    background: #f8f9fa;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.dashboard-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem;
    color: var(--dark);
    font-weight: 800;
}

.dashboard-menu {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.dashboard-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.dashboard-menu ul li a {
    color: var(--dark);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 10px;
    transition: all 0.4s ease;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.dashboard-menu ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--juice-orange) 0%, var(--juice-pink) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dashboard-menu ul li a:hover::before {
    opacity: 1;
}

.dashboard-menu ul li a:hover {
    color: white;
    transform: translateY(-3px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--juice-orange);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--juice-orange);
    margin-bottom: 12px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.stat-card p {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* ===================================
   TABLES - JUICE STYLE
   =================================== */
.table-responsive {
    overflow-x: auto;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

table th,
table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

table th {
    background: linear-gradient(135deg, var(--juice-orange) 0%, var(--juice-pink) 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: rgba(255, 167, 38, 0.08);
}

table img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

/* ===================================
   STATUS BADGES - JUICE STYLE
   =================================== */
.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.status-pending {
    background: #e3f2fd;
    color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.status-processing {
    background: #fff8e1;
    color: #ffa000;
    box-shadow: 0 0 0 3px rgba(255, 160, 0, 0.1);
}

.status-completed {
    background: #e8f5e9;
    color: #388e3c;
    box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.1);
}

.status-cancelled {
    background: #ffebee;
    color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* ===================================
   FOOTER - JUICE STYLE
   =================================== */
footer {
    background: white;
    padding: 50px 0 30px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

footer p {
    color: var(--dark);
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.7;
    font-weight: 300;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--juice-orange);
    transform: translateY(-2px);
}

/* ===================================
   ALERTS - JUICE STYLE
   =================================== */
.alert {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 16px;
    border-left: 5px solid transparent;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left-color: var(--success);
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left-color: var(--danger);
}

/* ===================================
   RESPONSIVE - JUICE STYLE
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    nav {
        padding: 20px 0;
    }
    
    nav ul {
        gap: 25px;
        margin-left: 20px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 90px 20px;
        margin: 30px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .form-container {
        padding: 35px;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 20px;
        margin: 20px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 12px 15px;
    }
    
    table img {
        width: 70px;
        height: 70px;
    }
}