/* ═══════════════════════════════════════════════════════════════════
   Services Modern - Premium Dark Section
   Elegant, Sophisticated, with Smooth Animations
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   Main Section
   ═══════════════════════════════════════════════════════════════════ */

.services-modern {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Background Pattern */
.services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 62, 80, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Decorative Lines */
.services-deco-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.services-deco-lines::before,
.services-deco-lines::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.services-deco-lines::before {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
}

.services-deco-lines::after {
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
}

.services-modern .container {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   Section Header
   ═══════════════════════════════════════════════════════════════════ */

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.services-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.services-header-title span {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-header-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   Services Grid
   ═══════════════════════════════════════════════════════════════════ */

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ═══════════════════════════════════════════════════════════════════
   Service Card
   ═══════════════════════════════════════════════════════════════════ */

.service-card-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 175, 55, 0.1);
}

/* Image Container */
.service-img-modern {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-modern:hover .service-img-modern img {
    transform: scale(1.1);
}

/* Image Overlay */
.service-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 100%);
    z-index: 1;
}

/* Icon Badge */
.service-icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-icon-badge i {
    font-size: 1.4rem;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-badge {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.service-card-modern:hover .service-icon-badge i {
    color: #000;
}

/* Placeholder */
.service-placeholder-modern {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-placeholder-modern i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
}

/* Content */
.service-content-modern {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.service-title-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    transition: color 0.3s;
}

.service-title-modern a {
    color: inherit;
    text-decoration: none;
}

.service-title-modern a:hover {
    color: var(--secondary-color);
}

.service-excerpt-modern {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Buttons Row */
.service-btns-modern {
    display: flex;
    gap: 10px;
}

.service-btn-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.service-btn-details-modern {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-btn-details-modern:hover {
    background: #fff;
    color: #0f172a;
}

.service-btn-whatsapp-modern {
    background: #25d366;
    color: #fff;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.25);
}

.service-btn-whatsapp-modern:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-modern {
        padding: 80px 0;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
    }

    .service-img-modern {
        height: 180px;
    }

    .services-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .service-btns-modern {
        flex-direction: column;
    }
}