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

/* Background pattern */
.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232D3A34' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Custom transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Hover effects */
.hover\:bg-opacity-90:hover {
    opacity: 0.9;
}

/* Custom focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #D4B773;
    outline-offset: 2px;
}

/* Custom selection color */
::selection {
    background-color: #D4B773;
    color: #2D3A34;
}

/* Ensure proper spacing on mobile */
@media (max-width: 640px) {
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Mobile menu animation */
.mobile-menu {
    transition: all 0.3s ease-in-out;
}

.mobile-menu.hidden {
    display: none;
}

/* Navigation styles */
nav {
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: rgba(249, 248, 244, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
} 