/* Custom CSS for SolidCore Energy - Dark Mysterious Theme */

/* Root variables for dark theme */
:root {
    --gold: #ffd700;
    --silver: #c0c0c0;
    --dark-primary: #1a1a1a;
    --dark-secondary: #2d2d2d;
    --dark-accent: #404040;
    --mysterious-glow: rgba(255, 215, 0, 0.3);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

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

/* Body background for consistent dark theme */
body {
    background-color: #000000;
    color: #ffffff;
}

/* Custom dark scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #e6c200;
}

/* Hero section mysterious background animation */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        rgba(0, 0, 0, 0.8) 25%, 
        rgba(192, 192, 192, 0.05) 50%, 
        rgba(0, 0, 0, 0.8) 75%, 
        rgba(255, 215, 0, 0.05) 100%);
    background-size: 400% 400%;
    animation: mysterious-shift 20s ease infinite;
    z-index: 1;
}

@keyframes mysterious-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Dark navbar blur effect */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px -1px rgba(255, 215, 0, 0.2);
}

/* Mysterious particle effects */
@keyframes mysterious-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% { 
        transform: translateY(-20px) rotate(120deg);
        opacity: 0.6;
    }
    66% { 
        transform: translateY(10px) rotate(240deg);
        opacity: 0.4;
    }
}

/* Dark theme button hover effects */
.btn-primary {
    background: linear-gradient(45deg, var(--gold), #e6c200);
    color: #000000;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(45deg, #e6c200, var(--gold));
}

.btn-secondary {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.btn-secondary:hover {
    background: var(--gold);
    color: #000000;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Dark theme card hover effects */
.card {
    transition: all 0.3s ease;
    transform: translateY(0);
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid rgba(64, 64, 64, 0.5);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(255, 215, 0, 0.1), 0 10px 10px -5px rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Mysterious gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, var(--gold), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark theme progress bars */
.progress-bar {
    position: relative;
    background: rgba(64, 64, 64, 0.5);
    border-radius: 9999px;
    height: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--silver));
    border-radius: 9999px;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Loading animation for progress bars */
@keyframes progress-load {
    0% { width: 0%; }
    100% { width: var(--progress-width); }
}

/* Floating elements */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse effect for stats */
.stat-number {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Dark theme form focus effects */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2) !important;
    background: rgba(0, 0, 0, 0.7) !important;
}

/* Dark theme form styling */
input, textarea, select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(128, 128, 128, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder {
    color: rgba(128, 128, 128, 0.7);
}

/* Dark theme select styling */
select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.show {
    max-height: 300px;
}

/* Section reveal animation */
.section-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Technology grid animation */
.tech-grid-item {
    transition: all 0.3s ease;
}

.tech-grid-item:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Icon pulse animation */
.icon-pulse {
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Battery animation */
.battery-indicator {
    position: relative;
    width: 60px;
    height: 30px;
    border: 2px solid #1e40af;
    border-radius: 4px;
    display: inline-block;
}

.battery-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    right: -6px;
    width: 4px;
    height: 14px;
    background: #1e40af;
    border-radius: 0 2px 2px 0;
}

.battery-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    border-radius: 2px;
    animation: battery-charge 3s ease-in-out infinite;
}

@keyframes battery-charge {
    0%, 100% { width: 20%; }
    50% { width: 90%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
.screen-reader-response {
    display: none;
}
textarea {
    height: 122px;
}
.wpcf7-not-valid-tip {
    font-size: 14px;
    color: red;
}
.wpcf7-response-output {
    color: red;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}
input:where([type=submit]):hover {
        --tw-gradient-to: #ffd700 var(--tw-gradient-to-position) !important;
    --tw-shadow-color: rgb(255 215 0 / 0.25);
    --tw-gradient-from: #ca8a04 var(--tw-gradient-from-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
        --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
}
input:where([type=submit]):focus {
    background: #ffd700 !important;
}