/* Custom CSS for Woodlyte Website */

/* Fix for horizontal line issue */
section {
    border: none !important;
}

/* Hero Text Glow */
.hero-glow {
    text-shadow: 0 0 15px #fff;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, #328c36 0%, #d16f53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #328c36 0%, #087e8b 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #a47764 0%, #d16f53 100%);
}

/* Product Detail Page Styles */
#main-product-image {
    transition: opacity 0.3s ease, transform 0.5s ease;
}

#main-product-image.opacity-0 {
    opacity: 0;
}

.product-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-thumbnail img {
    transition: transform 0.5s ease;
}

.product-thumbnail:hover img {
    transform: scale(1.1);
}

.product-info-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.animate-item {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shadows */
.shadow-custom {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.shadow-custom:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Navigation */
.nav-link {
    position: relative;
    display: inline-block;
    color: #4B5563;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #328c36;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #328c36;
    transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

/* Buttons */
.btn-accent {
    background-color: #d16f53;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-accent:hover {
    background-color: #c85e42;
}

/* Animation Helpers */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: translateY(-5px);
}

/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Parallax Background */
.parallax-bg {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Mobile Menu */
.mobile-menu {
    transform-origin: top right;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 1s ease-out forwards;
    display: inline-block;
}

/* Floating Animation */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: floating 3s ease-in-out infinite alternate;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Hover Effects for Product Cards */
.product-card.is-hovered {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
}

/* Staggered Animation Base Styles */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-animation.in-view > * {
    opacity: 1;
    transform: translateY(0);
}