/* Custom styles for Victoria Montessori School */

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

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

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a853, #c49a45);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8c47c, #d4a853);
}

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f5f5f5;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Button animations */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before, .btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 0.8s ease-out;
}

/* 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 {
    .btn-primary, .btn-secondary {
        background: #000 !important;
        color: #fff !important;
    }
    
    .gradient-text {
        color: #d4a853 !important;
        -webkit-text-fill-color: #d4a853 !important;
    }
}
