/**
 * Wichtel-Waren.de Custom Styles
 * Verspielte und magische Styles für den Wichtelshop
 */

/* === Global Wichtel Styles === */

/* Wichtel-themed accents */
.wichtel-accent {
    color: #5a6c57;
}

.wichtel-bg {
    background-color: #5a6c57;
}

/* Playful hover effects */
.wichtel-hover-grow {
    transition: transform 0.3s ease;
}

.wichtel-hover-grow:hover {
    transform: scale(1.05);
}

/* Magic sparkle effect */
@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.wichtel-sparkle::before {
    content: "✨";
    animation: sparkle 2s ease-in-out infinite;
    margin-right: 5px;
}

/* === Custom Button Styles === */

.wichtel-btn {
    background: #5a6c57;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.wichtel-btn:hover {
    background: #4a5c47;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 108, 87, 0.3);
}

.wichtel-btn-outline {
    background: transparent;
    color: #5a6c57;
    border: 2px solid #5a6c57;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.wichtel-btn-outline:hover {
    background: #5a6c57;
    color: #fff;
    transform: translateY(-2px);
}

/* === Product Cards with Wichtel Style === */

.wichtel-product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.wichtel-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #5a6c57;
}

.wichtel-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #5a6c57;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

/* === Wichtel Typography === */

.wichtel-heading {
    font-weight: 700;
    color: #2c2c2c;
    position: relative;
}

.wichtel-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #5a6c57;
    margin-top: 10px;
}

.wichtel-heading-center::after {
    margin-left: auto;
    margin-right: auto;
}

.wichtel-subheading {
    color: #5a6c57;
    font-style: italic;
    font-size: 1.1rem;
}

/* === Wichtel Icons & Emojis === */

.wichtel-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a6c57 0%, #4a5c47 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 20px;
}

/* === Wichtel Cards === */

.wichtel-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.wichtel-card:hover {
    border-color: #5a6c57;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.wichtel-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.wichtel-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.wichtel-card-text {
    color: #666;
    line-height: 1.7;
}

/* === Wichtel Badges & Labels === */

.wichtel-badge-new {
    background: #5a6c57;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.wichtel-badge-sale {
    background: #dc3545;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.wichtel-badge-limited {
    background: #ffc107;
    color: #2c2c2c;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* === Wichtel Backgrounds === */

.wichtel-bg-light {
    background: #f8f9fa;
}

.wichtel-bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(90, 108, 87, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(90, 108, 87, 0.03) 0%, transparent 50%);
    background-size: 100% 100%;
}

.wichtel-bg-gradient {
    background: linear-gradient(135deg, #5a6c57 0%, #4a5c47 100%);
}

/* === Wichtel Dividers === */

.wichtel-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #5a6c57, transparent);
    margin: 40px 0;
}

.wichtel-divider-dotted {
    border: none;
    border-top: 3px dotted #5a6c57;
    margin: 40px 0;
}

/* === Wichtel Testimonials / Reviews === */

.wichtel-testimonial {
    background: #f8f9fa;
    border-left: 4px solid #5a6c57;
    padding: 25px;
    border-radius: 10px;
    font-style: italic;
    position: relative;
}

.wichtel-testimonial::before {
    content: """;
    font-size: 4rem;
    color: #5a6c57;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px;
}

/* === Wichtel Feature Boxes === */

.wichtel-feature-box {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.wichtel-feature-box:hover {
    background: #f8f9fa;
}

.wichtel-feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.wichtel-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.wichtel-feature-text {
    color: #666;
    line-height: 1.6;
}

/* === Wichtel Newsletter Box === */

.wichtel-newsletter {
    background: linear-gradient(135deg, #5a6c57 0%, #4a5c47 100%);
    color: #fff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.wichtel-newsletter h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 2rem;
}

.wichtel-newsletter p {
    color: #e0e0e0;
    margin-bottom: 25px;
}

.wichtel-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.wichtel-newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.wichtel-newsletter-form button {
    padding: 12px 30px;
    background: #2c2c2c;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wichtel-newsletter-form button:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

/* === Wichtel Timeline (for story/history pages) === */

.wichtel-timeline {
    position: relative;
    padding: 20px 0;
}

.wichtel-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #5a6c57;
}

.wichtel-timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding: 0 50px;
}

.wichtel-timeline-item::before {
    content: "🌟";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 5px;
    border-radius: 50%;
}

/* === Wichtel Price Tag === */

.wichtel-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5a6c57;
}

.wichtel-price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

/* === Wichtel Info Boxes === */

.wichtel-info-box {
    background: #e8f5e9;
    border-left: 4px solid #5a6c57;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.wichtel-info-box-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.5rem;
}

.wichtel-warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.wichtel-tip-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* === Responsive Adjustments === */

@media (max-width: 768px) {
    .wichtel-newsletter {
        padding: 30px 20px;
    }
    
    .wichtel-newsletter-form {
        flex-direction: column;
    }
    
    .wichtel-timeline::before {
        left: 30px;
    }
    
    .wichtel-timeline-item {
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .wichtel-timeline-item::before {
        left: 30px;
    }
}

/* === Fun Animations === */

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

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

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wichtel-pulse {
    animation: pulse-subtle 3s ease-in-out infinite;
}

/* === Wichtel Navigation Enhancements === */

.wichtel-nav-link {
    position: relative;
    padding: 10px 15px;
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wichtel-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: #5a6c57;
    transition: transform 0.3s ease;
}

.wichtel-nav-link:hover {
    color: #5a6c57;
}

.wichtel-nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* === Wichtel Image Effects === */

.wichtel-img-hover {
    overflow: hidden;
    border-radius: 15px;
}

.wichtel-img-hover img {
    transition: transform 0.5s ease;
}

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

/* === Wichtel Social Media Icons === */

.wichtel-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.wichtel-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2c2c;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wichtel-social-icon:hover {
    background: #5a6c57;
    color: #fff;
    transform: translateY(-3px);
}

