/* Custom Styles for Tolga Keserci Portfolio */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #DE6801;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C55A01;
}

/* Selection */
::selection {
    background-color: #DE6801;
    color: #121212;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(222, 104, 1, 0.1);
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(222, 104, 1, 0.3);
    border-top: 3px solid #DE6801;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #DE6801 0%, #C55A01 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog content images */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.prose img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Blog content typography */
.prose p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #DE6801;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }

.prose ul, .prose ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.prose li {
    margin: 0.5rem 0;
}

.prose a {
    color: #DE6801;
    text-decoration: underline;
}

.prose a:hover {
    color: #C55A01;
}

