/* =====================================================
   YANDI PONSEL - Custom Styles
   Modern, Clean, Futuristik, Dark Theme
   ===================================================== */

:root {
  --primary-dark: #171e33;
  --primary-darker: #0f1322;
  --white: #f9f9f9;
  --neon-blue: #00f0ff;
  --neon-blue-dim: rgba(0, 240, 255, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --card-bg: #1e2642;
  --card-border: rgba(255,255,255,0.06);
  --sidebar-width: 260px;
}


::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #171e33;
}
::-webkit-scrollbar-thumb {
  background: #2d3a5c;
  border-radius: 3px;
}



/* Neon glow effect */
.neon-text {
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4), 0 0 20px rgba(0, 240, 255, 0.2);
}
.neon-border {
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}
.neon-glow {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), 0 0 40px rgba(0, 240, 255, 0.05);
}

/* Hero Section */
.hero-bg {
  background: linear-gradient(135deg, #171e33 0%, #0f1322 50%, #171e33 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Grid pattern overlay */
.grid-pattern {
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}
.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* Pulse glow */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.2); }
  50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 40px rgba(0, 240, 255, 0.1); }
}
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Slide up animation */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Card modern */
.modern-card {
  background: var(--card-bg);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.modern-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Button neon */
.btn-neon {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 240, 255, 0.05));
  border: 1px solid rgba(0, 240, 255, 0.4);
  transition: all 0.3s ease;
}
.btn-neon:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(0, 240, 255, 0.1));
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-1px);
}

/* Input dark */
.input-dark {
  background: rgba(30, 38, 66, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.input-dark:focus {
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
  outline: none;
}
.input-dark::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Service card */
.service-card {
  background: linear-gradient(145deg, #1e2642 0%, #171e33 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Tracking timeline */
.tracking-step {
  position: relative;
}
.tracking-step::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12px;
  width: 2px;
  height: calc(100% - 24px);
  background: rgba(255, 255, 255, 0.1);
}
.tracking-step:last-child::before {
  display: none;
}
.tracking-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
  position: relative;
}
.tracking-dot.active {
  background: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}
.tracking-dot.completed {
  background: var(--success);
  color: white;
}
.tracking-dot.pending {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar admin */
.admin-sidebar {
  background: linear-gradient(180deg, #1a2140 0%, #171e33 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(0, 240, 255, 0.08);
}

/* Stat card */
.stat-card {
  background: linear-gradient(135deg, #1e2642 0%, #1a2140 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

/* Loading spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 240, 255, 0.2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
}
.toast {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 350px;
}
.toast.show {
  transform: translateX(0);
}

/* Responsive sidebar */
@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
    position: fixed;
    z-index: 50;
    height: 100vh;
    transition: transform 0.3s ease;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.5);
    z-index: 40;
  }
  .sidebar-overlay.show {
    display: block;
  }
}

/* Mobile responsive tweaks */
@media (max-width: 768px) {
  .stat-card { padding: 1rem; }
  .modern-card { padding: 1rem; }
}


/* =========================================
   MODERN SMOOTH ANIMATION
========================================= */

/* Smooth scroll */

/* Fade Up Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.7s ease forwards;
}

/* Neon Pulse */
@keyframes neonPulse {
    0%,100% {
        box-shadow: 0 0 10px rgba(0,240,255,0.25);
    }

    50% {
        box-shadow:
            0 0 20px rgba(0,240,255,0.45),
            0 0 35px rgba(0,240,255,0.25);
    }
}

.neon-pulse {
    animation: neonPulse 2.5s infinite ease-in-out;
}

/* Floating */
@keyframes floating {

    0%,100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Card Hover */
.hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.35),
        0 0 20px rgba(0,240,255,0.08);

    border-color: rgba(0,240,255,0.25);
}

/* Button Glow */
.btn-glow {
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 20px rgba(0,240,255,0.3),
        0 0 35px rgba(0,240,255,0.15);
}

/* Image Zoom Hover */
.img-hover {
    overflow: hidden;
}

.img-hover img {
    transition: transform 0.4s ease;
}

.img-hover:hover img {
    transform: scale(1.08);
}

/* =========================================
   RESPONSIVE GLOBAL
========================================= */

.container-responsive {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .container-responsive {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .container-responsive {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* =========================================
   GLOBAL BACKGROUND FIX
========================================= */

body {

    background:
        linear-gradient(
            rgba(15, 19, 34, 0.88),
            rgba(15, 19, 34, 0.92)
        ),
        url('images/IMG_1904.jpg');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;

    min-height: 100vh;
}



