/* Custom styles for The Nurturing Place website */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #d4543e;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #fdf8f6 0%, #f8f4ef 50%, #f2e9dc 100%);
}

/* Text shadow for readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #e1705c;
    box-shadow: 0 0 0 3px rgba(225, 112, 92, 0.2);
}

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

/* Card hover effects */
.group:hover .group-hover\\:bg-terracotta-600 {
    background-color: #e1705c;
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
