/* Theme-specific styles that can be loaded dynamically */
/* This file contains additional theme-specific enhancements */

/* Light Theme Enhancements */
:root {
    /* Additional light theme variables */
    --gradient-primary: linear-gradient(135deg, #00c2cb, #003366);
    --gradient-secondary: linear-gradient(135deg, #f8f9fa, #ffffff);
    --glass-effect: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Dark Theme Enhancements */
[data-theme="dark"] {
    /* Additional dark theme variables */
    --gradient-primary: linear-gradient(135deg, #00d4ff, #0066ff);
    --gradient-secondary: linear-gradient(135deg, #0f172a, #0a0e1a);
    --glass-effect: rgba(17, 22, 37, 0.8);
    --glass-border: rgba(51, 65, 85, 0.3);
}

/* Theme-specific animations */
@keyframes themePulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 194, 203, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 194, 203, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 194, 203, 0); }
}

[data-theme="dark"] {
    @keyframes themePulse {
        0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
        100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
    }
}

.theme-pulse {
    animation: themePulse 2s infinite;
}

/* Theme-specific gradients for backgrounds */
.theme-gradient-bg {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.theme-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    pointer-events: none;
}

/* Enhanced card effects for different themes */
.theme-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.theme-card:hover::before {
    left: 100%;
}

.theme-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

/* Theme-specific button variants */
.btn-ghost {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-ghost::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: 0;
}

.btn-ghost:hover::before {
    width: 150%;
    height: 150%;
}

.btn-ghost span {
    position: relative;
    z-index: 1;
}

.btn-ghost:hover {
    color: white;
}

/* Theme-specific loading animations */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--card-border);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Theme-specific form focus effects */
.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 194, 203, 0.1);
    transform: translateY(-1px);
}

[data-theme="dark"] .form-input:focus {
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

/* Theme-specific navigation enhancements */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: 0 10px 25px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-content a {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--card-border);
    transition: background-color 0.3s ease;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Theme-specific footer enhancements */
.footer-enhanced {
    background: linear-gradient(180deg, var(--footer-bg), #0b1220);
    position: relative;
}

.footer-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Theme-specific hero enhancements */
.hero-enhanced {
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 50%);
    position: relative;
}

.hero-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    opacity: 0.9;
    z-index: 1;
}

/* Theme-specific section dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
    margin: 4rem 0;
}

/* Theme-specific typography enhancements */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-stroke {
    -webkit-text-stroke: 1px var(--primary-color);
    color: transparent;
}

/* Theme-specific shadow utilities */
.shadow-theme {
    box-shadow: 0 10px 30px var(--shadow);
}

.shadow-theme-hover:hover {
    box-shadow: 0 15px 40px var(--shadow-hover);
}

/* Theme-specific border utilities */
.border-theme {
    border: 2px solid transparent;
    background-clip: padding-box;
    border-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-image-slice: 1;
}

/* Theme-specific glassmorphism */
.glass {
    background: var(--glass-effect);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Theme-specific neon effects */
.neon-text {
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color), 0 0 15px var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .neon-text {
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color), 0 0 15px var(--primary-color);
}

/* Theme-specific hover scale effects */
.scale-hover:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.scale-hover-large:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Theme-specific fade-in animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Staggered animations for lists */
.fade-in-stagger {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.fade-in-stagger:nth-child(1) { animation-delay: 0.1s; }
.fade-in-stagger:nth-child(2) { animation-delay: 0.2s; }
.fade-in-stagger:nth-child(3) { animation-delay: 0.3s; }
.fade-in-stagger:nth-child(4) { animation-delay: 0.4s; }
.fade-in-stagger:nth-child(5) { animation-delay: 0.5s; }
.fade-in-stagger:nth-child(6) { animation-delay: 0.6s; }

/* Theme-specific cursor effects */
.cursor-pointer {
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

/* Theme-specific selection styles */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Theme-specific scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--card-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}