/* Custom styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

.animate-scroll-down {
    animation: scrollDown 2s ease-in-out infinite;
}

/* Smooth scrolling desactivado (comportamiento por defecto del navegador) */
html {
    /* scroll-behavior: auto; es el valor por defecto, no es necesario declararlo explícitamente */
}

/* Custom form styles */
input, textarea {
    background-color: #111827;
    border: 1px solid #374151;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    color: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

/* Mobile menu */
@media (max-width: 768px) {
    .mobile-menu {
        display: none;
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu.active {
        display: block;
        animation: fadeInUp 0.3s ease-out forwards;
    }
}

/* Section transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom button styles */
.btn-primary {
    background-color: #fbbf24;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #fbbf24;
    color: #fbbf24;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Card styles */
.card {
    background: #111827;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Icon styles */
.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    background-color: #fbbf24;
    color: #000000;
    transform: scale(1.1);
}

/* Social media icons */
.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111827;
    color: #fbbf24;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fbbf24;
    color: #000000;
    transform: translateY(-3px);
}

/* Project card hover effect */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(251, 191, 36, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

/* Newsletter form */
.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0.5rem 1rem;
}

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

::-webkit-scrollbar-track {
    background: #111827;
}

::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 4px;
}

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

/* Glass effect */
.glass {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Section spacing */
section {
    padding: 8rem 0;
}

/* Container max width */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
}

body {
    font-family: 'Inter', sans-serif;
}
h1, h2, h3, h4, .font-display {
    font-family: 'Poppins', sans-serif;
}