/*
Theme Name: Cloud Tech Computers
Author: Cloud Web Services
Description: Custom One-Page Theme with Anti-Gravity and Water Wave Effects
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

.hero-pattern {
    background-color: #0f172a;
    background-image: url("https://images.unsplash.com/photo-1597872200969-2b65d56bd16b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Anti-Gravity & Physics Styles */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    will-change: transform;
}

/* Moving floating animation to content to avoid conflict with JS transforms */
.tilt-card-content {
    transform: translateZ(20px);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

/* Dynamic Glare Effect */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0) 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: overlay;
}

.tilt-card:hover .card-glare {
    opacity: 1;
}

@keyframes float {
    0% { transform: translateZ(20px) translateY(0px); }
    50% { transform: translateZ(20px) translateY(-10px); }
    100% { transform: translateZ(20px) translateY(0px); }
}