/* Custom Styles for Ember & Bean */

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

/* Geometric Clip Paths for Desktop */
@media (min-width: 768px) {
    .clip-path-left {
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    }

    .clip-path-center {
        clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
        margin-left: -15%;
        margin-right: -15%;
        width: 130%;
        position: relative;
        z-index: 5;
    }

    .clip-path-right {
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* Fix for overlapping grid items on desktop */
@media (min-width: 768px) {
    .grid-cols-3-overlap {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1fr;
    }
}

/* Navigation Scroll Effect */
nav.scrolled {
    background-color: #4A2C2A; /* brand-dark */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4A2C2A; 
}

/* Three.js Canvas Positioning */
#canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Form Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(160, 82, 45, 0.2);
}

/* Image Hover Effects */
.group:hover img {
    filter: brightness(1.1);
}