/* === Animations & Enhancements === */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-in {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-delay-1 {
    animation: slideInLeft 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-delay-2 {
    animation: slideInLeft 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.animate-delay-3 {
    animation: slideInLeft 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* Info Card Styling */
.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.info-card h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Image Wrapper with Overlay */
.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    transform: scale(1.02);
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.image-wrapper:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: rgba(255,255,255,0.9);
}

/* Enhanced Contact Grid */
.contact-grid {
    animation: fadeInScale 0.8s ease-out;
}

.contact-item {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--white);
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-item h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Enhanced Form Styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(30, 123, 63, 0.1);
}

.contact-form-wrapper {
    animation: slideInRight 0.8s ease-out;
}

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

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

.btn-primary:active {
    animation: pulse 0.3s ease;
}

/* Cart Badge Bounce */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.cart-count {
    animation: bounce 0.6s ease;
}

/* Hover Effects for Product Cards */
.product-card {
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 0.05;
}

/* Brand Card Animations */
.brand-card {
    position: relative;
    overflow: hidden;
}

.brand-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(30, 123, 63, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.brand-card:hover::after {
    width: 300px;
    height: 300px;
}

/* Page Load Animation */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* Floating Animation for Hero Section */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-buttons {
    animation: float 3s ease-in-out infinite;
}
