/* ====================================
   TECNOLÍDERES - Custom Styles
   Colores basados en el logo floral
   ==================================== */

/* Color Variables */
:root {
    --pink: #EC4899;
    --purple: #A855F7;
    --indigo: #6366F1;
    --blue: #3B82F6;
    --cyan: #06B6D4;
    --orange: #F97316;
    --violet: #A78BFA;
    --dark: #1E293B;
}

/* Base Styles */
* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Header Styles */
#header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Pattern Background - colores del logo */
.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(249, 115, 22, 0.06) 0%, transparent 40%);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

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

.floating-slow {
    animation: float-slow 8s ease-in-out infinite;
}

.floating-fast {
    animation: float-fast 4s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.gradient-text-animated {
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Form Styles - colores del logo */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

.volunteer-checkbox input:checked + span {
    color: var(--pink);
    font-weight: 500;
}

.volunteer-checkbox:has(input:checked) {
    border-color: var(--pink);
    background-color: rgba(236, 72, 153, 0.05);
}

/* Counter Animation */
.counter {
    display: inline-block;
}

.counter::after {
    content: '+';
}

/* Scroll Indicator Animation */
@keyframes bounce-scroll {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* Timeline Responsive Styles */
@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: block;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Testimonial Card Styles */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Divider - colores del logo */
.section-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(236, 72, 153, 0.3),
        rgba(168, 85, 247, 0.3),
        rgba(6, 182, 212, 0.3),
        transparent
    );
}

/* Icon Hover Animation */
.icon-hover {
    transition: transform 0.3s ease;
}

.icon-hover:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Link Underline Animation - colores del logo */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Pulse Animation for Stats */
@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Gradient Border Animation - colores del logo */
.gradient-border {
    position: relative;
    background: white;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--pink), var(--purple), var(--cyan), var(--orange));
    border-radius: inherit;
    z-index: -1;
    background-size: 300% 300%;
    animation: gradient-shift 4s ease infinite;
}

/* AOS Custom Animations */
[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Custom Scrollbar - colores del logo */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink), var(--purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--purple), var(--indigo));
}

/* Selection Styles */
::selection {
    background: rgba(236, 72, 153, 0.3);
    color: var(--dark);
}

/* Focus Visible Styles */
:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header,
    footer,
    #mobile-menu-btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here when needed */
}
