/* Custom CSS for Portfolio - Complementing Tailwind */

:root {
    --color-primary: #4D2B8C;
    --color-secondary: #85409D;
    --color-accent: #EEA727;
    --color-highlight: #FFEF5F;
}

/* Pixel font rendering */
.font-press-start {
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

.press-start-2p-regular {
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  font-style: normal;
}


/* Custom button styles */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Custom animation for floating elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Custom focus styles */
input:focus, textarea:focus {
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px rgba(238, 167, 39, 0.2) !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}