/* Custom styles for Concan Nursery */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f7f7f8;
}
::-webkit-scrollbar-thumb {
    background: #d1d1d8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8b4;
}

/* Selection color */
::selection {
    background: #ff6b4a;
    color: white;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #26262e !important;
}

.nav-scrolled .nav-text {
    color: #26262e !important;
}

.nav-scrolled .menu-line {
    background: #26262e !important;
}

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

/* Mobile menu animation */
#mobile-menu.open {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active mobile link */
.mobile-link.active {
    color: #ff6b4a !important;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #ff6b4a !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1) !important;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.2s ease;
}

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

/* 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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-coral-600 {
        background-color: #e03a28 !important;
    }
    .text-coral-600 {
        color: #e03a28 !important;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal {
        display: none !important;
    }
    body {
        color: #000 !important;
        background: #fff !important;
    }
}
