/* Edupin Teknoloji - Custom Styles */

.nav-link {
    color: rgb(75 85 99);
    font-weight: 500;
    transition: color 0.2s;
}
.dark .nav-link { color: rgb(209 213 219); }
.nav-link:hover { color: rgb(79 70 229); }
.dark .nav-link:hover { color: rgb(129 140 248); }

.nav-on-hero .nav-link {
    color: white;
}
.nav-on-hero .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}
.nav-on-hero .nav-link.text-primary-600,
.nav-on-hero .nav-link.dark\:text-primary-400 {
    color: white;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, rgb(79 70 229), rgb(99 102 241));
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.25);
    transition: all 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: rgb(79 70 229);
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
}
.btn-secondary:hover {
    border-color: rgb(99 102 241);
    background: rgba(99, 102, 241, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.dark .glass-card {
    background: rgba(17, 24, 39, 0.7);
    border-color: rgba(55, 65, 81, 0.5);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }

.section-subtitle {
    font-size: 1.125rem;
    color: rgb(107 114 128);
    max-width: 42rem;
    margin: 0 auto;
}
.dark .section-subtitle { color: rgb(156 163 175); }

.hero-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #8b5cf6 100%);
}

.stat-card, .service-card, .testimonial-card {
    transition: all 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s;
}
.hero-slide.active { opacity: 1; z-index: 10; }

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: rgb(156 163 175);
    transition: all 0.2s;
}
.admin-sidebar-link:hover { color: white; background: rgba(255,255,255,0.1); }
.admin-sidebar-link.active { color: white; background: rgba(79, 70, 229, 0.8); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgb(243 244 246); }
.dark ::-webkit-scrollbar-track { background: rgb(17 24 39); }
::-webkit-scrollbar-thumb { background: rgb(129 140 248); border-radius: 9999px; }

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 9999px;
    background: #25d366;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float-pulse {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #25d366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}
