/* Handicaddie Landing Page Custom Styles */

/* Custom color variables for non-Tailwind usage */
:root {
    --color-primary: #052F5F;
    --color-secondary: #F1A208;
    --color-tertiary: #000;
    --color-primary-light: #0a4a8a;
    --color-primary-dark: #021d3d;
    --color-secondary-light: #f4b52e;
    --color-secondary-dark: #d89107;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Button hover transitions */
span[class*="cursor-pointer"] {
    transition: all 0.2s ease-in-out;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hero section enhancements */
#hero-section h1 {
    line-height: 1.1;
}

/* Video loader */
#video-loader {
    transition: opacity 0.3s ease-in-out;
}

/* Bouncing scroll arrow */
.scroll-arrow {
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animated gradient overlay */
.animated-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    pointer-events: none;
    background-size: 200% 100%;
    filter: blur(40px);
}

@keyframes gradientArc {
    0% {
        background-position: 0% 100%;
        transform: translateY(0%);
    }
    25% {
        background-position: 50% 100%;
        transform: translateY(-3%);
    }
    50% {
        background-position: 100% 100%;
        transform: translateY(0%);
    }
    75% {
        background-position: 50% 100%;
        transform: translateY(3%);
    }
    100% {
        background-position: 0% 100%;
        transform: translateY(0%);
    }
}

/* Feature card hover effects */
#features-section .bg-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial card styling */
#testimonial-section .bg-neutral-50 {
    transition: all 0.3s ease;
}

/* Stats counter styling */
.font-display {
    font-family: 'Playfair Display', serif;
}

/* Logo placeholder styling */
.bg-neutral-200 {
    opacity: 0.5;
}

/* Auto-scrolling logos */
.logo-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-scroll-wrapper {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.logo-scroll-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    flex-shrink: 0;
    padding: 0 3rem;
    display: inline-flex;
    align-items: center;
}

/* Premium button transitions */
.rounded-full {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle shadow on hover for cards */
.shadow-sm:hover {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Premium link underline effect */
a, span[class*="cursor-pointer"] {
    transition: all 0.3s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #hero-video {
        width: auto;
        height: 100%;
        min-height: 100%;
        min-width: 100%;
        object-fit: cover;
    }

    #hero-section h1 {
        font-size: 2.5rem;
    }

    #testimonial-section .p-16 {
        padding: 2rem;
    }

    #cta-final-section .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Smooth scroll for anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
span[class*="cursor-pointer"]:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

/* Premium typography refinements */
h1, h2, h3, h4 {
    font-feature-settings: "kern" 1, "liga" 1;
}

/* Subtle hover states */
.hover\:bg-white:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Print styles */
@media print {
    header, footer {
        display: none;
    }

    section {
        break-inside: avoid;
    }
}
