/* Service Banners CSS - بنرهای خدمات حقوقی */
:root {
    /* Modern Color Palette - پالت رنگی مدرن */
    --banner-primary: #b69d74;           /* طلایی اصلی قالب */
    --banner-primary-light: #d4c4a8;     /* طلایی روشن */
    --banner-primary-dark: #9a7f5a;      /* طلایی تیره */
    --banner-secondary: #2c3e50;         /* آبی تیره */
    --banner-accent: #e74c3c;            /* قرمز */
    --banner-success: #27ae60;           /* سبز */
    --banner-info: #3498db;              /* آبی */
    --banner-warning: #f39c12;           /* نارنجی */
    --banner-purple: #9b59b6;            /* بنفش */
    --banner-teal: #1abc9c;              /* فیروزه‌ای */
    
    /* Text Colors */
    --banner-text-light: #ffffff;
    --banner-text-dark: #2c3e50;
    --banner-text-muted: #6c757d;
    --banner-text-gray: #95a5a6;
    
    /* Background Colors */
    --banner-bg-light: #f8f9fa;
    --banner-bg-white: #ffffff;
    --banner-bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    
    /* Shadows */
    --banner-shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --banner-shadow: 0 10px 30px rgba(0,0,0,0.12);
    --banner-shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --banner-shadow-gold: 0 10px 25px rgba(182, 157, 116, 0.25);
    
    /* Border Radius */
    --banner-radius: 20px;
    --banner-radius-sm: 15px;
    --banner-radius-lg: 25px;
    
    /* Transitions */
    --banner-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --banner-transition-fast: all 0.2s ease;
}

/* Service Banners Section */
.service-banners-section {
    background: var(--banner-bg-gradient);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.service-banners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(182, 157, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 62, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(231, 76, 60, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.service-banners-section .container {
    position: relative;
    z-index: 2;
}

/* Section Title */
.service-banners-section .section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--banner-primary), var(--banner-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-align: center;
}

.service-banners-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--banner-primary), var(--banner-accent));
    border-radius: 2px;
}

.service-banners-section .section-title p {
    font-size: 1.2rem;
    color: var(--banner-text-muted);
    margin-bottom: 0;
    font-weight: 500;
}

/* Service Banner Card */
.service-banner-card {
    background: var(--banner-bg-white);
    border-radius: var(--banner-radius);
    padding: 0;
    box-shadow: var(--banner-shadow);
    transition: var(--banner-transition);
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--banner-primary), var(--banner-primary-dark));
    opacity: 0;
    transition: var(--banner-transition);
    z-index: 1;
}

.service-banner-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--banner-shadow-lg);
    border-color: var(--banner-primary);
}

.service-banner-card:hover::before {
    opacity: 0.03;
}

/* Banner Content */
.banner-content {
    padding: 35px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Banner Icon */
.banner-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #81555540;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--banner-primary), var(--banner-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--banner-transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--banner-shadow-gold);
}

.banner-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.banner-icon i {
    font-size: 1.8rem;
    color: var(--banner-text-light);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.service-banner-card:hover .banner-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(182, 157, 116, 0.4);
}

/* Banner Title */
.banner-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--banner-text-dark);
    margin-bottom: 15px;
    transition: var(--banner-transition);
    line-height: 1.3;
}

.service-banner-card:hover .banner-title {
    color: var(--banner-primary-dark);
    transform: translateY(-3px);
}

/* Banner Description */
.banner-description {
    font-size: 1rem;
    color: var(--banner-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    transition: var(--banner-transition);
    font-weight: 500;
}

.service-banner-card:hover .banner-description {
    color: var(--banner-text-gray);
}

/* Banner Features */
.banner-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.feature-tag {
    background: linear-gradient(135deg, var(--banner-primary), var(--banner-primary-dark));
    color: var(--banner-text-light);
    padding: 6px 16px;
    border-radius: var(--banner-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--banner-transition);
    box-shadow: var(--banner-shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-banner-card:hover .feature-tag {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 20px rgba(182, 157, 116, 0.3);
}

/* Banner Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(182, 157, 116, 0.95), rgba(154, 127, 90, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--banner-transition);
    z-index: 3;
    border-radius: var(--banner-radius);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.service-banner-card:hover .banner-overlay {
    opacity: 1;
}

/* Banner Link */
.banner-link {
    background: var(--banner-text-light);
    color: var(--banner-primary-dark);
    padding: 18px 35px;
    border-radius: var(--banner-radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--banner-transition);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    color: var(--banner-primary-dark);
    text-decoration: none;
}

.banner-link i {
    font-size: 1.3rem;
    transition: var(--banner-transition);
}

.banner-link:hover i {
    transform: translateX(-5px);
}

/* Service-specific colors */
.service-banner-card[data-service="consultation"] {
    --service-color: var(--banner-info);
    --service-gradient: linear-gradient(135deg, #3498db, #2980b9);
}

.service-banner-card[data-service="declaration"] {
    --service-color: var(--banner-accent);
    --service-gradient: linear-gradient(135deg, #e74c3c, #c0392b);
}

.service-banner-card[data-service="petition"] {
    --service-color: var(--banner-purple);
    --service-gradient: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.service-banner-card[data-service="chatbot"] {
    --service-color: var(--banner-success);
    --service-gradient: linear-gradient(135deg, #27ae60, #229954);
}

.service-banner-card[data-service="laws"] {
    --service-color: var(--banner-warning);
    --service-gradient: linear-gradient(135deg, #f39c12, #e67e22);
}

.service-banner-card[data-service="booth"] {
    --service-color: var(--banner-teal);
    --service-gradient: linear-gradient(135deg, #1abc9c, #16a085);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-banners-section {
        padding: 60px 0;
    }
    
    .service-banners-section .section-title h2 {
        font-size: 2.2rem;
    }
    
    .service-banner-card {
        height: 270px;
    }
    
    .banner-content {
        padding: 25px 20px;
    }
    
 
    .banner-icon i {
        font-size: 2.2rem;
    }
    
    .banner-title {
        font-size: 1.3rem;
    }
    
    .banner-description {
        font-size: 0.95rem;
    }
    
    .banner-link {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .service-banner-card {
        height: 240px;
    }
    
    .banner-content {
        padding: 20px 15px;
    }
    
  
    
    .banner-icon i {
        font-size: 1.8rem;
    }
    
    .banner-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .banner-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .banner-link {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-banner-card {
    animation: fadeInUp 0.8s ease-out;
}

.service-banner-card:nth-child(1) { animation-delay: 0.1s; }
.service-banner-card:nth-child(2) { animation-delay: 0.2s; }
.service-banner-card:nth-child(3) { animation-delay: 0.3s; }
.service-banner-card:nth-child(4) { animation-delay: 0.4s; }
.service-banner-card:nth-child(5) { animation-delay: 0.5s; }
.service-banner-card:nth-child(6) { animation-delay: 0.6s; }

/* Additional Modern Effects */
.service-banner-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: var(--banner-transition);
    opacity: 0;
}

.service-banner-card:hover::after {
    opacity: 1;
    animation: shine 0.8s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}