/* Custom styles for Karen Cheatham Interiors */

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

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

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

::-webkit-scrollbar-thumb {
    background: #0f766e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #115e59;
}

/* Selection color */
::selection {
    background-color: #0f766e;
    color: white;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover\\:scale-105 {
        transform: none;
    }
}

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

/* Nav transition */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-text {
    color: #0f172a;
}

/* Form input focus ring */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* Portfolio hover effect */
.group:hover img {
    transform: scale(1.05);
}

/* Button hover shadow */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image aspect ratios */
.aspect-\[4\/5\] {
    aspect-ratio: 4/5;
}

.aspect-\[3\/4\] {
    aspect-ratio: 3/4;
}

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