/* Custom styles for Escuela Pedro de Oña - Pure CSS (no Tailwind processing needed) */

/* Navigation Links */
.nav-link {
    color: #374151;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.dark .nav-link {
    color: #d1d5db;
}

.nav-link:hover {
    color: #982cbb;
}

.dark .nav-link:hover {
    color: #b85cd6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #982cbb;
    transition: width 0.3s ease;
}

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

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.dark .mobile-link {
    color: #d1d5db;
}

.mobile-link:hover {
    background-color: #f9fafb;
}

.dark .mobile-link:hover {
    background-color: #374151;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #982cbb;
    color: white;
    font-weight: 500;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(152, 44, 187, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #7d219c;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(152, 44, 187, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid #d1d5db;
    color: #374151;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.dark .btn-outline {
    border-color: white;
    color: white;
}

.btn-outline:hover {
    border-color: #982cbb;
    color: #982cbb;
    transform: translateY(-2px);
}

.dark .btn-outline:hover {
    border-color: #b85cd6;
    color: #b85cd6;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #982cbb;
    font-weight: 500;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.5s ease;
}

.dark .feature-card {
    background-color: #1f2937;
    border-color: #374151;
}

.feature-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.dark .testimonial-card {
    background-color: #1f2937;
    border-color: #374151;
}

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

/* Link Cards */
.link-card {
    display: block;
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dark .link-card {
    background-color: #1f2937;
    border-color: #374151;
}

.link-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: #e7c4f3;
}

/* Social Links */
.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #1f2937;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #982cbb;
    color: white;
}

/* Animation on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Selection color */
::selection {
    background-color: #982cbb;
    color: white;
}

/* Header scroll effect */
.header-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

