/**
 * Aynex Digital Solutions - PREMIUM Tema
 * Özel Tasarım - Diğer Temalardan Farklı
 */

/* ===============================================
   Aynex Premium Renk Paleti
   =============================================== */
[data-theme-style="aynex"] {
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --primary-light: #4ADE80;
    --secondary: #111827;
    --accent: #3B82F6;
    
    --bg: #FAFAFA;
    --card: #FFFFFF;
    
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
}

/* ===============================================
   Premium Kart Tasarımı
   =============================================== */
[data-theme-style="aynex"] .digital-card {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(34, 197, 94, 0.1),
        0 20px 50px -10px rgba(17, 24, 39, 0.25),
        0 0 100px -20px rgba(34, 197, 94, 0.3);
}

/* Premium Üst Gradient Çizgi */
[data-theme-style="aynex"] .digital-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #22C55E 0%, 
        #3B82F6 25%, 
        #8B5CF6 50%, 
        #3B82F6 75%, 
        #22C55E 100%
    );
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
    z-index: 100;
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ===============================================
   Premium Hero - Glassmorphism
   =============================================== */
[data-theme-style="aynex"] .card-hero {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #111827 0%, #1F2937 100%);
    padding: 48px 32px 40px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Cover Image Support */
[data-theme-style="aynex"] .hero-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.6) 0%, rgba(17, 24, 39, 0.9) 100%);
}

/* Animated Grid Background */
[data-theme-style="aynex"] .card-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    z-index: 3;
    pointer-events: none;
}

