/* Custom styles for New Creations II */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #65a576;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #428554;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Form placeholder styling */
::placeholder {
    color: #96c4a3;
    opacity: 1;
}

/* Selection color */
::selection {
    background-color: #c5dfcc;
    color: #15301e;
}

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

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

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

/* Loading state for buttons */
button:disabled,
input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    header,
    footer,
    #contact-form {
        display: none;
    }
}
