/* Custom styles for Glover Appliance */

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

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

::-webkit-scrollbar-track {
    background: #080e1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f8fafc;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Animation delays for staggered effects */
.fade-in:nth-child(1) {
    animation-delay: 0s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(6) {
    animation-delay: 0.5s;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism effect */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Glow effect */
.glow {
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
}

.glow:hover {
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.5);
}

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(20, 184, 166, 0.6);
    }
}

.btn-primary {
    animation: pulse-glow 2s infinite;
}

.btn-primary:hover {
    animation: none;
}

/* Geometric pattern backgrounds */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(20, 184, 166, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pattern-lines {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(20, 184, 166, 0.05) 10px,
        rgba(20, 184, 166, 0.05) 20px
    );
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Text reveal animation */
@keyframes text-reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.text-reveal {
    animation: text-reveal 1s ease forwards;
}

/* Counter animation */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: count-up 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geometric-shape {
        display: none;
    }
}

/* Print styles */
@media print {
    .geometric-shape,
    .scroll-indicator,
    .floating,
    .rotate-slow {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
