/* ============================================
   SERVICES SHOWCASE - עיצוב מרהיב לקוביות השירותים
   ============================================ */

/* Services Grid - תצוגה רספונסיבית */
.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .services-showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (min-width: 1200px) {
    .services-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Service Card - הקוביה הבסיסית */
.service-card-stunning {
    position: relative;
    padding: 3rem 2rem;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Animated gradient backgrounds */
.service-card-stunning::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateGradient 10s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card-stunning:hover::before {
    opacity: 1;
}

/* Hover Effects */
.service-card-stunning:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1) inset;
}

/* Color Variants */
.service-card-websites {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-card-websites:hover {
    box-shadow:
        0 30px 80px rgba(102, 126, 234, 0.4),
        0 0 80px rgba(118, 75, 162, 0.3);
}

.service-card-marketing {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.service-card-marketing:hover {
    box-shadow:
        0 30px 80px rgba(240, 147, 251, 0.4),
        0 0 80px rgba(245, 87, 108, 0.3);
}

.service-card-hosting {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.service-card-hosting:hover {
    box-shadow:
        0 30px 80px rgba(79, 172, 254, 0.4),
        0 0 80px rgba(0, 242, 254, 0.3);
}

/* Badge - תגית פינה */
.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-bold);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Icon Container */
.service-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.service-card-stunning:hover .service-icon-bg {
    transform: scale(1.2) rotate(180deg);
    background: rgba(255, 255, 255, 0.25);
}

.service-icon {
    font-size: 3rem;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-card-stunning:hover .service-icon {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Title */
.service-title {
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
}

.service-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.95;
    line-height: 1.6;
}

/* Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.service-features li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-features i {
    font-size: 1.2rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Highlights */
.service-highlight {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-price {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    margin-bottom: 0.5rem;
    display: block;
}

.service-price-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Button */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-top: auto;
    justify-content: center;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-card-websites .service-cta {
    color: #764ba2;
}

.service-card-marketing .service-cta {
    color: #f5576c;
}

.service-card-hosting .service-cta {
    color: #00f2fe;
}

.service-cta:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-cta i {
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(-5px);
}

/* Animated particles effect */
.service-card-stunning::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { background-position: 0 0, 40px 40px; }
    100% { background-position: 50px 50px, 90px 90px; }
}

.service-card-stunning:hover::after {
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .services-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .service-card-stunning {
        min-height: auto;
        padding: 2.5rem 1.5rem;
    }

    .service-title {
        font-size: 1.75rem;
    }

    .service-icon-container {
        width: 80px;
        height: 80px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* Ripple effect on click */
.service-card-stunning {
    position: relative;
    overflow: hidden;
}

.service-card-stunning .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
