/* =============================================
   RemmacheCNCPower - Custom Styles
   ============================================= */

/* Laser Glow Effects */
.laser-glow {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3), 0 0 60px rgba(249, 115, 22, 0.15);
}

.laser-glow-sm {
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.laser-line {
    background: linear-gradient(90deg, transparent, #f97316, transparent);
    height: 2px;
    animation: laserScan 3s ease-in-out infinite;
}

@keyframes laserScan {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Fade In Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-600 { animation-delay: 0.6s; }
.animation-delay-800 { animation-delay: 0.8s; }

/* Parallax Glow */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.pulse-glow {
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Grid Background Pattern */
.grid-bg {
    background-image: radial-gradient(circle, rgba(249,115,22,0.07) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Hero Video Overlay */
.hero-overlay {
    background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.9) 70%, rgba(15,23,42,1) 100%);
}

/* Product Card */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(249,115,22,0.15);
}

/* Specs Table */
.specs-table tr:nth-child(even) {
    background: rgba(30, 41, 59, 0.5);
}

.specs-table tr {
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

/* Gallery Thumbnail */
.gallery-thumb {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #f97316;
    box-shadow: 0 0 10px rgba(249,115,22,0.3);
}

/* Clients Logo Scroll */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-scroll {
    animation: scrollLogos 30s linear infinite;
}

.logo-scroll:hover {
    animation-play-state: paused;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Service Card */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f97316, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    animation: float 3s ease-in-out infinite;
}

[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 24px;
}

/* Lightbox */
.lightbox-overlay {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Counter Animation */
.counter-value {
    font-variant-numeric: tabular-nums;
}

/* Section decoration dots */
.section-dots::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #f97316;
    border-radius: 50%;
    box-shadow: -15px 0 0 #f97316, 15px 0 0 #f97316;
}
