/* Custom Styles */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Portfolio card hover effects */
.portfolio-card {
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* Blog card styles */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

/* Project card styles */
.project-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.project-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-4px);
}

/* Input focus effects */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Animation classes */
.animate-in {
    animation: animateIn 0.5s ease-out forwards;
}

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

/* Admin list item styles */
.list-item {
    transition: all 0.2s ease;
}

.list-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* Button hover effects */
button:not(:disabled):hover {
    transform: translateY(-1px);
}

button:not(:disabled):active {
    transform: translateY(0);
}

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass {
        background: rgba(15, 23, 42, 0.95);
    }
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
