/**
 * Consultation Page Styles
 * شركة رزام للمحاماة والاستشارات القانونية
 * تصميم احترافي متجاوب مع جميع الشاشات
 */

/* ===== Variables ===== */
:root {
    --gold: #C9A227;
    --gold-light: #E8D48A;
    --gold-dark: #9A7B0A;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --whatsapp: #25D366;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.consultation-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.consultation-hero .hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.consultation-hero .container {
    position: relative;
    z-index: 1;
}

.consultation-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.consultation-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.consultation-hero .breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.consultation-hero .breadcrumb a:hover {
    color: var(--gold-light);
}

.consultation-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
}

.consultation-hero .hero-badge.animate-pulse {
    animation: pulse 2s infinite;
}

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

.consultation-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.consultation-hero .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
}

.consultation-hero .hero-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.consultation-hero .city-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.consultation-hero .city-tag i {
    color: var(--gold);
}

.consultation-hero .hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.consultation-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.consultation-hero .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.consultation-hero .stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 20px;
}

.consultation-hero .stat-info {
    text-align: right;
}

.consultation-hero .stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}

.consultation-hero .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BA5C;
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
}

.btn-whatsapp-light {
    background: var(--whatsapp);
    color: var(--white);
}

/* ===== Section Header ===== */
.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

/* ===== Consultation Types ===== */
.consultation-types {
    padding: 80px 0;
    background: var(--gray-light);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.type-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.type-card.featured {
    border: 2px solid var(--gold);
}

.type-card .featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 0 0 var(--radius);
}

.type-card .type-header {
    margin-bottom: 20px;
    position: relative;
}

.type-card .type-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 28px;
    color: var(--white);
}

.type-icon.whatsapp-bg { background: var(--whatsapp); }
.type-icon.phone-bg { background: #3498db; }
.type-icon.meeting-bg { background: #9b59b6; }
.type-icon.video-bg { background: var(--gold); }

.type-card .type-badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.type-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.type-card > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.type-card .type-price {
    margin-bottom: 20px;
}

.type-card .price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-dark);
}

.type-card .price-currency {
    font-size: 16px;
    color: var(--gray);
}

.type-card .type-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.type-card .type-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
}

.type-card .type-features li i {
    color: var(--gold);
}

/* ===== Services Summary ===== */
.services-summary {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.service-card .service-content {
    flex: 1;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card > .service-content > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-card .service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.service-card .service-features li {
    font-size: 13px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-card .service-features li i {
    color: var(--gold);
    font-size: 12px;
}

.service-card .service-link {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-card .service-link:hover {
    color: var(--gold);
    gap: 10px;
}

/* ===== Consultation Form ===== */
.consultation-form-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header .form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-header p {
    font-size: 16px;
    color: var(--gray);
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--gold);
}

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-group .error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .consultation-hero h1 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-card .service-icon {
        margin: 0 auto;
    }
    
    .service-card .service-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .service-card .service-link {
        position: static;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .consultation-hero {
        padding: 80px 0 60px;
    }
    
    .consultation-hero h1 {
        font-size: 26px;
    }
    
    .consultation-hero .hero-subtitle {
        font-size: 16px;
    }
    
    .consultation-hero .hero-stats {
        gap: 20px;
    }
    
    .consultation-hero .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .consultation-hero .stat-info {
        text-align: center;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .consultation-hero h1 {
        font-size: 22px;
    }
    
    .consultation-hero .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .consultation-hero .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .type-card {
        padding: 24px 20px;
    }
    
    .type-card .price-amount {
        font-size: 28px;
    }
}
