/* System Graphics Theme - Custom CSS */

/* Spectrum bar utility */
.spectrum-bar {
    background: linear-gradient(90deg, #F51B20, #7D43A0, #36A0D2, #41B649, #F0E513, #F45D22);
}

/* Gradient text */
.text-gradient-spectrum {
    background: linear-gradient(90deg, #F51B20, #7D43A0, #36A0D2, #41B649, #F0E513, #F45D22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card hover */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(6, 29, 68, 0.15);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #061D44; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #0a2a5e; }

/* Reveal animation */
.sg-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.sg-reveal.sg-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Float animation */
@keyframes sg-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
.sg-float { animation: sg-float 4s ease-in-out infinite; }

/* Pulse glow */
@keyframes sg-pulse-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}
.sg-pulse-glow { animation: sg-pulse-glow 3s ease-in-out infinite; }

/* Bounce */
@keyframes sg-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
.sg-bounce { animation: sg-bounce 1.5s ease-in-out infinite; }

/* Spin */
@keyframes sg-spin {
    to { transform: rotate(360deg); }
}
.sg-spin { animation: sg-spin 0.6s linear infinite; }

/* Service grid card */
.sg-service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sg-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(6, 29, 68, 0.15);
}

/* Portfolio item hover */
.sg-portfolio-item img {
    transition: transform 0.7s ease;
}
.sg-portfolio-item:hover img {
    transform: scale(1.1);
}

/* Mobile menu transition */
.sg-mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.sg-mobile-menu.sg-open {
    max-height: 500px;
    opacity: 1;
}

/* Testimonial dots */
.sg-testimonial-dot {
    height: 6px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* Form focus */
.sg-form-input:focus {
    outline: none;
    border-color: #36A0D2;
    box-shadow: 0 0 0 3px rgba(54, 160, 210, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .sg-hide-mobile { display: none; }
}
@media (min-width: 1024px) {
    .sg-hide-desktop { display: none; }
}
