/* ==========================================================================
   Dark Theme Additions - Simplified Bytes
   Additional styles for the new modern dark theme
   Load this after main.css
   ========================================================================== */

/* Override sections with dark theme cards */
.about-section,
.services-section,
.portfolio-section,
.contact-section {
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Card Styling - Modern Dark */
.service-card,
.visual-card,
.portfolio-item,
.contact-form-container,
.info-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover,
.visual-card:hover,
.portfolio-item:hover {
    background: var(--bg-elevated);
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}

/* Service Cards */
.service-icon {
    background: var(--gradient-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.service-card h3,
.visual-card h4,
.portfolio-item h3 {
    color: var(--text-primary);
}

.service-card p,
.visual-card p {
    color: var(--text-secondary);
}

/* Feature Tags */
.feature-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Service CTA */
.service-cta {
    color: var(--primary-color);
}

.service-cta:hover {
    color: var(--primary-light);
}

/* Portfolio Filters */
.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.filter-btn.active,
.filter-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Portfolio Images */
.portfolio-image {
    background: var(--gradient-accent);
}

.portfolio-overlay {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 39, 71, 0.95) 100%);
}

/* Contact Info */
.info-icon {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.info-content h4 {
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
}

/* Social Links */
.social-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.social-link:hover i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer-section h4 {
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.05);
}

.footer-social .social-link:hover {
    background: rgba(0, 212, 255, 0.1);
}

.footer-contact p {
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-copyright p {
    color: var(--text-dim);
}

.footer-legal a {
    color: var(--text-dim);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* About Section */
.about-text h3 {
    color: var(--text-primary);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-color);
}

.feature-content h4 {
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-muted);
}

/* Hero Section */
.hero-title {
    color: var(--text-primary);
}

.title-line.highlighted {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: var(--text-secondary);
}

.stat-number {
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-arrow {
    border-right-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hero CTA Buttons */
.hero-cta .btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.hero-cta .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-cta .btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* Portfolio Tags */
.portfolio-tags span {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Overlay Content */
.overlay-content h3,
.overlay-content p {
    color: var(--text-primary);
}

/* Contact Form Container */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Notification System */
.notification {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.notification-text h4 {
    color: var(--text-primary);
}

.notification-text p {
    color: var(--text-secondary);
}

/* Modal */
.modal-content {
    background: var(--bg-card);
    color: var(--text-primary);
}

.modal-title {
    color: var(--text-primary);
}

/* Loading Overlay */
.loading-overlay {
    background: rgba(10, 14, 39, 0.95);
}

.loading-text {
    color: var(--text-primary);
}

/* YouTube Portfolio Items */
.youtube-thumbnail {
    position: relative;
    cursor: pointer;
}

.youtube-thumbnail.short {
    aspect-ratio: 9/16;
}

.youtube-thumbnail.standard {
    aspect-ratio: 16/9;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-fast);
    pointer-events: none;
}

.youtube-thumbnail:hover .youtube-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-play-overlay i {
    color: white;
    font-size: 2.5rem;
}

.youtube-embed {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.youtube-embed.short {
    aspect-ratio: 9/16;
}

.youtube-thumbnail.playing {
    background: black;
}

/* Add glow to all primary elements */
.btn-primary,
.nav-link.cta-btn,
.service-icon,
.info-icon,
.submit-btn {
    position: relative;
}

.btn-primary::after,
.nav-link.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.btn-primary:hover::after,
.nav-link.cta-btn:hover::after {
    opacity: 1;
}

/* Hero Background Enhancement */
.hero-background {
    background: transparent;
}

.gradient-overlay {
    background: transparent;
}

/* Floating Elements - Recolor */
.floating-element {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

/* Add subtle animation to cards */
@keyframes card-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
    }
}

.service-card:hover .service-icon {
    animation: card-glow 2s ease-in-out infinite;
}

/* Enhanced focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
}

/* Section divider effects */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

/* Stat numbers with gradient */
.stat-number {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Enhanced hover for links */
a:not(.btn):not(.nav-link):not(.social-link) {
    color: var(--primary-color);
    position: relative;
}

a:not(.btn):not(.nav-link):not(.social-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

a:not(.btn):not(.nav-link):not(.social-link):hover::after {
    width: 100%;
}
