/* Custom Styles for Cone Crazy */

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

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: #d46a42;
    color: white;
}

/* Navigation Styles */
.nav-link {
    color: currentColor;
}

nav.light .nav-link {
    color: #292524;
}

nav.dark .nav-link {
    color: white;
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

/* Hero Animations */
.hero-title {
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.1s forwards;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

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

/* Reveal Animations */
.reveal-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-image {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.reveal-content.hidden,
.reveal-image.hidden {
    opacity: 0;
    transform: translateY(40px);
}

/* Image Hover Effects */
.reveal-image img {
    transition: transform 0.7s ease-out;
}

.reveal-image:hover img {
    transform: scale(1.05);
}

/* Form Styles */
input:focus,
textarea:focus {
    border-color: white !important;
}

/* Smooth Scroll Offset for Fixed Nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    @media (min-width: 768px) {
        .hero-title {
            font-size: 4.5rem;
        }
    }
    
    @media (min-width: 1024px) {
        .hero-title {
            font-size: 5.5rem;
        }
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    nav,
    .scroll-indicator,
    #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
