/* Royal Plate Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    /* App Color Scheme */
    --gold: hsl(38, 92%, 50%);
    --gold-light: hsl(38, 92%, 65%);
    --gold-dark: hsl(38, 92%, 40%);
    --gold-muted: hsl(38, 92%, 15%);
    
    --royal-blue: hsl(215, 79%, 35%);
    --royal-blue-light: hsl(215, 79%, 50%);
    --royal-blue-dark: hsl(215, 79%, 25%);
    --royal-blue-muted: hsl(215, 79%, 10%);
    
    --gray-50: hsl(220, 13%, 95%);
    --gray-100: hsl(220, 13%, 91%);
    --gray-800: hsl(220, 13%, 16%);
    --gray-900: hsl(220, 13%, 11%);
    
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(220, 13%, 18%);
}

body {
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

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

/* Hide Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Hero Background Slider */
.hero-bg-slider {
    background-image: url('imgs/bg/scene1.jpeg');
    background-size: cover;
    background-position: center;
    animation: bgSlide 20s infinite;
}

@keyframes bgSlide {
    0%, 20% {
        background-image: url('imgs/bg/scene1.jpeg');
    }
    25%, 45% {
        background-image: url('imgs/bg/scene2.jpeg');
    }
    50%, 70% {
        background-image: url('imgs/bg/scene3.jpeg');
    }
    75%, 95% {
        background-image: url('imgs/bg/scene4.jpeg');
    }
    100% {
        background-image: url('imgs/bg/scene5.jpeg');
    }
}

/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Feature Card Hover Effects */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Screenshot Card Effects */
.screenshot-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step Card Animation */
.step-card {
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: scale(1.05);
}

/* Smooth Transitions */
a, button {
    transition: all 0.3s ease;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar for specific elements */
.custom-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Form Focus Effects */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}
