/* Custom styles for Sunset Plaza */

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

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

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

::-webkit-scrollbar-thumb {
    background: #9dbe82;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6fa352;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(45, 53, 32, 0.08);
}

.navbar-scrolled .nav-link {
    color: #2b4520 !important;
}

.navbar-scrolled .logo-text {
    color: #2b4520 !important;
}

.navbar-scrolled .logo-icon {
    color: #2b4520 !important;
}

/* Mobile menu animations */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-close #menuLine1 {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-close #menuLine2 {
    opacity: 0;
}

.mobile-menu-close #menuLine3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

/* Subtle hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .transition-all,
    .transition-colors,
    .transition-transform {
        transition: none !important;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    #contactForm,
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    a {
        color: #000 !important;
    }
}

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

/* Form input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #faf9f6 inset !important;
}

/* Selection color */
::selection {
    background: #c6d9b0;
    color: #243a1c;
}
