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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Sidebar hover effect */
.sidebar-item:hover {
    transform: translateX(4px);
}

/* Project card hover effects */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-card .project-image-container {
    transition: transform 0.4s ease;
}

.project-card:hover .project-image-container {
    transform: scale(1.1);
}

.project-card:hover .project-title {
    color: #3b82f6;
    text-decoration: underline;
}

.project-image-container {
    overflow: hidden;
}

.slideshow-container {
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.slide.prev {
    transform: translateX(-100%);
}

/* Skill tags with vibrant colors */
.skill-tag {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-tag:nth-child(2n) {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
}
.skill-tag:nth-child(2n+1) {
    background: linear-gradient(135deg, #ffec83 0%, #ffda7e 50%, #ffb700 100%);
}

.skill-tag:nth-child(3n) {
    background: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
    color: white;
}

.skill-tag:nth-child(4n) {
    background: linear-gradient(135deg, #059669 0%, #16a34a 100%);
    color: white;
}

.skill-tag:nth-child(5n) {
    background: linear-gradient(135deg, #db2777 0%, #c026d3 100%);
    color: white;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hamburger menu animation */
.hamburger span {
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Slideshow navigation arrows */
.slideshow-arrow {
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: background 0.3s ease;
}

.project-card:hover .slideshow-arrow {
    opacity: 1;
    background: rgba(0, 0, 0, 1);
}

/* Mobile sidebar overlay */
.sidebar-overlay {
    transition: opacity 0.3s ease;
}

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

/* Navigation menu items overflow handling */
.nav-menu {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

/* Premium Button Styles */
.premium-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 140px;
    text-decoration: none;
    outline: none;
}

.premium-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.premium-button:hover::before {
    left: 100%;
}

/* Contact Me Button - Sleek Black */
.contact-button {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-button:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 50%, #2a2a2a 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.contact-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Hire Me Button - Rich Red */
.hire-button {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 
        0 4px 15px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hire-button:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #ef4444 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(220, 38, 38, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(220, 38, 38, 0.3);
}

.hire-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Button focus states for accessibility */
.premium-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .premium-button {
        padding: 12px 24px;
        font-size: 13px;
        min-width: 120px;
    }
}