/* Custom styles for Homestead Garden Flower Farm */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdf4;
}
::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* Selection color */
::selection {
    background: #d1fae5;
    color: #064e3b;
}

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

/* Image loading placeholder */
img {
    background-color: #d1fae5;
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle, rgba(5, 150, 105, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Custom blob animations for different speeds */
.float-slow {
    animation: float 6s ease-in-out infinite;
}
.float-medium {
    animation: float-reverse 5s ease-in-out infinite;
}
.float-fast {
    animation: float 4s ease-in-out infinite;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #059669, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover lift effect */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(5, 78, 59, 0.12);
}

/* Pill button hover */
.pill-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* Nav background on scroll */
.nav-scrolled {
    background: rgba(254, 252, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 78, 59, 0.08);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f0fdf4 inset !important;
    -webkit-text-fill-color: #064e3b !important;
}

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