/* Animations for Elegancia Website */

/* Button Hover Effects */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Product Card Hover Effects */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image Zoom on Hover (for product cards) */
.product-card img {
    transition: transform 0.5s ease-in-out;
}

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

/* Hero Banner Text Animation */
.hero-content h1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Fade In on Scroll (example, will be handled by JS) */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Header Transition */
header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
}

header.sticky .logo {
    font-size: 1.8em;
    transition: font-size 0.3s ease-in-out;
}

header.sticky nav ul li a {
    font-size: 0.95em;
    transition: font-size 0.3s ease-in-out;
}

/* Social Icons Hover */
.social-icons a {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--color-powder-pink); /* Change color on hover */
}

/* Newsletter Input Focus */
.newsletter-form input[type="email"]:focus {
    outline: none;
    border: 1px solid var(--color-matte-gold);
    box-shadow: 0 0 5px rgba(184, 134, 11, 0.5);
}

/* General Fade In for elements */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}