/**
 * Gutscheinportal - Enhancement Styles
 * Professional design with blue (#006581) and gold (#d7a74f) accents
 */

/* Hero Background Pattern */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(215, 167, 79, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(215, 167, 79, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 101, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Coupon Cards */
.coupon-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(215, 167, 79, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.coupon-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.coupon-card.featured {
    border-color: #d7a74f;
}

.coupon-card.featured::after {
    content: '⭐ Featured';
    position: absolute;
    top: 0;
    right: 0;
    background: #d7a74f;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

/* Shop Logos */
.shop-logo {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.coupon-card:hover .shop-logo {
    filter: grayscale(0%);
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Category Icons Enhancement */
.category-icon {
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    border-color: #d7a74f;
}

/* Trust Badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(215, 167, 79, 0.1);
    border: 1px solid #d7a74f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #d7a74f;
    font-weight: 600;
}

/* Newsletter Form Enhancement */
.newsletter-form input[type="email"] {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #d7a74f;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #d7a74f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #c4963f;
    transform: translateY(-3px);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    header, footer, .hero, .newsletter-signup {
        display: none;
    }
    
    .coupon-card {
        break-inside: avoid;
    }
    
    body {
        background: white;
        color: black;
    }
}