/* Cards - Dark Tech Theme (Orizon Inspired) */

/* Service Cards */
.service-card {
    background: var(--background);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: var(--background-light);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .btn {
    align-self: center;
    margin-top: auto;
}

/* Statistics Cards */
.stats-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--background-light);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stats-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

/* Tech Stack Items */
.tech-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--background-light);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.tech-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--background);
    color: var(--text-color);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-lighter);
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0;
    flex-shrink: 0;
    background: rgba(255, 107, 53, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.contact-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-content p {
    color: #d1d5db;
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

/* Responsive Design pentru Cards */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .stats-card {
        padding: 1.5rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .tech-item {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info-item {
        text-align: center;
        flex-direction: row;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    
    .contact-info-item i {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
    }
    
    .stats-card {
        padding: 1.25rem;
    }
    
    .stats-number {
        font-size: 1.75rem;
    }
    
    .tech-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}
