/* Custom styles for Mark Jenkins Nursery */

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

/* Base font settings */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Reveal animations - progressive enhancement, only active with JS */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold gradient text utility */
.text-transparent.bg-clip-text.bg-gradient-to-r {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060D1F;
}
::-webkit-scrollbar-thumb {
    background: #C9952E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4A853;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(6, 13, 31, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 149, 46, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Image hover zoom wrapper */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Gold glow effects */
.shadow-gold-500\\/25 {
    box-shadow: 0 10px 40px rgba(201, 149, 46, 0.25);
}

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

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

/* Hero text animation on load */
#hero h1 {
    animation: fadeInUp 1s ease forwards;
}

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

/* Collection card stagger */
#collection .reveal:nth-child(1) { transition-delay: 0.05s; }
#collection .reveal:nth-child(2) { transition-delay: 0.1s; }
#collection .reveal:nth-child(3) { transition-delay: 0.15s; }
#collection .reveal:nth-child(4) { transition-delay: 0.2s; }
#collection .reveal:nth-child(5) { transition-delay: 0.25s; }
#collection .reveal:nth-child(6) { transition-delay: 0.3s; }

/* Why us cards stagger */
#why-us .reveal:nth-child(1) { transition-delay: 0.05s; }
#why-us .reveal:nth-child(2) { transition-delay: 0.1s; }
#why-us .reveal:nth-child(3) { transition-delay: 0.15s; }
#why-us .reveal:nth-child(4) { transition-delay: 0.2s; }
