/* Custom styles that extend beyond Tailwind */

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1E4543;
}

/* Selection color */
::selection {
    background: #2A5C5A;
    color: #F9F7F2;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #C5A065;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image hover effects */
.image-frame img {
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* Button ripple effect */
.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after,
.btn-secondary:active::after {
    width: 200px;
    height: 200px;
}

/* Parallax effect for mobile (disabled on touch devices) */
@media (hover: hover) {
    .parallax-bg {
        background-attachment: fixed;
    }
}
