/*
 * Services Premium — Editorial Zigzag Layout
 * Rich service details with floating badges
 * Mikal Germany Pest Control
 */

/* ============================================
   SECTION BASE
   ============================================ */
.services-premium-section {
    position: relative;
    padding: 120px 0;
    background: var(--clr-surface, #fafaf5);
    overflow: clip;
}

/* Subtle diagonal texture */
.services-premium-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(10, 92, 24, 0.015) 40px,
        rgba(10, 92, 24, 0.015) 41px
    );
    pointer-events: none;
}

/* ============================================
   HEADER
   ============================================ */
.services-premium-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 80px;
}

.services-premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--clr-primary-container, #1b7a2b), var(--clr-primary, #0a5c18));
    color: white;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display, 'Cairo', sans-serif);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.services-premium-eyebrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.services-premium-title {
    font-family: var(--font-display, 'Cairo', sans-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--clr-text-primary, #1a1f1a);
    line-height: 1.2;
    margin-bottom: 0;
}

.services-premium-title .accent-text {
    color: var(--clr-primary, #0a5c18);
    position: relative;
    display: inline-block;
}

.services-premium-title .accent-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-accent, #e8a817), var(--clr-primary, #0a5c18));
    border-radius: 2px;
}

/* Subtitle chips */
.services-premium-chips {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.services-premium-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 92, 24, 0.06);
    color: var(--clr-text-primary, #1a1f1a);
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-display, 'Cairo', sans-serif);
    border: 1px solid rgba(10, 92, 24, 0.08);
    transition: all 0.3s ease;
}

.services-premium-chip:hover {
    background: rgba(10, 92, 24, 0.1);
    border-color: rgba(10, 92, 24, 0.15);
    transform: translateY(-2px);
}

/* ============================================
   ZIGZAG ROW
   ============================================ */
.services-zigzag-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.services-zigzag-row.reverse {
    flex-direction: row-reverse;
}

.services-zigzag-content {
    flex: 1;
}

.services-zigzag-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    background: linear-gradient(135deg, rgba(10, 92, 24, 0.04) 0%, rgba(15, 26, 15, 0.04) 100%);
    border-radius: 30px;
    border: 1px solid rgba(10, 92, 24, 0.08);
    position: relative;
    overflow: hidden;
}

/* ============================================
   SERVICE CARD (inside zigzag)
   ============================================ */
.services-zigzag-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-zigzag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(10, 92, 24, 0.1);
    border-color: rgba(10, 92, 24, 0.15);
}

/* Service icon */
.services-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(10, 92, 24, 0.08);
    color: var(--clr-primary, #0a5c18);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.services-zigzag-card:hover .services-card-icon {
    background: var(--clr-primary, #0a5c18);
    color: white;
    transform: scale(1.05);
}

/* Card title */
.services-card-title {
    font-family: var(--font-display, 'Cairo', sans-serif);
    font-size: 26px;
    font-weight: 800;
    color: var(--clr-text-primary, #1a1f1a);
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Card subtitle */
.services-card-subtitle {
    font-size: 16px;
    color: var(--clr-text-secondary, #4a5548);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Method section */
.services-card-method-label {
    font-family: var(--font-display, 'Cairo', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--clr-primary, #0a5c18);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-card-method-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.services-card-method-list li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--clr-text-secondary, #4a5548);
    line-height: 1.6;
}

.services-card-method-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--clr-primary, #0a5c18);
    border-radius: 50%;
    opacity: 0.6;
}

/* Result box */
.services-card-result {
    background: var(--clr-primary, #0a5c18);
    color: white;
    padding: 16px 24px;
    border-radius: 14px;
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-display, 'Cairo', sans-serif);
}

/* ============================================
   ICON SHOWCASE (floating badges)
   ============================================ */
.services-icon-circle {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    font-size: 70px;
    color: var(--clr-primary, #0a5c18);
    position: relative;
    z-index: 2;
    animation: services-float 6s ease-in-out infinite;
}

.services-floating-badge {
    position: absolute;
    background: var(--clr-surface-dark, #0f1a0f);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 3;
    font-family: var(--font-display, 'Cairo', sans-serif);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-floating-badge .material-symbols-outlined {
    font-size: 18px;
}

.services-badge-1 {
    top: 15%;
    right: 8%;
    animation: services-float-delayed 5s ease-in-out infinite;
}

.services-badge-2 {
    bottom: 15%;
    left: 8%;
    background: var(--clr-primary, #0a5c18);
    animation: services-float 7s ease-in-out infinite;
}

/* ============================================
   GRID LAYOUT (for smaller services)
   ============================================ */
.services-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
    z-index: 10;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes services-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes services-float-delayed {
    0% { transform: translateY(0px); }
    50% { transform: translateY(12px); }
    100% { transform: translateY(0px); }
}

/* Scroll reveal */
.services-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-reveal.services-revealed {
    opacity: 1;
    transform: translateY(0);
}

.services-reveal-delay-1 { transition-delay: 0.1s; }
.services-reveal-delay-2 { transition-delay: 0.2s; }
.services-reveal-delay-3 { transition-delay: 0.3s; }
.services-reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-zigzag-row,
    .services-zigzag-row.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .services-zigzag-visual {
        min-height: 320px;
        width: 100%;
    }

    .services-icon-circle {
        width: 130px;
        height: 130px;
        font-size: 55px;
    }
}

@media (max-width: 768px) {
    .services-premium-section {
        padding: 80px 0;
    }

    .services-premium-header {
        margin-bottom: 50px;
    }

    .services-zigzag-row {
        margin-bottom: 50px;
    }

    .services-zigzag-card {
        padding: 28px;
    }

    .services-card-title {
        font-size: 22px;
    }

    .services-premium-grid {
        grid-template-columns: 1fr;
    }

    .services-zigzag-visual {
        min-height: 260px;
        border-radius: 20px;
    }

    .services-icon-circle {
        width: 100px;
        height: 100px;
        font-size: 45px;
    }

    .services-floating-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .services-badge-1 {
        top: 10%;
        right: 5%;
    }

    .services-badge-2 {
        bottom: 10%;
        left: 5%;
    }

    .services-premium-chips {
        gap: 12px;
    }

    .services-premium-chip {
        font-size: 14px;
        padding: 8px 16px;
    }
}
