/* Custom styles for Eltech Digital website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0B0B0C;
}

::-webkit-scrollbar-thumb {
    background: #00C2FF;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #02AEE7;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #00C2FF 0%, #FFA51C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(90deg, #00C2FF 0%, #FFA51C 100%);
    color: #000000;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #00C2FF;
    color: #00C2FF;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #00C2FF;
    color: #000000;
}

/* Card styles */
.card {
    background: #0B0B0C;
    border: 1px solid #1F2937;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #00C2FF;
    transform: translateY(-5px);
}

/* Glowing effect */
.glow {
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.5);
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(0, 194, 255, 0.1);
    border-top: 3px solid #00C2FF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #00C2FF !important;
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.1);
}

/* Table styles for admin */
table {
    width: 100%;
    border-collapse: collapse;
}

table thead tr {
    background: #0B0B0C;
}

table tbody tr {
    transition: background 0.2s ease;
}

table tbody tr:hover {
    background: #0B0B0C;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Custom badge */
.badge {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(0, 194, 255, 0.1);
    color: #00C2FF;
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.badge-warning {
    background: rgba(255, 165, 28, 0.1);
    color: #FFA51C;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

/* Prose styles for content pages */
.prose {
    max-width: 65ch;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1rem;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    margin-bottom: 0.5rem;
}
