/* Custom Styles for CBA Family Camp */

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

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

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
}

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

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #d4a843;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e8c068;
}

/* Selection Color */
::selection {
    background: #d4a843;
    color: #0a1628;
}

/* Form Focus Effects */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Hover Zoom */
img {
    transition: transform 0.7s ease;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Geometric Shape Animations */
.geometric-shape {
    animation: float 6s ease-in-out infinite;
}

.geometric-shape-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

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

/* Card Hover Lift */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 168, 67, 0.15);
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-display {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .font-display {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
