/* 
 * AfrohairPT - Dodatkowe Style Tematyczne
 * Paleta: Lavender Glow 2025
 * 
 * Ten plik uzupełnia main.css o dodatkowe efekty wizualne
 */

/* === EFEKT BROKATOWY/BŁYSZCZĄCY NA SEKCJACH === */
.testimonials::before,
.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 85% 35%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 45% 75%, rgba(255,255,255,0.35) 1px, transparent 1px),
        radial-gradient(circle at 75% 85%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 25% 55%, rgba(255,255,255,0.25) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
    animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* === CENNIK STYLES === */
.cennik,
.pricing-box,
.price-list {
    background: linear-gradient(180deg, #B78DFF 0%, #E7CCFF 100%) !important;
    border-radius: 20px;
    padding: 0;
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(122, 60, 255, 0.25);
    overflow: hidden;
    position: relative;
}

.cennik::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.5) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.35) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    animation: sparkle 3s ease-in-out infinite;
}

.cennik-header,
.pricing-header {
    background: linear-gradient(135deg, #B78DFF 0%, #7A3CFF 100%) !important;
    color: white !important;
    padding: 1.2rem 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.cennik-item,
.price-item,
.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(183, 141, 255, 0.3);
    position: relative;
    z-index: 1;
    transition: background 0.3s ease;
}

.cennik-item:last-child,
.price-item:last-child {
    border-bottom: none;
}

.cennik-item:hover,
.price-item:hover {
    background: rgba(255,255,255,0.85);
}

.cennik-item::before,
.price-item::before {
    content: "●";
    color: #7A3CFF;
    margin-right: 0.8rem;
    font-size: 0.7rem;
}

.service-name {
    font-weight: 500;
    color: #1F1F1F;
    flex: 1;
}

.service-price,
.price {
    font-weight: 700;
    color: #7A3CFF !important;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* === DODATKOWE AKCENTY PRZYCISKÓW === */
.hero-btn,
.cta-btn-primary,
.submit-btn,
.button-link {
    position: relative;
    overflow: hidden;
}

.hero-btn::after,
.cta-btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255,255,255,0.2) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn:hover::after,
.cta-btn-primary:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* === KARTY Z DELIKATNYM CIENIEM === */
.service-card,
.news-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover,
.news-item:hover {
    box-shadow: 
        0 20px 40px rgba(122, 60, 255, 0.15),
        0 0 0 1px rgba(122, 60, 255, 0.1);
}

/* === DELIKATNE TŁO DLA SEKCJI === */
.section:nth-child(even) {
    background-color: #F3EDE7;
}

/* === ANIMOWANE PODKREŚLENIE LINKÓW === */
a:not(.hero-btn):not(.cta-btn):not(.service-link):not(.news-link) {
    position: relative;
}

/* === EFEKT GLOW NA FOCUS === */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 60, 255, 0.2);
}

/* === RESPONSYWNOŚĆ CENNIKA === */
@media (max-width: 768px) {
    .cennik,
    .pricing-box {
        margin: 1rem;
        border-radius: 15px;
    }
    
    .cennik-header,
    .pricing-header {
        padding: 1rem;
        font-size: 1.2rem;
    }
    
    .cennik-item,
    .price-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* === PŁYNNE PRZEJŚCIA MIĘDZY SEKCJAMI === */
section {
    position: relative;
}

/* === DODATKOWE STYLE DLA TESTIMONIALS === */
.testimonial-slider {
    position: relative;
    z-index: 1;
}

.testimonial-text::before {
    color: #7A3CFF;
    opacity: 0.4;
}

/* === STYLE DLA SKIP BUTTON === */
.skip-button {
    background: rgba(122, 60, 255, 0.3);
    border: 1px solid rgba(122, 60, 255, 0.4);
    color: white;
}

.skip-button:hover {
    background: rgba(122, 60, 255, 0.5);
    border-color: rgba(122, 60, 255, 0.6);
}
