/* Custom styles for Showroom 101 */

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

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for grid items */
.scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.3s; }

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(255, 251, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(5, 78, 59, 0.08);
}

/* Active nav link */
.nav-link.active {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Selection color */
::selection {
    background: rgba(5, 150, 105, 0.2);
    color: #064e3b;
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

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

/* Geometric shape hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(5, 150, 105, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-4px);
}

.group {
    transition: transform 0.3s ease;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

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

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-display {
        line-height: 1.1;
    }
}

/* Print styles */
@media print {
    #navbar, #back-to-top, .animate-float, .animate-float-delayed, .animate-float-slow {
        display: none !important;
    }
}