/* Floating Particles Effect */
[data-theme-style="aynex"] .card-hero::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: 
        radial-gradient(circle at 20% 20%, #22C55E 2px, transparent 2px),
        radial-gradient(circle at 60% 40%, #3B82F6 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 20%, #22C55E 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, #8B5CF6 2px, transparent 2px),
        radial-gradient(circle at 90% 80%, #22C55E 1.5px, transparent 1.5px);
    opacity: 0.6;
    animation: floatParticles 4s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes floatParticles {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-10px) rotate(5deg); opacity: 0.8; }
}

/* ===============================================
   Premium Profil - Glow Effect
   =============================================== */
[data-theme-style="aynex"] .profile-photo {
    position: relative;
}

[data-theme-style="aynex"] .profile-photo::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: conic-gradient(from 0deg, #22C55E, #3B82F6, #8B5CF6, #22C55E);
    border-radius: 50%;
    animation: rotateGlow 4s linear infinite;
    z-index: -1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

[data-theme-style="aynex"] .profile-photo img,
[data-theme-style="aynex"] .profile-photo-placeholder {
    border: 4px solid #1F2937;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

[data-theme-style="aynex"] .profile-photo-placeholder {
    background: linear-gradient(135deg, #22C55E, #16A34A);
}

/* Online Badge - Pulse */
[data-theme-style="aynex"] .online-badge {
    background: #22C55E;
    border: 3px solid #1F2937;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ===============================================
   Premium Typography
   =============================================== */
[data-theme-style="aynex"] .profile-name {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

[data-theme-style="aynex"] .profile-role {
    color: #22C55E;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

[data-theme-style="aynex"] .profile-org {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

[data-theme-style="aynex"] .profile-org i {
    color: #22C55E;
}

/* ===============================================
   Premium Butonlar - Gradient & Glow
   =============================================== */
[data-theme-style="aynex"] .quick-actions {
    padding: 24px 32px;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.05) 0%, transparent 100%);
}

[data-theme-style="aynex"] .quick-btn.primary {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border: none;
    box-shadow: 
        0 4px 15px rgba(34, 197, 94, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

[data-theme-style="aynex"] .quick-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

[data-theme-style="aynex"] .quick-btn.primary:hover::before {
    left: 100%;
}

[data-theme-style="aynex"] .quick-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(34, 197, 94, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme-style="aynex"] .quick-btn:not(.primary) {
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
    background: rgba(34, 197, 94, 0.05);
    font-weight: 600;
}

[data-theme-style="aynex"] .quick-btn:not(.primary):hover {
    border-color: #22C55E;
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

/* ===============================================
   Premium Hakkında - Terminal Style
   =============================================== */
[data-theme-style="aynex"] .card-about {
    margin: 0 24px;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

[data-theme-style="aynex"] .card-about::before {
    content: '●  ●  ●';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 10px;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #EF4444, #F59E0B, #22C55E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme-style="aynex"] .card-about .about-text {
    color: #D1D5DB;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 20px;
    padding-left: 20px;
    border-left: 2px solid #22C55E;
}

[data-theme-style="aynex"] .card-about .about-text::before {
    content: '$ whoami\A> ';
    white-space: pre;
    color: #22C55E;
    font-weight: 600;
}

/* ===============================================
   Premium Bölüm Başlıkları
   =============================================== */
[data-theme-style="aynex"] .section-header {
    border-bottom: none;
    position: relative;
    padding-bottom: 12px;
}

[data-theme-style="aynex"] .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #22C55E, transparent);
    border-radius: 3px;
}

[data-theme-style="aynex"] .section-header i {
    color: #22C55E;
    font-size: 18px;
}

[data-theme-style="aynex"] .section-header span {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

/* ===============================================
   Premium İletişim Kartları
   =============================================== */
[data-theme-style="aynex"] .contact-row {
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme-style="aynex"] .contact-row:hover {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
    transform: translateX(8px);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.2);
}

[data-theme-style="aynex"] .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

[data-theme-style="aynex"] .contact-icon.blue {
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
}

[data-theme-style="aynex"] .contact-icon.blue i { color: #16A34A; }

[data-theme-style="aynex"] .contact-icon.green {
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
}

[data-theme-style="aynex"] .contact-icon.green i { color: #22C55E; }

[data-theme-style="aynex"] .contact-icon.cyan {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

[data-theme-style="aynex"] .contact-icon.cyan i { color: #2563EB; }

[data-theme-style="aynex"] .contact-icon.orange {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

[data-theme-style="aynex"] .contact-icon.orange i { color: #D97706; }

[data-theme-style="aynex"] .contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9CA3AF;
    font-weight: 600;
}

[data-theme-style="aynex"] .contact-value {
    color: #111827;
    font-weight: 600;
    font-size: 15px;
}

[data-theme-style="aynex"] .contact-arrow {
    color: #D1D5DB;
    transition: all 0.3s ease;
}

[data-theme-style="aynex"] .contact-row:hover .contact-arrow {
    color: #22C55E;
    transform: translateX(4px);
}

/* ===============================================
   Premium Hizmet Kartları
   =============================================== */
[data-theme-style="aynex"] .service-card {
    border: none;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme-style="aynex"] .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22C55E, #3B82F6);
    border-radius: 4px 0 0 4px;
}

[data-theme-style="aynex"] .service-card:nth-child(2)::before {
    background: linear-gradient(180deg, #3B82F6, #8B5CF6);
}

[data-theme-style="aynex"] .service-card:nth-child(3)::before {
    background: linear-gradient(180deg, #8B5CF6, #EC4899);
}

[data-theme-style="aynex"] .service-card:nth-child(4)::before {
    background: linear-gradient(180deg, #F59E0B, #EF4444);
}

[data-theme-style="aynex"] .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(34, 197, 94, 0.2);
}

[data-theme-style="aynex"] .service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme-style="aynex"] .service-icon i {
    font-size: 22px;
    color: #16A34A;
}

[data-theme-style="aynex"] .service-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-top: 16px;
}

[data-theme-style="aynex"] .service-desc {
    font-size: 13px;
    color: #6B7280;
    margin-top: 8px;
    line-height: 1.6;
}

/* ===============================================
   Premium Sosyal Medya
   =============================================== */
[data-theme-style="aynex"] .card-social {
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    padding: 24px 32px;
    border-top: none;
}

[data-theme-style="aynex"] .social-btn {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    background: #FFFFFF;
    font-size: 20px;
    color: #6B7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme-style="aynex"] .social-btn:hover {
    border-color: #22C55E;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: white;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 30px -5px rgba(34, 197, 94, 0.5);
}

/* ===============================================
   Premium Form
   =============================================== */
[data-theme-style="aynex"] .card-form {
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    padding: 32px;
}

[data-theme-style="aynex"] .form-label {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme-style="aynex"] .form-input {
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

[data-theme-style="aynex"] .form-input:focus {
    border-color: #22C55E;
    box-shadow: 
        0 0 0 4px rgba(34, 197, 94, 0.1),
        0 10px 30px -10px rgba(34, 197, 94, 0.2);
}

[data-theme-style="aynex"] .form-submit {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border: none;
    border-radius: 14px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 30px -5px rgba(34, 197, 94, 0.4);
    position: relative;
    overflow: hidden;
}

[data-theme-style="aynex"] .form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

[data-theme-style="aynex"] .form-submit:hover::before {
    left: 100%;
}

[data-theme-style="aynex"] .form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -5px rgba(34, 197, 94, 0.5);
}

/* ===============================================
   Premium Footer
   =============================================== */
[data-theme-style="aynex"] .card-footer {
    background: linear-gradient(180deg, #111827 0%, #0F172A 100%);
    padding: 24px 32px;
    border-top: none;
}

[data-theme-style="aynex"] .card-footer p {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme-style="aynex"] .card-footer a {
    color: #22C55E;
    font-weight: 600;
}

[data-theme-style="aynex"] .card-footer .footer-credit {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme-style="aynex"] .card-footer .footer-credit a {
    color: #22C55E;
}

/* ===============================================
   Premium Tema Değiştirici
   =============================================== */
[data-theme-style="aynex"] .theme-toggle {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1F2937, #111827);
    border: 2px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

[data-theme-style="aynex"] .theme-toggle i {
    color: #22C55E;
    font-size: 20px;
}

[data-theme-style="aynex"] .theme-toggle:hover {
    border-color: #22C55E;
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 40px -5px rgba(34, 197, 94, 0.4);
}

/* ===============================================
   Premium QR Modal
   =============================================== */
[data-theme-style="aynex"] .modal-box {
    border-radius: 24px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 
        0 25px 80px -10px rgba(0, 0, 0, 0.4),
        0 0 100px -20px rgba(34, 197, 94, 0.3);
}

[data-theme-style="aynex"] .qr-box {
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    background: linear-gradient(135deg, #F0FDF4, #FFFFFF);
    padding: 20px;
}

/* ===============================================
   Premium Koyu Tema
   =============================================== */
[data-theme="dark"][data-theme-style="aynex"] {
    --bg: #0F172A;
    --card: #1E293B;
}

[data-theme="dark"][data-theme-style="aynex"] .digital-card {
    background: #1E293B;
    box-shadow: 
        0 0 0 1px rgba(34, 197, 94, 0.2),
        0 25px 60px -10px rgba(0, 0, 0, 0.5),
        0 0 100px -20px rgba(34, 197, 94, 0.2);
}

[data-theme="dark"][data-theme-style="aynex"] .section-header span,
[data-theme="dark"][data-theme-style="aynex"] .contact-value,
[data-theme="dark"][data-theme-style="aynex"] .service-title {
    color: #F1F5F9;
}

[data-theme="dark"][data-theme-style="aynex"] .contact-row,
[data-theme="dark"][data-theme-style="aynex"] .service-card {
    background: #1E293B;
}

[data-theme="dark"][data-theme-style="aynex"] .contact-row:hover {
    background: rgba(34, 197, 94, 0.1);
}

[data-theme="dark"][data-theme-style="aynex"] .contact-icon.blue,
[data-theme="dark"][data-theme-style="aynex"] .contact-icon.green,
[data-theme="dark"][data-theme-style="aynex"] .contact-icon.cyan,
[data-theme="dark"][data-theme-style="aynex"] .contact-icon.orange,
[data-theme="dark"][data-theme-style="aynex"] .service-icon {
    background: rgba(34, 197, 94, 0.2);
}

[data-theme="dark"][data-theme-style="aynex"] .card-social,
[data-theme="dark"][data-theme-style="aynex"] .card-form {
    background: #0F172A;
}

[data-theme="dark"][data-theme-style="aynex"] .social-btn {
    background: #1E293B;
    border-color: #334155;
    color: #94A3B8;
}

[data-theme="dark"][data-theme-style="aynex"] .form-input {
    background: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
}
